Menu EXIT in SAP ABAP with Tutorial

Menu EXIT in SAP ABAP with Tutorial

Read this article to know what is menu EXIT and how can you implement it?

Related Posts Plugin for WordPress, Blogger...

Author : Raj

Author's Website | Articles from Raj

Raj (Raju Borda) is an Application Developer focusing on Custom Development - particularly in the areas of ABAP ,WD4A , JAVA , APO , Enterprise services , Mobile applications and PI Developer/consultant . He is also certified in ABAP , PI and insurance domain. Facebook

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)

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 )

Related Posts Plugin for WordPress, Blogger...

Related Posts:

Related Posts

Like this post? Share it!


User Comments

  1. harikrishna
    August 31, 2010




  2. Yogesh Patil
    October 18, 2010

    Hi Friends,
    Really Good Document for all not only for Freshers…!!!
    Many experience people don’t know how to implement this but this document will help to implement menu exit with proper way…


  3. Tra
    December 30, 2011

    Thanks for your post.


  4. Abhinesh Sinha
    January 31, 2012

    I was trying for menu exit. I found so many post related to Menu Exit. But this post is very simple to understand. In other words, it is helpful for all freshers as well as working SAP professionals.


  5. Bhanu
    February 24, 2012

    Nice and soooooo helpful.



  6. Anu Kasturi
    June 1, 2012

    Very nice and well descriptive :)


  7. Kiran
    October 1, 2012

    Great and easy tutorial .


Leave a Reply

:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!:
  Twitter Followers Email Updates