Lock user locally in CUA

Hi,
  I want to lock user locally in CUA system .
  If I use bapi BAPI_LOCK_USER it locks the user globally .
  I need one function module or BAPI which locks the users locally in the client not considering the CUA .
  Which FM/ BAPi can be used ? Pls advice .
Thanks,
Suman

Hi,
  I used FM SUSR_BAPI_USER_LOCK with LOCK_LOCAL = 'X'  and LOCK_GLOBAL=' ' . The new problem I am facing is it locally locks the user in CUA source system but unlocks the user in all target systems .
  Please advice how to solve this .
Thanks,
Suman

Similar Messages

  • Users created in CUA does not distribute to child systems

    Hi
    I searched this forum and after pulling my hair for 2 days I am asking this question. I created a user in CUA and gave him child system access with the necessary roles.
    I was under the impression that the user will get replicated / distributed automaticlaly to the child systems which i selected at the time of user creation in CUA
    But it does not happen. I login the child system and search for the user. It says User does not exist. I saw SCUL in CUA and the log shows a grey icon next to the username and when I place my cursor on the icon, the tect comes " Distribution unconfirmed"
    What am I missing? Everything looks ok to me
    Why is the user or users not geting replicated or distributed to the child systems with the necessary roles / profiles?

    >
    Jackofalltrades wrote:
    > 2. Also the communication user from Client to CUA is getting locked very frequently. When I do a text comparison from CUA, it always pops the username and password login screen and then I have to enter it and the text comparison happens. I don't know what that happens
    >
    > Any ideas for point 1 and 2 ?
    Hi,
    that is an indication, that the RFC-connection is not defined properly. As soon it does not work, you will get the login screen (on the login screen the default client (503) is filled automatically, but that has nothing to do with the problem you have).
    First check the password of the RFC-user you use. Simply change this user to type 'dialog' and try to log on with the password you know. If that works, reenter this password in SM59. Perform the authorization test in SM59 afterwards. Mind possible upper/lowercase problems with the password depending on the releases your systems are.
    You can also try to perform a remote login through sm59 to make sure, tath you can log on with that RFC-user (as long he is of type dailog this will work). If the rfc-user gets locked frequently, then something is wrong with the rfc configuration. In most cases the entered password is simply wrong.
    Check this first!
    b.rgds, Bernhard

  • Any RFC's/BAPI's to find out locked users

    Any RFC's/BAPI's to find out List of locked users?
    Not the single User.
    Regards
    Vijaya
    Edited by: vijaya durga on Apr 28, 2009 10:33 AM

    Hi Vijaya,
    By using the function module you can come to know the table is locked or not locked..
    RSPO_GET_LOCK_STATUS
    'BAPI_USER_LOCK'         "to lock user...
    or
    *         Getting the Lock Status of User
              CALL FUNCTION 'SUSR_USER_LOCKSTATE_GET'
                EXPORTING
                  USER_NAME = username "User name want to know the status
                IMPORTING
                  LOCKSTATE = W_LOCKSTATE.
              IF SY-SUBRC <> 0.
              ENDIF.
    *         Unlock the user
              IF W_LOCKSTATE-LOCAL_LOCK = 'L'.
                W_USERNAME = USR_BLKSD_TABL-BNAME.
                CALL FUNCTION 'BAPI_USER_UNLOCK'
                  EXPORTING
                    USERNAME = username "User name want to unlock
                  TABLES
                    RETURN   = T_RETURN.
              ENDIF.
            ENDIF.
    all the user lock status is stored in table USR02-with field BNAME "user name
                                                                                    UFLAG   "Lock status.
    and below are the lock details why user is blocked
    0     Not Locked
    32     Locked Globally By Administrator
    64     Locked Locally By Administrator
    128     Locked Due To Incorrect Logons (Limited Term)
    Regards,
    Prabhudas

  • Lock User when enter password in wrong 3 times

    Hi,
    I user oracle E-Business Suite 11i .
    I want to Lock User(Disable Account) when enter password in wrong 3 times.
    Thanx
    Rafeek
    Edited by: reemax on Apr 20, 2010 4:19 AM

    Hi,
    you can set the profile value FAILED_LOGIN_ATTEMPETS to 3 to restrict that wrong password entry as folows
    sql>ALTER PROFILE default LIMIT failed_login_attempts 3;
    --Rathina                                                                                                                                                                                                                                                                                                                                                                                           

  • Background job for auto lock user

    Dear Friends,
    Which background job i have to be schedule for auto locking user after every 30 days if then are not logged for last 30 days.
    Thanks,
    Regards,
    Sachin

    Hi, Sachin.
    Please check this thread.
    Locking users if they did not login for 15 days
    Best Regards.
    Sejoon

  • How to find list of locked users & unlock them?

    Hello,
    Is there any method in portal to find the list of locked users? and unlock them.
    we can unlock single user at a time. 
    but if we want to unlock a group of users (for Ex:- 20 locked users), how can we unlock al the 20 locked users?
    Thanks in advance,
    Vila.

    Hi Vila,
    Go to user administration -> Identity management
    Click on advanced search. Go to account information tab. Check the use account locked field and then click on search. This will give you a list of all the users whose accounts are locked.
    Select all the users whose accounts you want to unlock, and then click unlock.
    Regards,
    Ankit

  • How i can find user locale/language from his/her request header ?

    Hi
    thank you for reading my post
    what is request header field that shows user agent language/locale ?
    is there any http header value that shows user locale/language ?
    if yes , how i can extract it ?
    thanks

    Certainly there is.
    http://www.w3.org/Protocols/HTTP/HTRQ_Headers.html#z12
    The header is "accept-language"
    You can get it via
    request.getHeader("accept-language");
    You can use request.getHeaderNames() to give you an enumeration of all the headers sent by the browser, so you can see them and the values.
    Here is an extract from a test page I use every once in a while that prints out useful information. This bit prints out request headers (using JSTL)
    You can just drop it into a jsp page (don't forget to import the JSTL tag library) and it will show you all the request headers.
    <h3>Headers </h3>
    <table>
    <c:forEach var="h" items="${header}">
      <tr><td><c:out value="${h.key}"/></td><td><c:out value="${h.value}"/></td></tr>
    </c:forEach>
    </table>Cheers,
    evnafets

  • Report/FM/RFC that gives a list of Locked users

    Is there a Report/FM/RFC/BAPI that gives a list of Locked users please?

    Hi Hruser,
    There are two options two get the locked users.
    1. Execute TCode SA38 and run the ABAP Report RSUSR200.
    2. Execute Tcode EWZ5.
    Thanks
    Lokendra Kumar

  • News Publication depending on User Locale

    I need to show news in different languages depending on the user locale/personalization settings.
    Secondly I need to publish the same news to external internet site depending on the user locale.
    Any quick suggestion on how to go ahead.

    Hi Gulshan,
    You wrote that you “created a single XML form which captures different languages”.
    Did you just put the labels in the xml form in several languages or did you really implement some kind of internationalization? Cause I did a lot of research on internationalization of KM XML Forms and didn’t find a word.
    Hope you or anybody else can help me out. Thanks a lot!
    Cheers,
    Timo
    EDIT: Just found it... http://help.sap.com/saphelp_nw70/helpdata/en/fb/c10f41dd57f623e10000000a155106/content.htm
    Edited by: Timo Mattner on Jan 16, 2008 12:23 PM

  • While Filling-up setup tables how to lock users & Suspend user

    Hi Friends & Experts,
    I am going to Run Set-up tables in my BI Production servers as Application wise for example..SD, MM, PP, QM, & Invetary.
    So I want to tell to client kindly lock users & suspend users  to stop document postings.
    How to tell this to clients this situation. pls do suggest on this.
    Siri

    Hi Friends thank you for your quick response...
    Is there any Particular T.Codes as Application wise..E.g: PP, MM, SD, QM. Inventary.. to Lock instead of Lock SM01.
    Because if we lock SM01 All T.codes are going to Lock. I think It's not advisable.
    Pls Suggest me as soon as possible.
    Siri

  • How to find the Locked User Account in OBIEE Admin Console

    We have recently implemented OBIEE and we are in Learning mode. An user complained that his user account is locked, since he tried to login several times with wrong password. Apparently we unlocked his account successfully. Is there any way to find which user accounts are locked? This may be really helpful for
    Thanks in advance.

    Looks like using wlst code can get the list
    Check this
    http://weblogic-wonders.com/weblogic/2010/11/12/userlockout-feature-of-weblogic-server/
    If you customize above code with the below, can get the list of locked users on console
    ul= connection.invoke(ulr, "isLockedOut", new Object[] { username },new String[] { "java.lang.String" }).toString();
    System.out.println("Rezultat isUserLocked " + ul);
    pls mark correct/helpful if helps
    Edited by: veeravalli on Oct 18, 2012 11:51 AM

  • How do I view a list of locked users?

    Is there a way to view a list of currently locked users? I only see pages to show the count of locked users or to unlock a specific user.

    I've found a way through Terminal for AFP and Mail:
    https://discussions.apple.com/message/16155552#16155552

  • No Access Error with Locked User iView

    Hi
    We are running EP6SP2 Patch 35
    I’m trying to give access to the Locked User iView to a group of users (I don’t want them to have full User Management functionality)
    I’ve created a role and added Locked User iView to it.  The role has the same property values as the standard User Admin role (eg UME Action ID: UME.Manage_All = Yes), but when I try to access the Locked User iView I get:
    No Access
    You have no permission to perform this action.
    Can anybody advise what else I need to do to get this to work?
    Thanks.

    Hi Mike,
    just to make sure: did you restart the server after assigning the UME Action to the role???
    Unfortunately, this has to be done in order for your changes to take effect.
    Best regards,
    Robert

  • Locking user

    Hi,
    i need to lock users. One method is to directly access USR02, but i'm not so pleased with that.
    Looking for function modules i found BAPI_USER_LOCK. This is not sufficient, i need to set the validity date (GLTGB) in addition. BAPI_USER_CHANGE does not offer to change the validity date.
    Is there any other FM to lock the user and set the field GLTGB to a specified date?

    Hi Rainer,
    please have a look at report IAM_API_TESTFRAME.
    Inline documentation says
    *& Report serves as frame for calling the
    *& Identity & Access Management API in ABAP.
    *& For documentation purposes, but covers main functionality
    I did not use or analyze further but I think it could be helpful especially as it may maintain remote systems
    Regards,
    Clemens

  • How to create automatically users&roles in CUA and in chlid systems?

    Hi,
    i have a CUA on a 2 chlid R/3 systems (test and training) and 2 portal systems (test and training).
    i need to create a web application to create automatically users test and users training in CUA and see them in the R/3 chlid systems and at the same time to create autmatically a roles in CUA and R/3 chlid systems for those users (we sppose that the role is already stored in a table).
    are there any standard BAPI or Funcion modules that can do this job?
    is the role created automatically in CUA can be seen automaticall in the portal child system?
    any help?
    Thanks&Best regards

    You can use one of the various ways Java EE provides you, e.g. container managed authentication.
    It's also all in the Java EE tutorial: [http://java.sun.com/javaee/5/docs/tutorial/doc/bncas.html].
    You can configure it in the application server as well: [http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html].
    Here is an example how to use it in JSF: [http://ocpsoft.com/java/acegi-spring-security-jsf-login-page/].

Maybe you are looking for

  • Asset Down payment reconcilation account -error

    Hi, My client requirement is Asset Down payment.For this i am giving Special GL account 120150 in AO90 transaction. Is is giving error.the above spl gl account was maintained in OBYR.The same why it is not accepting in AO90. Account 120150 not yet de

  • Clear customer

    Hi All, I went to transaction F-32 to clear customer and gave customer number and some other selections and pressed process open items. I did this for 4 customers, they have upto 30,000 open items, for one customer the scroll bar is not there and I c

  • Normal Operating Temp. for MBP running windows

    Hi, Does anybody know what the normal operating temperature for a mbp 2.5, running xp professional is? The load is just normal office stuff, eclipse, tomcat, explorer.. I've installed speedfan to monitor the temp, it normally stays around 61 C This s

  • Download(xls) file fm ABAP using background job

    Hi, My request is how to download(xls) file fm ABAP using background job. ( Daily 3 times download ) Pls advise...

  • Very Upset!!!! Want update MY iMovie and can't open the pervious verion

    I am very upset because I was forced to run the updat after I updated my system. Now I can't even open iMovie and finish my music Video. I am completely lost and don't know how to solve my problem