Creating Source Code Plug-Ins
Procedure
- Open the ABAP source with explicit or implicit enhancement options in the ABAP Editor.
More information about how to create explicit enhancement options: Explicit Enhancement Options in ABAP Source Code.
- Switch to enhancement mode by using the Enhance pushbutton from the toolbar.
- Position your cursor on the explicit or implicit enhancement option and choose Enhancement Implementation →Create Implementationfrom the context menu.
The Select or Create Enhancement Implementation dialog box appears. You can choose an existing implementation or create a new one.
- If you choose to create a new enhancement implementation, 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.
- Implement the enhancement between the ENHANCEMENT and ENDENHANCEMENT lines.
A source code plug-in is assigned to exactly one enhancement option (the container) but an enhancement option can be enhanced through several source code plug-ins.