Slides

217211276 working-with-menu-exits

Description
1. Working with Menu Exits Menu exits add items to the pull down menus in standard SAP applications. You can use these menu items to call up your screens or to trigger…
Categories
Published
of 9
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  • 1. Working with Menu Exits Menu exits add items to the pull down menus in standard SAP applications. You can use these menu items to call up your 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 can specify the menu items text when activating the item in an add-on project. Note: along with Menu exits SAP also provides the function module exit to attach the functionality for each menu option. We can add customer menu options in two places:  To the initial screen on the SAP menu (Area Menus)  To the standard menus of the standard transactions. Example: Adding custom menu options for the standard transaction MC94. Identify the menu exit from the standard transaction, i.e. through SMOD. Go to transaction SMOD. and press F4. Choose from information system, if you get a screen as shown below.
  • 2. You will get the below screen. Enter the package name in Package and press enter. (You will get the package name using attributes of the program for the transaction) These are the list of exits available and MCP20003 is the Menu exit.
  • 3. Go to the initial screen of SMOD transaction and enter the enhancement name and select the option component and click on display to check the list of components from the enhancement. You will get the components of the exit.
  • 4. Note: since the function codes for the menu options are already available, it is enough to provide the meaningful descriptions. But this enables the options only and the functionality can be linked in the function code. Execute the COMD transaction and provide the project name and click on Create button if the project is not yet created. Else deactivate the project by clicking on and open the project in change mode. Now click on enhancement assignments.
  • 5. Provide the enhancement name, save it and click on components Now you will get the components of the exit. Double click on required function code i.e. +CU1. Provide the function text, which is to be displayed as the menu option and click on Copy.
  • 6. Once the test is provided, we need to link the functionalities for the already activated function codes through the function module exits. Double click on the function module exit EXIT_SAPMMCP6_003. Now double click on include ZXSOPU03. It will ask for creation click on Yes. Save it as a local object and write the code as shown below. And activate it.
  • 7. Now back to the initial screen of COMD and activate the project Note: Make sure that the project is always activated and so that the additional functions get activated. Testing the enhancement We need to execute the corresponding standard transaction to make sure that the additional options are available and the corresponding functions are called. Execute the transaction MC94. Enter the planning type and press enter
  • 8. Enter the Material group and Material number. Now click on Active version. Now you will get a screen as shown below. Now in Menu  Extras  Customer functions you can find the Menu item “Create program - SSR3KOR” which is created now.
  • 9. Click on Create program – SSR3KOR. You will get SE38 screen where you can create a program.
  • We Need Your Support
    Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

    Thanks to everyone for your continued support.

    No, Thanks