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: 

User logon - restrict too many logons

Former Member
0 Kudos

Is there a way to restrict users from attempting to log more than once?

How to prevent them from not logging more than 1 time? If we try to logon for the 2nd time, it will prompt us if we need to close the previous session or continue without terminatin the 1st session.

But is there a way that we can completing not give rights to logon twice. With the exclusion of Super Users !

Also how to reduce the no:of sessions from a maxm of 6 to say 2 or 3.

Pls advise

9 REPLIES 9

WolfgangJanzen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Have a kind look on <a href="https://service.sap.com/sap/support/notes/142724">SAP Note 142724</a>. Also have a kind look on the description of profile parameter login/multi_login_users (using transaction RZ11).

Cheers, Wolfgang

PS: "multiple" is defined as "more than one"; there is no "few multiple" and "many multiple" ...

Former Member
0 Kudos

Hi,

There is a way to restric the users from attemping to log more than once.

To prevent multiple logging use

<b>login/disable_multi_gui_login=1</b> will stop multiple logins.But,this parameter can be set in RZ10(We have to restart the system(or)instance)

To restrict number of sessions use

<b>rdisp/max_alt_modes =6</b> by default change to either 2 or 3 but min is 2

<b>rdisp/max_alt_modes =6</b> this is dynamic parameter we can set this one in RZ11(No need to restart the system(or)instance)

this will help you

kiran kumar.v

WolfgangJanzen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Sorry to tell, but rdisp/max_alt_modes does <u>not</u> control the number of permitted multiple sessions but restrict the number of (external) modes that belong to one session. An external "mode" typically manifests as "SAPGUI window". Please notice that sometimes also an application might trigger the creation of an "external mode" (e.g. when performing an asynchronous RFC).

The difference between two sessions (with each of them having one mode) and one session with two modes is easy to determine: if you perform a "logoff" (e.g. by entering "/nex" in the SAPGUI ok code field) the entire session will be closed - with all modes assigned to it (but without effecting other sessions).

Regards, Wolfgang

Former Member
0 Kudos

Hi,

login/disable_multi_gui_login=1 will stop multiple logins. You have to set this in RZ10.

Once this is set from the next time you tyr to login it will prompt you with two options:

1. Terminate current session

2.Terminate this session and login in new session.

If you choose either one you will be able to use only on dialog session.

Regarding restricting number of sessions i think there is no profile paramater.may be it can be done by using ABAP program.

Cheero

Pradeep Gali

WolfgangJanzen
Product and Topic Expert
Product and Topic Expert
0 Kudos

For what purpose do you want to be able to distinguish between "few multiple" and "many multiple" simultaneous sessions? To me that sounds like introducing some more (system configuration) complexity for no real good reason.

Former Member
0 Kudos

Hi Pri

to limit everyone to one logon at a time use The profile parameter login/disable_multi_gui_login

To allow an exception list of a limited group of Super Users, use the profile parameter login/multi_login_users:

Quote from RZ11 Documentation

" In spite of the lock on multiple logons, the users listed are allowed

to log on multiple times; multiple logons are also logged in

this case."

Hope this helps

Andy

0 Kudos

oops ..this confuses ...

" In spite of the lock on multiple logons, the users listed are allowed

to log on multiple times; multiple logons are also logged in

this case."

we can lock users from logging multiple logons, but what does the above mean ?

Where do I see the parameters in transaction RZ10? I could only see the profiles,

Default Profile, Instance Profile & Start Profiles with 3 Edit Profiles,

Admin. Data

Basis Maintenance

Extended Maintenance

thanks,

Ann

0 Kudos

Hi Pri,

1 Goto RZ10

2. Utilities&#61664; import profiles of Active servers

3 Come back

4. goto Rz10

5,.sleect F4, Instance profile , Extended maintenance,,, Change

6. Create parameter

7. Do the following Screen profile name login/disable_multi_gui_logon parameter 1

Then save and activate

hope this info helps.

with regards,

Rajesh.

0 Kudos

Hi,

I think you imported the profiles if not means try to fallow below steps

In command field type <b>RZ10</b>

After login to RZ10 in <b>menu tab goto->utilities->import profiles->of active servers</b>

After importing we will get all profiles from O/S level to R/3 level.

where to set these parameters means?

Goto <b>RZ10</b> and press F4 in profile field you will get the all profiles select <b>instance profile</b>

<b>Edit profile</b> you will get three options

<b>Administration data

Basic maintenance

Extended maintenance</b>

IN three options select <b>Extended maintenanace</b>

Press <b>Change</b> button u will get onemore screen in that screen select <b>parameter tab</b>

In that screen type parameter name and parameter val.

This will help you.

kiran kumar.v