sapdev logo background
sapdev logo sapdev logo
Comments

ABAP ENHANCEMENT Statement syntax, information and example SAP source code



Return to Statement index



ENHANCEMENT

Short Reference

ABAP Syntax ENHANCEMENT id.
...
ENDENHANCEMENT.

What does it do? 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.
Latest 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 or ENHANCEMENT-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, the statements ENHANCEMENT-POINT and ENHANCEMENT-SECTION can be used between ENHANCEMENT and ENDENHANCEMENT .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




ENDWHILE
ENHANCEMENT-POINT




comments powered by Disqus