Académique Documents
Professionnel Documents
Culture Documents
There are various techniques which come under the enhancement framework
which are,
1. Source code enhancements (plug-ins)
2. Function group enhancements
3. Class Enhancements
4. Kernel-BADI enhancements
Source Code Enhancement:
Source Code Enhancement is one of the enhancement technologies available under
Enhancement Framework. Implementing this technology is also called as Source Code Plug-
In. Technically the source code plug-in implementations are stored in a separate include
program and not as part of the original source program. Source code enhancements
(plug-ins) allow us to directly enhance the standard source code without any
modifications in the source code.
• Begin/End of an include
• Begin/End of Method/Function Module/Form Routine
• End of a structure
• End of Private/Protected/Public Section of a local class
Note - Explicit enhancements though can be placed anywhere in the source code but, not
just anywhere except some areas where SAP would allow (program allows).
Enhancement section is used to replace a set of code or statements with the customer
(custom code). In this technique the original source code does not get executed but, the
customer implementation (custom code) gets executed.
Activities
· To mark a position in an ABAP program as an explicit enhancement option, use the
following ABAP statement:
ENHANCEMENT-POINT enh_id SPOTS spot1 spot2 ...
An empty source code plug-in is automatically created. It has a unique ID and is displayed
in the ABAP Editor below the enhancement option as follows:
ENHANCEMENT id.
...
ENDENHANCEMENT.
Enhancement Builder
Definition
The Enhancement Builder is an ABAP Workbench tool for creating and managing enhancements within the
enhancement concept. The Enhancement Builder is fully integrated into the ABAP Workbench. You cannot use a
transaction code to call it directly.
Use
The Enhancement Builder is a collection of individual tools for creating and maintaining enhancement spots and
enhancement implementations, and their administration. The tools of the Enhancement Builder are called by
forward navigation from within the other ABAP Workbench tools. In addition, there are special tools for navigation
and administration.
Procedure
...
4. Choose Creation of
Enhancement (Enter).
The subsequent process depends on the
enhancement technology of the
enhancement spot.
...