ABAP Keyword Documentation → ABAP - Reference → Enhancements → Source Code Enhancements → enhancement implementation
ENHANCEMENT
Other versions: 7.31 | 7.40 | 7.54
Syntax
ENHANCEMENT id.
...
ENDENHANCEMENT.
Effect
These statements define a source code plug-in with the ID id
. A
source code enhancement can be implemented between the statements. The
control structures and
processing blocks used in the implementation must be complete.
The statements ENHANCEMENT
and ENDENHANCEMENT
cannot be entered and edited directly. Instead, they are generated by
ABAP Workbench when
enhancements are created as part of the
enhancement concept. The ID id
is also assigned by the Workbench.
Notes
- In the terminology of the enhancement concept, a source code plug-in is an enhancement implementation element of a (simple) enhancement implementation.
-
Although source code plug-ins are displayed in the same source code as the corresponding
enhancement options
ENHANCEMENT-POINT
orENHANCEMENT-SECTION
, they are actually stored in other include programs that are managed by the Enhancement Builder. -
It is possible to enhance a source code plug-in using further source code plug-ins. This means that,
from then onwards, you can use the
ENHANCEMENT-POINT
andENHANCEMENT-SECTION
statements betweenENHANCEMENT
andENDENHANCEMENT
.