on 2004 Oct 19 5:11 PM
LS.,
I am creating my own LM00 screens which work fine. There is one button hat I still have to add: LOGOUT.
Of course I can create the button and give it a functioncode, but what do I have to let it do to make the user logout?
I tried functions like:
EXIT, LEAVE TO SCREEN 0, LEAVE PROGRAM, LEAVE, RETURN, STOP, CALL TRANSACTION '/NEX'.
Also I tried to debug the original LM00 transaction, but it is not debuggable using /h /hs or /he.
I have also searched for function modules that log the user out, but did not find any.
Anybody any idea how to create the logout-button?
Best regards,
Tim van Steenbergen.
Got it.
Functionmodule SAPGUI_SET_FUNCTIONCODE does some part, but only works for a dialogsession. When trying this on a scanner, it did not do anything because this interface does not have a transaction box to enter the functioncode in.
The trick that worked was call 'SYS_LOGOFF'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.