User Lock Status In Sap

broken image


  1. Sap System Status
  2. User Lock Status In Sap Login
Home‎ > ‎OS Administration‎ > ‎Script and Tools‎ > ‎

SAP mass user lock/unlock at OS level


SAP mass user lock/unlock at OS level

SAP provides mass userlock /unlock utility as part of TPprogram. Using this functionality one can lock all users in SAP system exceptSAP* and DDIC.


Why its required

If you are planningto do any maintenance activity ,you can lock all SAP users and continue yourmaintenance using DDIC . If you require moreusers to be accessible during the maintenance, those users should log in beforeyou run the lock command .


Dell inspiron 5547 drivers download

Please note : Thislock will not impact any user already logged in the system. Also can use SU10to mass lock/unlock.


Lock Procedure

1.Loginto at OS level with and go to /usr/sap/trans/bin .

2.Executefollowing lock command at OS level

tp LOCKSYS pf=


3.Once above command is executed ,SAP will show following message when any user will try to log in.
You may get 'Logon not possible. Put running' or 'Upgrade still running : Logon not possible' message ,it depends on your SAP NetWeaver release.


Unlock Procedure

1.Execute following unlock command at OS level

tp UNLOCKSYS pf=



Reference:

Centos 6.5 x86_64 minimal iso. http://help.sap.com/saphelp_45b/helpdata/en/3d/ad5b744ebc11d182bf0000e829fbfe/content.htm


Sap System Status

Sap

Please note : Thislock will not impact any user already logged in the system. Also can use SU10to mass lock/unlock.


Lock Procedure

1.Loginto at OS level with and go to /usr/sap/trans/bin .

2.Executefollowing lock command at OS level

tp LOCKSYS pf=


3.Once above command is executed ,SAP will show following message when any user will try to log in.
You may get 'Logon not possible. Put running' or 'Upgrade still running : Logon not possible' message ,it depends on your SAP NetWeaver release.


Unlock Procedure

1.Execute following unlock command at OS level

tp UNLOCKSYS pf=



Reference:

Centos 6.5 x86_64 minimal iso. http://help.sap.com/saphelp_45b/helpdata/en/3d/ad5b744ebc11d182bf0000e829fbfe/content.htm


Sap System Status

User Lock Status In Sap Login

This procedure returns a result set that shows the current status of users. In addition to basic user information, the procedure includes a column indicating if the user has been locked out and a column with a reason for the lockout. SAP XUUFLAG Data Element - User Lock Status ABAP dictionary fields SAP XUUFLAG Data Element User Lock Status ABAP dictionary fields XUUFLAG is a standard DATA Element within the SAP ABAP dictionary and is associated with fields that store Purchasing Document information.





broken image