Skip to Content
avatar image
Former Member

To update user data

Hi All,

I am facing a new issue to update some information in user data for all the users.

This is a big task as the users are in thousands.

Is there any bapi or nything like which I should trigger only once and it would update the user with required data.

I know I can try with SECATT,but I dont know exactly,how to do that?

Please tell me exact solution.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 25, 2009 at 02:16 PM

    > I am facing a new issue to update some information in user data for all the users.

    It also depends which information you need to update.

    Add comment
    10|10000 characters needed characters exceeded

    • Licence data may be changed in SU10 but for only some licence types.

      When we copy our Prod system back to refresh our QA system, I have to change all of the user licences to Multi-Client/System type. This licence type requires you to define the chargeable system, client and user name. You cannot do this in SU10, nor as a mass change in USMM.

      I use LSMW for this type of change. Record the changing of one user. you will reocrd a lot of data field but will only need to maintain some of them when you do your data upload. Iin my case we load data to:

      USR02-BNAME the userid you wish to update

      US930-USERTYP the licence type (we use 11 for multi client)

      US930-SYSID the production (or primary access) system ID

      US930-MANDT2 the production (or primary access) cleitn

      US930-ANAME the userid again (ie the one that holds the main licence in the prod/primary system)

      I maintain the upload data in .txt fiel in XL and can upload records by the hundreds. In my case the first and last data field contain the same value (UserID) so this makes it even easier.

  • Apr 03, 2009 at 06:57 AM

    >

    > Is there any bapi or nything like which I should trigger only once and it would update the user with required data.

    BAPI_USER_CHANGE is what you are asking for.

    I also recommend NOT to use SECATT in production since it primarily is a TEST tool.

    For massuploads use either the designated SAP transaction, in this case SU10. Or use the LSMW.

    You can wrap the BAPI with an excel list as input. Or you can even launch a Batch Input Session to update the designated data.

    Finally, at my former employer I wrote a small ABAP which connected to the corporate LDAP and retrieved the data and performed a BAPI_USER_CHANGE with the correct data.

    This solution will take a good ABAPer 1 hour or two to create.

    How to configure LDAG you can find here:

    http://help.sap.com/erp2005_ehp_04/helpdata/EN/e6/0bfa3823e5d841e10000000a11402f/frameset.htm

    Good luck!

    /fredrik

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Fredrik raises a good point => Why are you having to update this data and will you need to do it again in future.

      It might make sense to use a reliable data source to obtain this information from automatically and on a continious basis.

      Cheers,

      Julius