Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Menu Exit Code

Former Member
0 Kudos
117

Hello All,

I wanted a Menu Item in the SAP Standard Menu Bar.

i.e the SYSTEM, HELP menu .

So, for the above I went to the Screen Painter SE41--> Program --> MENUSYST --> Status > MEN> Change .

Here under the Help Menu - I added one more item with Text TEST and Function Code as HELP_1.

Now I found out the Enhancements for this by going to the SMOD and the enhancement is : SEUMP002

Now I created a project in CMOD (ZHELP) and I mentioned the enhancement SEUMP002 in it and activated it.

Now when I see the HELP Menu Items I can see the TEST menu item in the active mode.

Now to write the functionality of the TEST with function code HELP_1 i used the enhancements :

EXIT_SAPLSMPE_001

EXIT_SAPMSMPE_001.

In that there is a Z include INCLUDE ZXseuu13.Here I kept a breakpoint to chk whether it is getting triggered or not.

But it's not stopping when I press the TEST MEnu Item.

Can u guys tell me wht to do to trigger the functionality of the TEST Menu Item ?

Regards,

Deepu.K

.

2 REPLIES 2

former_member673464
Active Contributor
0 Kudos
43

hi,

For triggering the break-point you have to implement that menu exit ,you have to write some code in the z include and activate it.You have to also activate the project in which you have implemented .

Regards,

Veeresh

0 Kudos
43

Hello ,

I did that !

I've written the following code in the Z INclude :

{

IF sy-uname = 'MY USER NAME'.

BREAK-POINT.

ENDIF.

}

I also have activated the project.

Any other clues ????

Regards,

Deepu.K

.