This website is not affiliated with, sponsored by, or approved by SAP AG.

background

Basis (Basis Technology Modules: Basis Component/System Administration, GUIs)

Moderators: thx4allthefish, Snowy

background

Postby Geeth » Wed Jul 11, 2012 12:10 pm

hi experts,

Is there a way to unlock a locked user, if the user is locked for more then 10 mins or in case there is a lock on particular table for a long time - do we have any program or a job that can unlock?

Geeth
 
Posts: 42
Joined: Sun Mar 14, 2010 8:10 pm

Re: background

Postby QZ » Wed Jul 11, 2012 1:18 pm

Hi Geeth,

USR02-UFLAG determines if a user is locked. I checked online and the values are as follows:

0 Not Locked
32 Locked Globally By Administrator
64 Locked Locally By Administrator
128 Locked Due To Incorrect Logons (Limited Term)

I see a function module named BAPI_USER_UNLOCK. I haven't used it, and there may be
other programs or function modules.

You can get an ABAP developer to write something that unlocks users, and run it every 10 minutes.

From a business standpoint, the auditors (If you are audited) will likely not endorse this idea.


QZ
QZ
 
Posts: 205
Joined: Wed Nov 14, 2007 11:02 am

Re: background

Postby Snowy » Wed Jul 11, 2012 3:19 pm

Geeth, you are mixing 2 things here:

1, locked users
2. locked tables.

you cannot treat both of them with the same strategy.

what is your real need?
SapFans Moderator

Search: http://www.sapfans.com/forums/search.php
Notes: http://service.sap.com/notes
Help: http://help.sap.com
Rules: http://www.sapfans.com/forums/viewtopic.php?t=344127
Snowy
 
Posts: 29361
Joined: Mon Oct 21, 2002 2:33 pm
Location: 3.1415926535

Re: background

Postby Geeth » Wed Jul 11, 2012 10:56 pm

Sorry let me be clear - In global work process few users are getting stuck on tables, like user ID holding locks on table, so if there are any lock on the table for a long time. I want that to be released.Thanks
Geeth
 
Posts: 42
Joined: Sun Mar 14, 2010 8:10 pm

Re: background

Postby blueteeth » Thu Jul 12, 2012 9:47 am

The problem appears to locks on tables. Please give your RDBMS Version & SAP Version always.

SAP Standard normally do not have locks problem. Check if these locks are occurring due to custom programs. If true, then you may have to sit with your ABAP programmer.

Regards,
BT
blueteeth
 
Posts: 483
Joined: Sat Apr 05, 2008 12:22 pm


Return to Basis

Who is online

Users browsing this forum: No registered users and 10 guests




This website is not affiliated with, sponsored by, or approved by SAP AG.