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: 

Session time out setting to disconnect SAP user or plugin Http

Former Member
0 Kudos

Hi,

Is there any way or settings to be made in which the R/3 system can disconnect the user when the SAP session is left idle after a certain time for specific user? I know the parameter which effects complete user if we change.

Regards

Uday

1 ACCEPTED SOLUTION

Former Member

This can be a huge question...

Please explain the scenario. I assume you have http based access to the system and sessions of type rfc "hanging" in SM04?

The SAPgui timeout is currently "global" but in general the application should take care of this when starting tasks.

Cheers,

Julius

5 REPLIES 5

Former Member

This can be a huge question...

Please explain the scenario. I assume you have http based access to the system and sessions of type rfc "hanging" in SM04?

The SAPgui timeout is currently "global" but in general the application should take care of this when starting tasks.

Cheers,

Julius

Former Member
0 Kudos

Hi,

We have sessions http called from an external source via a Web Service call. The Web Service is designed to hit SAP with a single command u2013 it either retrieves a single record from SAP or it sends a create/update request for a single record. After that, the Web Service is done and does not need anything else from SAP for that particular vendor.

If I were entering the data online, I would do one of the following:

· Log on to SAP

· Perform the function (Create/Update/Display) for a vendor

· Log off of SAP

If I understand correctly, what we are seeing now is that the Web Service does the first two steps of the above scenario, but it never does the third step. It is also my understanding that the various parameters we are adjusting are intended to tell SAP to force the log off after an elapsed period of time. It seems to me that we are being passive in letting SAP force the log off. Is there no way that we can put this responsibility on the system that is making the Web Service call? The external system knows when it is done with the vendor data u2013 I find it hard to believe there is no option for the external system to send a response or command back to SAP to indicate u201CIu2019m done, please log offu201D.

Regards

Uday

0 Kudos

Hi,

have you tried to force end of http connection on your external system. Usually, it uses keep alive option to improve performance of multiple calls. Also what authorization scheme do you use? Usually, SAP system issues logon ticket which allows caller to perform multiple calls without re-entering username and password. Probably for this scenario you want to force username and password for each call.

Cheers

Marssel700
Active Contributor
0 Kudos

Hi,

Please follow instructions:

Transaction RZ11

Parameter: rdisp/gui_auto_logout

Enter number of seconds of inactivity. To deactivate automatic logoff, set the value '0'.

Regards.

0 Kudos

Hi,

You should set parameter rdisp/plugin_auto_logout by t-code RZ11 for HTTP plugin session timeout.

Regards.