SAP Implicit enhancement points - Changing standard SAP code using the ABAP implicit enhamcement code points

Implicit enhancement points are basically points within ABAP code where an enhancement point is implied, and in which case can be created. Examples of implicit enhancement points are at the beginning and end of FORM抯, at the end of a program, include or function module etc. Below is a step by step demonstration of how to create and implicit enhancement point. 

Step 1 - Activate the enhancement functionality
Within SE80 open up the program/include you want to enhance and click on the enhancement button (show below)

Implicit enhancement points 

Step 2 - Enhancement functionality activated
The SE80 screen will now look something like below!

 

Implicit enhancement points

Step 3 - Show implict enhancement points
Goto menu 'edit->Enhamcement Operations->Show Implicit Enhancement Options' to display implicit enhancement points within the ABAP code


Implicit enhancement points 

Step 4 - Enhancement points with the code
Once you have done this you will be able to see all the implicit enhancement points available within you code, these are denoted by the line of quotation marks and the black arrow at the start. In this example there are enhancement points at the start and end of each form and one at the very end of the include. 
Implicit enhancement points


Implicit enhancement points 

Step 5 - Create an implicit enhamcement point
Inorder to implement an implicit enhancement point simply right click on the required enhamcement point and select 'Enhancement Implementation->create'.


Implicit enhancement points 

Step 6 - Enhamcement point type
Next click on the code button to create a code implementation

Implicit enhancement points 

Step 7 - Name and description
Next give the enhancement point a name and description. Click the green tick


Implicit enhancement points 

Step 8 - Change request
Assign change to a change request in the usual way


Implicit enhancement points 

Step 9 - Enhancement point created
The enhamcement point will now have been created in the appropriate place. Denoted by the ENHANCEMENT...ENDENHANCEMENT tags


Implicit enhancement points 

Step 10 - Enter code into enhancement
You can now enter your own code into the enhancement point!


Implicit enhancement points 

Step 11 - Activate the enhancement point
Click the 'Activate Enhancements' button to activate it. 
Implicit enhancement points 

Step 12 - Turn enhancement mode off
Now click the 'Active <-> inactive' button to turn enhancement mode off and return to standard SE80


Implicit enhancement points 

相关文章: