2008 Feb 15 3:11 PM
Hi,
I found this SDW00004 Customer menu in Workbench menu 'Utilities.
But how to implement this and i want to give some text for the menu.
Menu exit MENUS001 +DW4
Regards
Krish
2008 Feb 16 1:40 PM
hi,
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.
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.
Follow these steps to create menu exit:
1) goto tcode - CMOD
2) create a project
3) Enter the short text and select Enhancement assignment
from the menu or Application Tool Bar
4) Enter the Enhancement Name and save the project.
Note : at any particular point any enhancement can belong to only one Project
5) Select the components from the menu or Application toolbar to view the Exits associated with it
6) Double Click on the function module name
(program exit or Function exit ) for enhancing the code
7) Double click on the include and write your code there.
these includes start with 'ZX'. When we create a include, it throws a warning message saying that ZX includes are reserved for exits.
😎 Write Your code here and go back to the Components screen
9)Double click on the function code of the Menu exit enhancement
10)Write your Function text here this is what appears to you in your Menu, and say copy. (create a transport request if required)
11) Go back to the initial screen of CMOD transaction and activate the project
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 items text when activating the item in an add-on project.
http://www.sappoint.com/abap/userexit.pdf#search=%22MENU%20EXITS%20%2C%20SAP%22
Regards,