12-26-2005 3:34 AM
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.
12-26-2005 4:36 AM
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.
12-26-2005 4:51 AM
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
12-26-2005 5:38 AM
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.
12-26-2005 8:42 AM