cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP RF error screen logoff

volker_bock
Participant
0 Likes
4,021

Hi,

I encounter a little problem. I set up an RF menu which consist partly of standard transactions like LM05 or LM50. On the other hand there are also custom functions. I created all HTML templates and published the services, so far it seemed ok. Screen look ok. But navigating through the functions or menu entries I had a weird phenomenon.

E.g. when I get an error message and leave it pressing "OK" in a standard transaction or if I press F3 in the entry screen of a standard transaction, then the system performs a complete logoff! I'd like to have that, when pressing F3 in the uppermost menu level, but nowhere else.

In my custom transactions it will work fine, as I do not use the standard error screen (If i would, I expect the same problems as with standard transactions); if I leave the entry screen using F3 it will return to the menu.

As I could see, the difference is:

  • the custom transactions end with "leave program" when I press F3
  • the standard transactions end (in form "BACK_TO_PROGRAM") with "leave to transaction MMENU", where MMENU = LM01.

Is there a possibility to make the error screen or the standard entry screen to perform a "leave program" instead of "leave to transactions" or do I do something wrong?

This is only when calling it as an ITS service in a web browser, in SAPGUI transactions work fine.

My service settings are:

on the logoff-tab I have entered a URL, consisting of the logoff-service combined with the service itself:

....logoff?erdirecturl = <my service>

In another system, where I use only custom transactions I use the very same service settings and it works fine. If you need more information, feel free to ask.

Thx in advance

Volker

View Entire Topic
Former Member
0 Likes

Hi Volker,

Leave to transaction will trigger the kernel to terminated the session in case ~singletransaction is active. Normally I would not expect to have this parameter in an ITSMobile application because there is no navigation menu that the user can use to jump to other transactions. Even if he could there will be no templates and therefore he would get a dump about missing templates.

If you are on release >= 7.31 and you use the ICF logoff service to delete the http security cookie you don't need to specifiy the sever and port. Please change it to

/sap/public/bc/icf/logoff?redirecturl=/sap/bc/gui/sap/its/<yourService>

Regards,

Dieter