Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Menu Exits Example

Former Member
0 Likes
934

Hi all,

Can anybody please give me an example for menu exits if possible with screen shots.

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
505

hi,

Menu Exits

Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.

SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.

Menu exits allow you to add your own functions to the pulldown menus in standard R/3 transactions. To take advantage of a menu exit, 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 that contains the menu exit you want to use in your project. From the main screen of the Project management transaction, proceed as follows:

Select Enhancement components and choose Change.

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

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

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.

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

Choose Save text.

Your special menu function will not appear in the pulldown 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 attach your menu entry to its corresponding function, you need to create a function module for the function module exit associated with your menu text. This function module exit is part of the same SAP enhancement that contains the menu exit you used. Creating Customer-Specific Function Modules tells you more about how to use function module exits.

also refer

regards,

Prabhu

reward if it is helpful