RFC for User Lock and Unlock for child systems in CUA

Dear All,
Can anyone tell me, how to lock or unlock a user in child systems from CUA using a BAPI or RFC.
As per the requirement I can not use TCode SU01 for this purpose. I can only use RFC/BAPI for the same.
Thanks
Om
Edited by: Om Somesh on Apr 13, 2009 3:57 PM

Hi OM,
One way could be to use RFC_READ_TABLE in order to look at USR02.
The second method is by using SCUM transaction code
Regards
Krishna

Similar Messages

  • User lock and Unlock from CUA

    Hello All,
    I have a scenario where locking and unlocking a user in a specific child system has to be done through CUA. The TCode SCUM allows to do that. However, I'm looking for the underlying BAPIs corresponding to this TCode, so that my external application can directly invoke that.
    Any pointers will be highly appreciated.
    Best regards,
    Bala

    Are you wanting to lock selectively (only in some child systems and not others)?
    What is the reason for not using SCUM?
    The BAPI is like a gun, where you enter only the user ID as the bullet (a silver one with the user's name on it).
    You then aim the gun at a target (in the destination parameter of the FM).
    When you pull the trigger, the user is locked in the target.
    The caliber of the gun depends on the authorizations of the user in the destination server connection.
    Whether or not you hit the user, will depend on how good a marksman you are on the client server.
    Cheers,
    Julius
    Edited by: Julius Bussche on Apr 2, 2009 1:02 PM

  • CUA: Distribute users from central to specified child systems

    Hello!
    I've a question concerning CUA: I've added two new systems to our CUA. Now I want to destribute the users of the central-system to the new child-systems accompanied by assigning a specifed role for the child-systems. Unfortunately, the user maintanance - mass changes (SU10) does not support assigning the child-systems to users.
    Is there any other possibility (perhaps a report) to automatically distribute the users or is it necessary to access each user manually and assign the child-systems and roles.
    Any hint would be appreciated!
    Thanks in advance!
    Greetings
    Wolfgang

    Sorry, I was convinced that mass changes don't work for systems - but they do! Next time I'm going to check possibilities in more detail!
    Greetings
    Wolfgang

  • Statement for Lock and Unlock an Oracle user (Urgent)

    Hi DBAs.
    I just want to know about the statement used for lock and unlock the Oracle user thru sysdba suer.
    Thanks
    Hassan

    Hey,
    SQL> alter user <USERNAME> account lock;
    and
    SQL> alter user <USERNAME> account unlock;
    Cheers,
    Marcello M.
    Sorry Justin, same answer........
    Message was edited by:
    Marcello M.

  • File Lock - How to lock and unlock a file ? Can we do that for an FTP File?

    Hi All,
    I like to retrieve a file from the FTP server using Apache Commons Net libraries.
    for example if the file size is 20MB. When the file is in the progress of copying or transferring from the FTP server i need to lock the local file which is in our local directory so that no other process will use the same local file which is in the process of copying otherwise partially copied files will be used by another process.
    the file should be locked when it was in the progress of copying from the server. I have an automatic process which will access file objects at certain time and try to process the files.
    I like to know the simplest and easiest way to lock and unlock a file object locally which is trying to copy a file from the FTP server which is of huge size.
    And also i like to know how to lock and unlock a file in general?
    Thanks,
    J.Kathir

    we can set it read only only when it complete finishing the writing.
    can we able to make the file as read-only while transferring data to file.
    How to achieve it ? pls give me some sample code

  • Keyboard lock and unlock for 8330

    I need a way to lock and unlock the keyboard.  I have searched a number of websites for an answer to my dilema and it seems several methods are mentioned but none work for me.  I need to lock the keyboard when phone is in my pocket.  Many thanks to anyone who can help.

    Well, according to your device manual, this is the procedure:
    Lock the keyboard
    If you do not set a BlackBerry® device password, you can lock your keyboard to avoid making calls and pressing keys accidentally.
    On the Home screen or in the application list, click Keyboard Lock.
    To unlock the keyboard, press the asterisk (*) key and the Send key.
    You can look further into your manual here:
    http://www.blackberry.com/btsc/microsites/search.do?cmd=displayKC&docType=kc&externalId=http--docsbl...
    Good luck.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Locking and unlocking mass users

    Hello
    How can we lock and unlock mass users?
    Edited by: Mohammed Siddiqui on Jul 16, 2008 2:37 PM

    Hi Siddique,
    Follow the below link
    Re: locking users while implementing support packs
    Regards
    Zam

  • Restrict SU01 to only lock and unlock user passwords

    how  to  restrict SU01 to only lock and unlock user passwords,(should not have acces to create users) What is the auth.obj I need to change ? please suggest.
    Thanks
    sr
    Message was edited by:
            sunny raj

    Restrict authorization object S_USER_GRP to activity '05'
    Cheers,
    Ben

  • Hi how to handel the lock and unlock the table

    Hi,
    i am having the one scenario like,for lock and unlock the table i used the function modules ENQUEUE_E_TABLE and  DEQUEUE_E_TABLE but it allowing the edit the first user and suppose to try the editing the second user it is giving the error message it correct but again the second user press any button it is leaving the program it should not happened please help me that.
    regards,
    Hari.

    Hi,
    i assume it's in table JEST
    so select:
      SELECT        * FROM  JEST
               WHERE  OBJNR  =  aufk-OBJNR
                AND   STAT   IN S_STATI
    Andreas

  • Capability or admingroup to lock and unlock views

    Hi all,
    I am trying to lock and unlock users via
    lockObject(com.waveset.object.Type.USER, user, map); on a lighthouse session object and unlockObject((Object) com.waveset.object.Type.USER, user, map); on a session object
    but I get the error:
    WavesetException : com.waveset.util.WSAuthorizationException: View access denied to Subject AGROUPE1 on User: UTEST1.I tried to create an admingroup with this permission
      <Permissions>
        <Permission type='User' rights='View'/>
      </Permissions>But it didn't change the error.
    Any idea so that it could work ?

    You Can disable that functionality by disabling "Action Keys Mode" in the BIOS...
    Here is the document, that will help you with it... http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02035108&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US
    Although I am an HP employee, I am speaking for myself and not for HP.
    Make it easier for other people to find solutions, by marking my answer with 'Accept as Solution', if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"

  • Is it possible to lock and unlock a transaction?

    Hi SDN,
    Is it possible to lock and unlock a standard transaction( for eg VA02 ) through my program?( i am creating a customized version of standard transaction ) I want to lock the transaction for my user-id and then i will update the values in that transaction and finally i will unlock it.
    I got the FM for locking at the database level.is there is any FM to lock and unlock the transaction?

    Hi,
    It may not be the best way, but maybe you could use the functionality behind transaction code SM01. Here you can lock/unlock the transaction code. If you look at the program, all it is really doing is updating table TSTC field CINFO. CINFO = 80 when unlocked, CINFO = A0 when locked. You could just update the field accordingly and then call this function module right after.
    * For locking
    CALL FUNCTION 'RSAU_WRITE_SM01_LOG'
      EXPORTING
        TCODE = TSTC-TCODE
        LOCK = 'X'.
    * For unlocking
    CALL FUNCTION 'RSAU_WRITE_SM01_LOG'
      EXPORTING
        TCODE = TSTC-TCODE
        UNLOCK = 'X'.
    Regards,
    Ferry Lianto

  • FM to Lock and Unlock the Tcode CJ02

    Hi,
    I want to lock and unlock the Tcode CJ02, my code is as below.When I am executing the Report, I am able to create the Settlement Rule in first Row but I am getting an Error Mesage saying " Subproject 4-0123-02-01-01-10-01 is currently processed by USER" though there is no other session open under the user name when trying to create settlement rule in second row in the loop. Wbs element that ima using for creation of settlement rules is "4-0123-02-01-01-10-01".
    loop at it_src into wa_src.
    Lock the Tcode 'CJ02'.
    Perform BDC Recording to Create Settlement Rule.
    Unlock the Tcode 'CJ02'.
    endloop.
    Regards,
    Deepthi.

    Hi, you can block the Subproject with Lock Object, you can create this under SE11
    after you have created this, use these FM for Enqueue/Dequeue,
      call function 'ENQUEUE_EZ_ODAPROF_PO'
           exporting
                mode_ztma_odaprof_po = 'E'
                mandt                = sy-mandt
                ebeln                = cod_oda
                ebelp                = cod_pos
           exceptions
                foreign_lock         = 1
                system_failure       = 2
                others               = 3.
      call function 'DEQUEUE_EZ_ODAPROF_PO'
       exporting
         mode_ztma_odaprof_po       = 'E'
         mandt                      = sy-mandt
         ebeln                      = cod_oda
         ebelp                      = cod_pos

  • Lock and Unlock a table:AFVU

    Hi Folks.
    I want to modify a standard table (AFVU )  with new user dates from User.For this,First I need to lock and unlock the table.
    When I am trying for the standard table lock object (EAFVU) ,it was not there in the system.
    Is there any way to find out the lock object for a particular table?
    How to proceed for this?
    Any Pointers are much helpful.

    Hi,
    Go to SE11 and display your table - do a where used list and select lock objects.
    I really hope when you say you are modifying a standard table you are only updating custom appends on that table, and not directly updating standard SAP fields...
    Gareth.

  • Lock and unlock sharing DAQ PCI-6036E

    Is there an example for lock and unlock a DAQ resource (PCI-6036e)? I'd like to protect it from different threads.

    Well, I have LabVIEW 6.1 and TestStand 2.01f
    Does NI-DAQmx come with LV7?
    My application has one serial port,one PCI-6036E connecting to one SCXI with 16 thermocouple and 10 force sensors.
    motor controller pc board (MC)
    PC with TestStand and LabVIEW (master)
    | |
    RS485 COM1 PCI-6036E
    | | | | SCXI CHASSIS
    slave MC1 MC2 MC3 MC4 TEMPERATURE SCXI-1102
    | | | | | | | | Strain gauge SCXI-1520
    Stepper 1-3
    Brushless
    The PC is the master,
    MC1 2,3,4 are slave motor controller, they don't initiate communication but they take a command and execute it and they can return mo
    tor status encoder position.
    MC1 can controll four motors, serial command has MC1 address and individual motor sub-address.
    The four motors connect to MC1 are stepper and small.
    The motors connect to MC2 are brushless type
    The two motors connect to MC3 are stepper and medium size. Different manufacturers, but they all have encoder feedback and take about 4 - 15 seconds to move to commanded position.
    Strain gauges for measuring the force of the linear motors. Most motors have one strain gauge, but three motors have two strain gauges. (Fwd 1 inch with 8psi to a cork screw, once finding the corkscrew resistance, punch thru it with 50 psi and 1/2 inch)
    The test is life analysis and motor force.
    The test cycles the motors continuously and collecting data (encoder, temperature, force, cycles)
    What are the ways for doing the test?
    How should the graphical User interface be? this is the thing that the project managers care about. Only three seconds to impress them.

  • Locking and Unlocking an Object

    Hi all,
    I have a requirement of chaging the characteristics of the Equipment but when i use the BAPI BAPI_OBJCL_CHANGE by passing the Equipment number and the required values i get a return message saying that the equipment is locked by User WF-BACTH but when i open the same equipment using the IE02 i do not see any locks........
    i want to know the funstion modules which can be used to put a lock and unlock an Equipment...........
    Regards,
    Ravi G

    hI
    Enqueue and Dequeue using BAPI can be used to lock an object.
    For example :
    If we need to lock and employee number to be edited only by the person who set the lock, we can use a BAPI.
    Do read the documentation of 'BAPI_EMPLOYEE_ENQUEUE'. It will give you a better idea of how to implement Enqueue for a BAPI.
    Refer the link -
    Re: Enqueue and Dequeue consept----Please explain urgent

Maybe you are looking for

  • Problem to retrieve a Quantity Total using PLD in a Sales Order

    Hi, I'm working with PLD, and I'm managing a Sales Order. I have three line, the first one is a Bill Of Material with two 'sons', and the other two are their sons. I have 1 qty for all the lines, and when I print the preview with PLD, the sum of the

  • LR4.1 - Tone Curve - how to adjust individual RGB channels?

    Hi, I am having trouble figuring out how to adjust the curve of individual RGB channels.  I am assuming the LR4 Tone Curve works like the PS Curves dialog with the channel dropdown. The LR4.1 Help says: To make adjustments to individual points on the

  • Sales to customer, customer consignment at company's plant

    Dear expert, I have a problem, Please give me your advise. In my process, I sale goods to customer, but they consignment at my plant and want to pick in many time. so, when I sell to customer, I delivery (VL01N) all the quantity and receipt into non-

  • My HD on a shared network is not showing up

    I am having a sharing problem on my mac pro 2010 8 core edition machine. I currently have 4 drives in each bay. Currently I can see all of the drives in the finder on the local machine. My problem is occuring on my shared computers that I have connec

  • My local folders appear above my accounts in LH pane; they used to be below the accounts?

    When I first installed TB a few days ago, the LH was ordered top to bottom as Account 1, Account 2, Local Folders. Now it is Local Folders at the top. I have been using the 'Manual Sort Folders' add-on to sort WITHIN accounts and Local Folders, but a