How to lock a client?

Hi everybody,
        I want to lock a client for a period of time.  How can I do it?
Thanks in advance
venkatesh

Hi Venkateswarlu,
There is an alternative for what you want to do. Instead of locking the client, you could lock the users in that client, so they dont have access to the client for a period of time (until you unlock them again).
Log in the client you want to restrict. Go to trx SU01. Choose in the menu Environment - Mass changes. In user selection section press button 'Address data' and enter. Select all the users you want to lock. You may not want to block sap*, or the admin user so you still have access to the system :). Select them and then press Transfer. Once all the selected users appear in the first screen, you can select all of them again and press the button to lock them. After this, users wont be able to login in that client anymore.
I dont know exactly why you want to lock the client, but there is another option in trx STMS. Press button 'System overview' and choose the system you want to lock. Then press the lock button to lock the system.
Good luck,

Similar Messages

  • Locking a client

    Hi everyone.
    How to lock a client? What exactly a client lock means? Is it like not allowing import of new objects, locking all existing users?

    Hi,
    here I'll show you the way :
    - run tcode SE37
    - type function module name - SCCR_LOCK_CLIENT
    - enter the Client Number
    - execute the function module.
    Locking the entire system, an admin can use the following commands:
    tp locksys <SID> pf=<transport profile>
    rgds,
    alfonsus guritno

  • Lock & Delete Client

    Hi,
    We have different clients in our development & quality system, some of them are nothing but the copy of production client. Periodically we create some new clients & there is no requirement of old clients for us.
    What should I do to delete the client?
    Shall I lock the client or delete the client? How to lock a client & How to delete a client? Please suggest.
    Regards,
    Rajesh

    Hi Rajesh,
    Its always a good practise to keep the system clean and remove unwanted clients. Every new client has storage requirements and puts load on the database as you keep adding new clients. You can use transaction SCC5 to delete client, you can check 'test run' and test the deletion process as well.
    Also, every time you delete a client a large amount DML operations are executed at the database level. If the client contains large amount of transactional data, its a good practise to switch off archive logging at database level to speed up the process, else you will have to also have the overhead of keeping the archiving filesystem free.
    Hope this helps.
    Cheers,
    Nisch

  • Lock a client

    hay every body,
    can any body tell me how to lock a client and prevent any of my user from making any transaction on it
    pls help

    Dear Nany,
    Please don't mind, but I think neither this Forum not this activity is related to SD-Module/ Consultant.
    Instead of posting the thread, You must consult your BASIS-ADMIN.
    Best Regards,
    Amit
    Note: Strictly, Just for information-sake
    [Lock Client|http://www.sap-img.com/bc060.htm]
    Moderators, If you find this link-of-information, against any Rule, Please remove it.

  • How to lock the ides client for secure purpose

    hello friends,
    i do have system which contain 4 clients 800,001,000,060  so out of 4 clients i want to lock 3 clients 000,001,060
    and client 800 will remain open.
    so plz give me solution for window server  2k3 and also for linux redhat system.
    thanks
    zaheer

    Hi,
    I agree with Vishnu,
    Please perform the following to lock the client:
    1. Go to SM37.
    2. Enter the module name SCCR_LOCK_CLIENT
    3. Enter the client number you want to lock.
    4. Execute (F8).
    Note: Locked clients are only accessible to DDIC and SAP* users, while other users can't login to that client. Furthermore, if you want to unlock the client use SCCR_UNLOCK_CLIENT in the same way as above.
    Please let us know if solved.
    Regards,
    Avishek.

  • How to lock Profit Center in SAP B1 8.8 PL10

    Hi All,
                I am Using Profit cneter feature as Location for one of my client. Totally there are 12 locations( Profit centers). Now I got a situation where I need to lock few Locations (Profit Centers). Bcoz they are non Operative as of now.
                Somebody please let me know how to lock profit center in SAP B1 8.8 PL 10.
    Thank you,
    Dasari.

    Try this for A/R Invoice:
    if @object_type = N'13' and @transaction_type in (N'A', N'U')
    BEGIN
    If exists (Select T0.DocEntry From INV1 T0
    Where T0.DocEntry=@list_of_cols_val_tab_del and T0.Project
    in ('P1', 'P2'))
    Begin
          Set @error = 13
          Set @error_message = 'Project Code inactive!'
    End
    END

  • How to lock a function while it is in processing?

    i am using threads to write my game server side. anyone have any idea on how to lock a function while it is in process? then it wl continue after a process. appreciate very much

       public void run() {
            try {
                char charBuffer[] = new char[1];
                // --- while we have an incoming stream
                while(in.read(charBuffer,0,1) != -1) {
                    // --- create a string buffer to hold the incoming stream
                    StringBuffer stringBuffer = new StringBuffer(8192);
                    // --- while the stream hasn't ended
                    while(charBuffer[0] != '\0') {
                        // --- add the character to our buffer
                        stringBuffer.append(charBuffer[0]);
                        in.read(charBuffer, 0 ,1);
                    if(stringBuffer.toString().equals("IP")){
                        getMachineId(this.getIP());
                       } else{
                        // --- analysis the XML
                        parseReceivedXML(stringBuffer.toString());
            } catch(IOException ioe) {
                server.writeActivity("Client IP: " + ip + " caused a read error "
                        + ioe + " : " + ioe.getMessage() + "and has been disconnected.");
            } finally {
                killClient();
        }above is my run() code. i want to lock the function parseReceivedXML() and release it to the waiting thread after a thread finish process. i want the threads queue up to run in this function. please help

  • How to unlock a client

    Hi everyone
    I have an issue..
    Can anybody tell me how to unlock a client from client 000..
    In client 800 all users are locked.
    Is there a way to do that..
    thank you.
    Kiran kumar.

    Hi Kiran,
    1. To lock or unlock a client only in an in R/3 System, run the following functions via tcode SE37:
    1. SSCR_LOCK_CLIENT
    2. SSCR_UNLOCK_CLIENT
    Once we run these functions with a client as input, that client will be locked/unlocked. Actually this function set flag '' Client is locked temporarily for client copy" in client maintenance menu. And the client will be available for users DDIC and SAP*. If you try to login in that client as any user, system gives message that ' Client locked temporarily'.
    Procedure to unlock the client
         1. Goto SE37
         2. Specify function module as SSCR_UNLOCK_CLIENT
         3. Click on icon Single test or F8.
         4. Specify the client which you want to lock and click on execute(F8).
    2. If all the users are locked, they can be unlocked by
    a) GO to command prompt type tp unlocksys <SID> pf=//usr/sap/trans/bin/TP_DOMAIN_<SID>.pfl;
    b) or else try this command at ur sql plus query level
    Go to cmd prompt.
    Sqlplus /nolog
    conn /as sysdba
    this will take you to the sqlprompt.
    Just execute the earlier commands there.
    sqlplus>UPDATE SAP<schema>.usr02 set uflag=0 where mandt=<CLNT NO> and uflag=64;
    this statement actually unlocks the users of that particular client. So, try for every client in that sap system.
    c) You can delete sap*
    Go to cmd prompt.
    Sqlplus /nolog
    conn /as sysdba
    sqlplus>DELETE SAP<SID>.usr02 where mandt='CLIENT.NO' and bname=SAP*;
    after doing this restart the system. So, that a new user with the name "sap" gets generated with password "pass". Provided the parameter is set login/no_automatic_user_sapstar= 0 (Automatic user SAP is permitted).

  • Step by step instruction on how to lock my airport connection on a mac

    step by step instruction on how to lock my airport connection on a mac

    Establishing and connecting to a wireless encrypted network takes two basic steps:
    Administering the wireless router to configure it for a wireless security type (WEP (not recommended), WPA, or WPA2) and password.
    Connecting a wireless client to the secured network by choosing the corrent security type and entering the correct password.
    The "lock" symbol would only show up for a Wi-Fi network after it has been configured for security. You can't do this via System Preferences on your Mac. It would have to be done using either the AirPort Utility for Apple routers or a web-based interface for most others.

  • How to lock workitem

    Hi All,
    Could any one help me how to lock the workitem if it is being edited by other user form portal UWL .
    Thank you,
    Harsha

    Hi,
    Please user the below FM to lcok the workitem in back end.
    DEQUEUE_E_WORKITEM
    ENQUEUE_E_WORKITEM
    When user opens the workitem through the UWL it does not lock it. To lockunlock the workitem please use the above FMs,
    Sample Cope :
    CALL FUNCTION u2018ENQUEUE_E_WORKITEMu2018
    EXPORTING
    * MODE_SWWWIHEAD = u2018Eu2019
    * CLIENT                             = SY-MANDT
    WI_ID                                = u2018000000068635u2018
    * X_WI_ID = u2018 u2018
    * _SCOPE = u20192u2032
    * _WAIT = u2018 u2018
    * _COLLECT = u2018 u2018
    EXCEPTIONS
    FOREIGN_LOCK              = 1
    SYSTEM_FAILURE        = 2
    OTHERS                               = 3.
    As a result of that workitem will be locked to process by another user and you can find and entry in SM12.
    Please see below link.
    http://www.genipole.com/tutorials/lockunlock-the-workitem/
    Thanks and regards,
    SNJY

  • How to load a client file in a clob using sqlcl

    How to load a client file in a clob using sqlcl

    You don't "load" jars. If it's on the classpath, you can obtain individual resources from it using various methods on either Class or ClassLoader. Do you mean "how to add a jar to the classpath at runtime"? Can't be done without using a classloader, typically URLClassLoader or a subclass thereof. Why you want to not use the proven method is beyond me. Presumably because you don't understand classloading. In which case, forget it.

  • How to lock record in a remote database ???

    Hi All!
    How to lock record in a remote table ??? Is it possible to lock by using the RPC ??? What are the options available ??
    thanks
    Sanjeeb Bose
    HCL Infosystems Ltd
    Kolkata India

    DBLinks may be one option...
    --Shirish                                                                                                                                                                                                                       

  • How to create cross-client variant?

    Hi Experters:
    Can someone tell me how create cross-client variant in ECC6.0?
    in 4.6, we can define the client or define cross-client transaction variant,
    how to create cross-client variant in ECC6.0?
    Regareds,

    Hi,
    In se93 there is a check box cross-client .
    The Cross-client switch identifies which transaction variants are cross-client and which are client-specific. If the switch is set, the transaction variant is cross-client. If the switch is not set, the transaction variant is client-specific.
    A client-specific transaction variant can only exist in the client where it was created. The field contents of the transaction variant only have to be available in the particular client. A cross-client transaction variant is available in the system regardless of which client is currently active. The field contents of the transaction variant have to be available in all clients.
    http://****************/Tutorials/ABAP/TransactionVariant/Create.htm

  • How to comapare two clients in sap scripts

    hi,
               how to comapare two clients in sap scripts

    Hi Anil,
    Go to Tcode 'SE71' then choose menu Utilities->Compare Clients, then mention the Form name which u wish to compare, and give target client name and source client name, then execute.
    Regards
    Haritha

  • How to lock multiple user for a transcation code at same time is der any tc

    how to lock multiple user for a transcation code at same time is der any tc
    suppose i hav 15 user and i want to lock 10 user for mm02 who can i to it

    Basis can do a export and import transport, still if don't have connection between boxes.
    or
    check this
    http://www.sap-basis-abap.com/abap/copy-program-variants-from-one-to-another.htm

Maybe you are looking for

  • Deploying a .jsp file in weblogic

    How can we deploy a .jsp file in obiee or weblogic ? Is there anyway we just put the .jsp in some path and then restart the admin and managed server and then use the URL in browser as http://ipaddress:7001/default.jsp or http://ipaddress:9704/default

  • New update problems

    Hello friends, I have a 27" iMac with Snow Leopard 10.6? that has been updated regularly. I have been out of internet range for the past three weeks. Today I turned it on and connected to the internet. System Update said there was an update for the o

  • Restrict Vendors in SRM system

    Hi All, I have replicated vendors from R/3 system to SRM system through BBPGETVD transaction. As per our requirement, while creating shopping cart it should not allow to accept source of supply with certain vendor account group. I there any possibilt

  • Site list update not working with TED and Zenworks for Servers

    Product: Zenworks for Desktops 7Sp1 and Zenworks For Server/TED 7Sp1HP5 Subject: Site list update not working with TED and Zenworks for Servers , all on Linux Description: We have an exiting environment with 6 ZfS Servers and now we brought up a new

  • Substitute for original Airport card

    I have a DVD Special iMac with a dead ethernet port. I had been using it with a USB ethernet adapter. Going through the junk in the closet, I found the Airport adapter card that came with the Airport card for my iBook and the old graphite base statio