mass change of SAP users’ passwords

Recently we need to change thousands of SAP users’ passwords. Firstly we have checked for a standard way of doing this. If you want to do mass user operations, SU10 is the right way for doing this. With SU10 either you select your user list according to a criteria or you can manually add your user list in table control format(hard to copy all users). You can do many user operations like locking/unlocking users ,initializing passwords, delete users etc. with SU10. Although you can also initialize user’s passwords to SAP generated value, there is no way to set paswords to a default value and prevent it from changing when the user logon for the first time.
In order to implement this solution a custom program was clearly needed. BAPI_USER_CHANGE is suitable for any modification in user master data. BAPI_USER_CHANGE is implemented in a small ABAP program to chahge user passwords in mass, you can adapt this program according to your needs for example read different user/password combinations from an excel file for instance.

 

You may also like

  • create dynamic table (0)
    Field symbols is hard to understand for beginners in ABAP. But when you get used to it , it is very handy and easy to use. You can create an internal table as a dynamic dictionary […]
  • approaches to track user in SAP (0)
    Today i am going to mention about stalking someone in SAP system ,that is which tools you need to use in order to collect tracks of target users. First thing you should know about […]
  • get PI business system of an SAP system (0)
    For certain SAP/XI integrations , other system may need to know SAP/XI business system name of the SAP system.You can use the following function module for this cases.