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 "SEUED001"

Former Member
0 Kudos

Hi,everyone:

I use enhancement SEUED001, create a project in cmod,

in menu exit 'SAPLS38E +PGE' I add a menu.

and actived the project now .

i can found the menu i added ,but i can not make it work

according to on line help.

" To attach your menu entry to its corresponding function, you need to create a function module for the function module exit associated with your menu text. This function module exit is part of the same SAP enhancement that contains the menu exit you used "

I code it in "EXIT_SAPLS38E_001",but it still do not work.

so i am wondering the reason.

4 REPLIES 4

Former Member
0 Kudos

Dear Leibnitz,

I have checked and the menu appears too. You have to write code in a function exit to make it functions. But I have not been able to find the function exit where I get OK_CODE as importing parameter.

The approach should be :-

IF ok_code = '+PGE'.

blah blah blah.....

ENDIF.

Please try to follow this approach.

Regards,

Deva.

former_member188685
Active Contributor
0 Kudos

after adding your menu,

you should implement the logic in this exit...<b>EXIT_SAPLEDITOR_002</b>

here you will be able to capture the Fucntion codes for the program and Handle them according to your requirement....

vijay

0 Kudos

according to the creen

function exit:

EXIT_SAPLEDITOR_001

EXIT_SAPLEDITOR_002

EXIT_SAPLLOCAL_EDT1_001

EXIT_SAPLLOCAL_EDT1_002

EXIT_SAPLS38E_001

EXIT_SAPMSEDT_001

EXIT_SAPMSEDT_002

menu exit:

SAPLLOCAL_EDT1 +PGE

SAPLS38E +PGE

SAPMSEDT +PGE

I add my code in all the function exit,

but none appeared effect. I add my code in above seven funtion exit.

the code:

IF sy-uname = USERNAME.

break point.

ENDIF.

0 Kudos

EXIT_SAPLLOCAL_EDT1_002

is useful.