Enhancement points are basically used to modify the SAP standard program.Sometimes the standard code provides some plug ins for the user.So these can be used directly.For using the enhancement points go to the standard program and click on spiral button on application toolbar.The whole code gets greyed out.Then position the cursor on the enhancement spot and right click and we can create new implementations.
Give a name and description for the enhancement points.Then we can add our own desired code inside that enhancement point.
Implicit enhancement points are not provided directly by SAP.They exist in every standard program.In the menu path click on edit and show implicit enhancement points.The points where these can be created will be highlighted.Right click on one such point and create an implementation for that.Generally they exist at the starting and ending of every form endform.There are 2 types of enhancement points Include based and main porgam type.In the include based the logic inside the enhancement point will be valid only inside the include and will not affect other related programs.
No comments:
Post a Comment