What are Enhancement Points?
What are Enhancement Spots?
How to find them?
How to write code in them?
What is the difference between Implicit and Explicit enhancement points?
Which scenarios we go for Implicit ?
Which scenarios we go for Explicit ?
Plz write some scenarios with examples?
SEARCH IN SCN
Edited by: sachin sharma on Feb 27, 2009 11:13 AM
Whenever enhancement needs to be incorporated directly into the ABAP source code, this technology shall be provided. Implementing this technology is also called as Source Code Plug-In. There are two types of Source Code enhancements possible.
1. Implicit enhancement option
2. Explicit enhancement option
To implement this in SAP standard code first you need to change to enhancement mode (click on Spiral Icon at application tool bar)
u2022 Implicit enhancement option
Throughout the ABAP system, enhancement options are automatically available at certain pre-defined places. Some of the implicit options are:
1. At the end of all the programs (Includes, Reports, Function pool, Module pool, etc.), after the last statement
2. At the end of a structure definition (before TYPES END OF,DATA END OF,CONSTANTS END OF, and STATICS END OF).
3. At the beginning and end of all FORM subroutines
4. At the end of all Function Modules
5. At the end of all visibility areas (public, protected and private) of local class
Find out an implicit enhancement in standard programs process :
Goto se38 -> program name -> display -> goto at menu bar -> Enhancement operations -> Show implicit enhancement options.
You will be finding the implicit enhancements of that program.
To implement that implicit enhancement -> click on Spiral icon at application tool bar. -> place the cursor on the implicit enhancement line where you want to add custom code. ->right click goto enhancement implementation -> create. -> A popup window appear -> pass the enhancement name and short description. Proceed coding.
u2022 Explicit enhancement option
There are two types of Explicit Enhancement options available. One which can be provided at a specific place - called Enhancement Point, and another which can be used to replace a set of statements u2013 called Enhancement Section. For this, we now have two new ABAP statements, viz.
Check this PDF Page No. 14,
Check this link for defining Enhancements..
To find out implemented enhancement refer below link
Refer this link for Enhancement Spots
Edited by: syfulla shaik on Feb 27, 2009 11:33 AM