Creating Customer-Specific Menus

Menu exits allow you to add your own functions to the pull-down menus in standard transactions. To be able to use menu exits, you first need to create a project as described in the section Creating an Add-On Project. Then you must include the SAP enhancement package into this project that contains the required menu exit. From the main screen of the Project management transaction, proceed as follows:


       1.      Select Enhancement components and choose Change.

The system lists all customer exits contained in the enhancements included in your project.

       2.      Place the cursor on the menu exit you want to add your own function to.

       3.      Choose Edit component.

The system displays technical information about the menu entry. It also displays two input fields where you can specify a language and the text you want your menu item to have.

       4.      Enter the name of your menu function (such as Special order method) in the field New text.

       5.      Choose Save text.

Your special menu function will not appear in the pull-down menu of the corresponding standard transaction until you activate your enhancement project.

Specifying a menu text and activating your project are not the only steps you need to take to make your own menu item work. After you carry out these steps, your menu item will appear, but it will not call a corresponding function. To create this connection, you need to create a function module for the function module exit associated with your menu exit. This function module exit is part of the same SAP enhancement that contains the menu exit you used. For more information on these function exits, refer to the section Creating Customer-Specific Function Modules.