Source Code Plug-Ins
Concept
Positions for source code plug-ins are defined by the commands ENHANCEMENT-POINT, ENHANCEMENT-SECTION, and ENDENHANCEMENT-SECTION. In other SAP systems, these can be implemented anywhere with the aim of modifying the core program. These implementations are located between the statements ENHANCEMENT and ENDENHANCEMENT. In the first case, all known enhancements for this point are inserted at the position in question. In the second case, the source code between the commands ENHANCEMENT-SECTION and END-ENHANCEMENT-SECTION is replaced by the source code defined in the corresponding enhancement.
This enhancement of the core program is non-modifying, which means that the original source code is not changed and the translator merely merges the enhancement with the core program. The development environment provides the programmer of the enhancement with a transparent method for doing this.