2007 Feb 22 5:30 AM
Hi,
please explain me step by step procedure of menu exit.
how to add option in menu ,how to add functionality to it.
Hi,
please explain me step by step procedure of menu exit.
how to add option in menu ,how to add functionality to it.
2007 Feb 22 5:38 AM
HI,
In order for you to be able to implement menu exits, SAP application programmers must equip the GUI interface with function codes that begin with a plus sign (+).
These function codes are inactive at first and do not appear in the GUI until you activate them. They do not appear on the screen.
Menu exits are edited with the project management transaction (CMOD).
The pushbutton for editing components calls a dialog box where you can enter short descriptions and choose a language for each additional menu entry.
You may not make any changes to the GUI interface.
SAP application programmers determine where a program reads additional function codes and how it reacts - either with a function module exit or with a predefined function.
You can implement menu exits based on reserved function codes. The SAP application programmer defines the relevant function codes, assigns them to menus, and often provides a function module exit.
Check in the program for CALL CUSTOMER-FUNCTION. specially where Ok_code is handled. Istead of CALL CUSTOMER-FUNCTION even a call to BADI can also be there to put in your code. Search for CL_EXITHANDLER in your code.
Regards,
Sesh
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |