Online Tutorials & Training Materials | STechies.com
Register Login

How to Lock or Unlock a client In sap

05 Mar 2008 2:14 pm || 13

To lock or unlock a client in R/3 System, run the following function modules in transaction SE37

1. SSCR_LOCK_CLIENT ( to lock the client)
2. SSCR_UNLOCK_CLIENT (to unlock the client)

Run these functions with a client input which is to be locked/unlocked. This function set flag '' Client is locked temporarily for client copy" in client maintenance menu.The client will be available for users DDIC and SAP*. If any other user tries to login, system gives message that ' Client locked temporarily'.


To Unlock the client

1. Run transaction SE37
2. Enter the function module as SSCR_UNLOCK_CLIENT
3. press F8 or test run (single run).
4. Specify the client and execute(F8).

Follow similar procedure for locking the client

To Lock the client

There is no direct tcode to lock a client. the easiest way to Lock a client is 
1. Run Tcode SE37
2. Type function module name  SCCR_LOCK_CLIENT
3. Enter the Client No.
4. Execute the function module.

You can lock the system with "tp locksys " and unlock it with "tp unlocksys ". You can also stop the service, but then no one can login including yourself.  

Locking/unlocking the entire system, an admin can use the following commands:
1. tp locksys <SID> pf=<transport profile>
2. tp unlocksys <SID> pf=<transport profile>


Comments

  • 19 May 2008 9:18 am
    iam unable to login even with DDIC or SAP*
  • 10 Jul 2008 11:12 am
    This can also be done through SCC4 --> check flag "Locked due to client copy" under "Restrictions"

    - Ravi Gandavarapu
  • 11 Jul 2008 12:51 am
    their is one more method Just remove the entry of that Client from T000 Table, no one can access that Client
  • 04 Nov 2009 5:52 pm
    How would one determine the population of instances in which the client was unlocked during a specified period? I am wondering if there is a log of this unlocking.
  • 16 Sep 2011 6:04 am
    Hi
    When i enter SSCR_LOCK_CLIENT in function module field it says does not exist..
    any idea how to lock the client..
  • 16 Sep 2011 6:04 am
    Its SCCR not SSCR
  • 16 Sep 2011 6:05 am
    Hi,
    You have to login in the client which you want to lock and then
    1. Run transaction SE37
    2. Enter the function module as SSCR_UNLOCK_CLIENT
    3. press F8 or test run (single run).
  • 19 Sep 2011 5:20 am
    it is sccr r not sscr
  • 10 Oct 2011 12:41 pm
    To lock a client means suspend the client temporarily. This can be done using transaction SCC4 as below:

    1) Run transaction SCC4.
    2) Step 1 will display T000 table. Remove the client entry from the table (e.g 003) and then save.

    This will suspend the client temporarily. Virtually the client will not exist. But physically it will be there.

    To again activate the client, simply go to transaction SCC4 and add the client no. (e.g 003). Client will again be active.
  • 10 Oct 2011 12:41 pm
    There are certain ways to lock a client, (locking from customizing depending what is the role of the client) is it on productive mode? customizing? test?

    Also a user with enough basis role could lock/unlock the client. You only need the authorization object to do so, or authorization to access SCC4, with all activities required to view, change status of the client.
  • 10 Oct 2011 12:41 pm
    hi,
    i was trying to crate a new client but it was not created.
    now my old client also blocked.how can unlock my old client?

    give me any solution....
  • 10 Oct 2011 12:42 pm
    Hi Ive been banned and IP BANNED. From a game for geting upset over a mistake made by a admin, i changed my IP AND gained access to the game but now it im getin a message saying "you are loged out for a while" is there way i can get past this? Ive been looking around and some people recomend i get a new modem, im wondering what information did this guy take to lock me out of the game?
  • 07 May 2014 3:57 pm

    change from SSCR to SCCR...the function names