Close Sidebar close
Sapignite
  • SAP
  • Coding Challenges
  • Download
  • SAP Ignite Products

Subscribe & Follow

All product names on this web site are trademarks of the companies that own them. Sapignite.com is not affiliated with SAP AG in any way. SAP AG is the registered trademark holder of SAP, SAP R/3, mySAP, ABAP, xApps, NetWeaver, and other proprietary terms. The technical information on this site is verified to the greatest extent possible, however, any information found on this site is used at the site visitor's own risk. Sapignite.com reserves the right to correct any errors or omissions in any portion of this site at any time without obligation.

  • SAP
  • Coding Challenges
  • Download
  • SAP Ignite Products
Sapignite
Sapignite
    ABAP Enhancement SAP

    Tutorial on How to work with Menu EXIT

    August 10, 2017

    Menu Exit is use to add custom menu option to the standard menu.

    As an example suppose you want to add the extra option to navigate to transaction SU01D from the SE38 Program Display screen. Suppose you want put that menu option just below the UtilitiesàVersions. Check the below screen shot.


    Step 1:

    Find out the Menu exit which can be used to achieve this functionality.

    Go to System status and find out the package name used for this SE38 Source code Display screen. The program name is SAPLS38E to display the source code in transaction SE38. Go to attribute of this Program, you can find the package as SEDI.


    Take this package name SEDI and Go to transaction code CMOD .Use the menu path Utilities->SAP Enhancement.

    Give the package name as SEDI and execute it. You can find the below list of enhancements

    As per the description: Enhancement SEUED001 Can be used. So Now when you got your dream enhancement let’s start the movie.

    Step 2:

    Go to Transaction CMOD and create a Project ZMETEST (You can give any name). Click on the button Assign Enhancement and include the Enhancement SEUED001.Click on the components button you can see the below Exits.

    Step 3:

    Double click on the EXIT SAPLS38E +PGE. It will popup you the extra menu option which you want to add.

    Step 4: When you click on the “Go to Su01d” menu option the screen execution should go to the SU01D transaction. To write this navigation code we can use Function exit EXIT_SAPLLOCAL_EDT1_002 (Some time you need to try trial and error method to find out the related function module name).Double click on it and write the below code into the include ZXSEUU25.(which is inside the Function module EXIT_SAPLLOCAL_EDT1_002).

    (Note: Set parameter statement is not required it is just for setting the user id as your id in SU01D)

    set PARAMETER ID ‘XUS’ FIELD SY-uname.
    Call transaction ‘SU01D’
    .


    Step 5:

    Go back to CMOD screen and activate your project.

    Step 6:

    Open Se38 screen with any report program and go to the menu path UtilitiesàGo to Su01d.

    It will take you to Su01d screen.

    (Note: It is good practice to De activate the project if you are doing this tutorial for learning purpose. J )


    menu-exit CMOD SMODsap abap menu exitSEUED001 enhancement
    raju borda
    Raju is working with Technical areas like SAP ABAP, PI , Web design, JAVA , PBT, robotics as architect also functional areas like SCM , QM, MM , insurance . When he is not Doing above geeky things you might find him travelling , Cooking , dancing or drinking with friends :-) .
    • Tutorial on How to work with function module EXIT

    • Tutorial on how to work with the SCREEN EXIT

    You Might Also Like

    Coding challenge – V

    July 5, 2017

    Tutorial on how to work with USER EXIT

    August 11, 2017

    Pie Charts in Adobe Flex using Webdynpro for ABAP

    July 6, 2017

    No Comments

    Leave a Reply Cancel Reply

Sign up for some exciting content

Recent Posts

  • How to prepare for SAP IBP Certification
  • What is SAP Leonardo ?
  • RoadMap UI Tutorial webdynpro for ABAP
  • Offline Adobe forms in WebDynPro for ABAP
  • MVC Architecture for Webdynpro for ABAP

Categories

  • ABAP
  • Android
  • Coding Challenges
  • Enhancement
  • featured
  • Interviews
  • Learning Hub
  • PI ( Process integration )
  • SAP
  • SAP HANA
  • Uncategorized
  • Webdynpro for ABAP
  • Webdynpro For ABAP