Show TOC Start of Content Area

Procedure documentation Creating Source Code Plug-Ins  Locate the document in its SAP Library structure

Procedure

...

       1.      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.

       2.      Switch to enhancement mode by using the Enhance pushbutton from the toolbar.

Note

To exit the enhance mode, choose the Display <-> Changepushbutton.

       3.      Position your cursor on the explicit or implicit enhancement option and choose Enhancement Implementation   Create Implementation/Option from the context menu.

The Select or Create Enhancement Implementation dialog box appears. You can choose an existing implementation or create a new one.

       4.      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.

       5.      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.

Note

Although source code plug-ins are displayed in the same source code as the respective enhancement options, they are stored in other include programs managed by the Enhancement Builder.

 

 

End of Content Area