Create Mass users using eCATT Scripts

This article will explain you the detailed steps to use eCATT scripts for mass user creation. I’ve shown the example with 10 users. However, the same process can be implemented for creating more number of users too. Also, I’ve just made 1 role assignment with this example. If you wish to assign more roles, you can do the same.

But please note, if you assign 2 roles while creating the script, and assign only 1 role for the mass users, it considers the 2nd role as the default role and also assigns it. It is always recommended to create the script with 1 role assignment and create another script to assign roles.


Author - Raghu Boddu

Raghu is a SAP Security specialist with expertise in SAP Governance, Risk Management, Compliance and SAP Forensic Security. He is a regular blogger of topics like Security, Governance & Compliance, Application Security, Technology and other trending topics.

VN:F [1.9.22_1171]
Rating: 9.0/10 (34 votes cast)
Create Mass users using eCATT Scripts, 9.0 out of 10 based on 34 ratings

Share This Post

Related Articles

15 Responses to “Create Mass users using eCATT Scripts”

  1. Melvin says:

    Very neatly presented. Thanks for the PDF.

  2. Michael says:

    Very good document!!! Thank you!! I have a question if you can help please. When running the script I get the following error message: “Variants that Match Selection Cannot be found”
    How to I define this or where to I define the variants for this script to work?

    Thank you in advance.

  3. somesh says:

    hi Raghu,

    This is Somesh.K.I want How to create 600 users at a time in Solution Manger.Please help yar give me u r number i call o u….

    Thanks & Regards,

    • Raghu Boddu Raghu Boddu says:

      Hi Somesh,

      I’ve added 2 articles – Using eCATT scripts, and using SAP GUI Scripting. You may choose any of the options. I’m sorry. I don’t provide paid support at this moment.


  4. gitam says:

    im unable to download the docs, can anyone send it to (Mail ID removed by Moderator)

  5. Shweta says:

    I want to create 200 service users. But you script is for dialog users, will it work for service users as well?

    • Raghu Boddu Raghu Boddu says:

      Hi Shweta,

      The script works for any type of users. While recording the transaction code, select Service user and you need to follow the same steps. (No need to make any changes for the user type further while modifying the script).


  6. Mangesh says:

    Hi Raghu,

    Gr8 one! Thanks for sharing! 🙂


    • Raghu Boddu Raghu Boddu says:

      Dont mention. Happy to help 🙂

      • Aditi Sinha says:

        Hi Raghu,

        I am trying to create an ecatt script for re-reading menu for composite roles.

        I am following exactly the same process as described in this document.

        I am maintaining only one parameter that is composite role name (input data)

        When I am executing the script, I get the log that the composite roles were read from the variant file, but when Ia m checking in PFCG, menus are not read.

        What could be wrong.

  7. Kritika says:

    Check our newly released solution xPedite that can perform all these activities with a single click. xPedite can:

    – Automatically maintain SU24 check proposals
    – Create Single, Master, Derived, and Composite roles.
    – Manage Users in mass (locking/unlocking, role assignment, role deletion, User creation etc.,)
    – Maintain roles
    – Clone roles etc.,

    To know more – visit


Leave a Reply

© 2021 SAP Security Expert. All rights reserved. · Entries RSS · Comments RSS
Managed by 7n Domains