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

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.