Professional Documents
Culture Documents
Understanding Menu Exits Create a Menu Exit. Using a Menu exit along with a Program Exit.
Definition
Menu enhancements allow customers to link their own processes to menu options. For this purpose, SAP has reserved certain menu options so that customers can define their own text and react to user selections in function exits. When the enhancement is included in a project and activated by the customer, menu enhancements are visible in the transaction. If the user chooses this menu option, either the function provided by the applications developer is executed, or the system branches to a function exit and the customer's own function is executed.
2
Menu Enhancements-SAP/Cust
Menu - Exit
Ex : For SE38 transaction in the initial screen we have in the UTILITIES menu +CUS which is under the enhancement SEU00002 for which a menu-exit can be created by including it in a project.
4
Menu - Exit
The menu item which u will add will come below the Versions menu item
(snap shot taken before menu item is added)
Menu - Exit
Transaction Code CMOD
Menu - Exit
Create a project
Menu - Exit
Enter the short text and select
Enhancement assignment
Menu - Exit
Enter the Enhancement Name and save the project.
Note : at any
particular point any enhancement can belong to only one Project
9
Menu-Exit
Select the
components
from the menu or Application toolbar to view the Exits associated with it
10
Menu-Exit
Double Click on the function module name
(program exit or
Function exit ) for
Menu-Exit
Double click on the include and write your code there
12
Menu-Exit
Write Your code here and go back to the
Components
screen
13
Menu-Exit
14
Menu-Exit
Write your
Function text
here this is what appears to you in your Menu, and say copy.
(create a transport request if required)
15
Menu-Exit
Go back to the initial screen of CMOD transaction and activate the project
16
Menu-Exit
The menu item which u added which has come below the Versions menu item
(snap shot taken after menu item is added)
17
Menu-Exit
The message that is displayed at the bottom of the screen when you select the new menu option.
18
Menu-Exit
The End
19