0% found this document useful (0 votes)
89 views

Creating Mass User Using eCATT (Script) - SAP Community

The document provides steps to create mass users in SAP using the extended Computer Aided Test Tool (eCATT). It describes recording a user creation script in eCATT, creating parameters, and building a test configuration to execute the script against a spreadsheet of user data.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views

Creating Mass User Using eCATT (Script) - SAP Community

The document provides steps to create mass users in SAP using the extended Computer Aided Test Tool (eCATT). It describes recording a user creation script in eCATT, creating parameters, and building a test configuration to execute the script against a spreadsheet of user data.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

Community

SAP Community  Groups  Interest Groups  Application Development  Blog Posts

 Creating mass user using eCATT (script)

Application Development Blog Posts


Learn and share on deeper, cross technology development topics such as integration and connectivity,
automation, cloud extensibility, developing at scale, and security.

All community  What are you looking for today?

Creating mass user using eCATT (script)

sonali_mungad
Discoverer

‎06-24-2016 7:17 AM

 6 Kudos

Summary:
In every SAP Implementation / Installations one of the major activity is User
Administration, which includes user creation, setting initial password, assigning role etc.

For user creation if the user count is too high(say in hundreds/thousands),the traditional
su01/su10 process may require more number of man hours.

The objective of this SOP is creating mass user short time with less administrative efforts.

The extended Computer Aided Test Tool ( Tcode : SECATT ) will help us accomplish our
goal in very short time .

Goto SECATT transaction code:

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 1/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

In our case SECATT is a set of Test Script (Part-A) & Test Configuration(PART-B).

Test Script: A script contains recorded transaction.

Test Configuration: A test configuration is a persistent data object with a set of


references to a test script, although you can execute test scripts alone.

Part A: Recording the user creation

1.Enter the script name(recommended to start with Z to easily identified that it is a user
defined script

2.Click on create icon

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 2/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

3.Person responsible will be back filled automatically with the user who is creating the
script

4.Enter the script Title

5.Select the component

6.Click on save

7.Click pattern button

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 3/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

Here the component BC-SEC-USER-ADM is for: Basis Component-Security-User and


Authorizaton Management

8.When prompted with the Created Object Directory entry dialog box, select Local
object.

9.Click pattern button

10.Select UI control for group

11.Select TCD(Record) for command

12.Enter su01 as Transaction and press enter.The interface will be displayed


automatically as su01_1

13.Click continue check mark

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 4/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

Upon clicking the continue check mark,you will see the User Mentainance(su01)screen.

Follow the steps as you create user ID and click save.

For this step,ensure that you don’t click any options that are not required,since
every click or entry is recorded.Unnecessary clicks/entries may show you more
Fileds.

14.To end recording ,click the back button in su01 screen and click Yes when promted
with below screen.

15.Click save to save the recorded script.

Creating the parameter

Once user creation is recorded,the VALINs(Values that were entered during the
recording)should be changed to parameter values.

The below process will explain you the steps to create the parameter.

1.Double click on the interface(su01_1)

2.Expand DYNPRO mode

3.Expand the set of screen

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 5/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

4.Duble-click on Filed mode

5.Double-click on vaule that was enterd(For example test001(CID))

After double clicking on value you can see a blank area with the VALIN as below:

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 6/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

6.Change the VALIN name(test001 in thi sexample) with a parameter name (to ZCID)

7.Click the back button

8.Select Import when promted with the parameter Maintenance screen.

9.Click Yes

10.Repeat the same step for other values that are entered during recording.

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 7/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

NOTE: While recording the script ,I have entered Username,First Name,Last


Name,Initial password and Repeat Initial password.Hence I have below 5
parameters.

11.Once you are sure that all the parameters are created,click Save button.

Part B: Creating Test Configuration

1.Enter test configuration name

2.Click create icon

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 8/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

3.Enter the description of the test configuration

4.Select the component

5.Click Save

When promted to select the package,use Local object as did in test script creation.

6.Select comfiguration tab

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 9/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

7.Enter the test script name that was created in PART-A

8.Select Utilities, Settings

9.Select eCATT tab, and External tab

10.Change the path for eCATT Objects, Variants and WebDynpro to desktop

11.Download Variants using the “Variants download” button

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 10/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

NOTE:Select Yes for any prompt.

Upadating & Uploading the Variant file

The Variant file ( VAR_ECTC_Z_USER_CREATION as per this example) wil be saved on


desktop.

To modify the variant file,perform the following

1.Open MS EXCEL

2.Click file->open, select the variant file

3.Click next ,next,finish in the Text Import Wizard

4.The file should look like as follows:

Keep the highlighted area intact, which means you should not modify any of these
values.

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 11/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

You can add your own values from row 4.

In the below example I have updated the spreadsheet with 10 user information.

Save the file in the same format.(Since Excel file can’t be read by script)

5.Click Variants tab

6.select the Variant file as shown below

7.Click Execute

Save the configuration when promted.

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 12/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

Once the script is successful,you can see the log as below:

SAP Managed Tags:

Security

4 Comments

joachimrees1
Active Contributor

‎11-29-2016 9:22 AM

 1 Kudo

Hi Sonali,

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 13/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

it seems there is some content missing? It looks like it is only the introduction to the blog,
maybe the interesting part (how to do it!) got lost somehow?

best
Joachim

sonali_mungad
Discoverer

‎01-20-2017 7:24 AM

 1 Kudo

Hi Joachim,

Apologies for late reply.

Don't know how the content was invisible.


I have updated it again

I hop it is visible now.

Regards,
Sonali

oscar_zeng88
Explorer

‎03-10-2021 7:10 AM

 0 Kudos

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 14/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

I did exactly as blog explained, while dump 'BJECTS_OBJREF_NOT_ASSIGNED'


occurred.

oops

former_member830836
Member

‎11-26-2022 5:37 AM

 0 Kudos

Could the parameter Maintenance step more details describled,please? i can do the first
parameter,but don't know how to continue to set up the second;third...

 You must be a registered user to add a comment. If you've already registered,


sign in. Otherwise, register and sign in.

Comment

Labels In This Area


A Dynamic Memory Allocation Tool 1 ABAP 7 abap cds 1 ABAP CDS Views 13

ABAP Cloud 1 ABAP Development 3 ABAP Keyword Documentation 2

ABAP OOABAP 2 ABAP Programming 1 ABAP test cockpit 7 ABAP test cokpit 1

ADT 1 Advanced Event Mesh 1 AEM 1 API and Integration 1 APIs 8

APIs ABAP 1 App Dev and Integration 1 Application Development 1 Automation 2

BTP 1 CAP 1 CAPM 1 Career Development 3

CL_GUI_FRONTEND_SERVICES 1 CL_SALV_TABLE 1 Cloud Extensibility 7

Cloud Native 4 Cloud Platform Integration 1 CloudEvents 2 CMIS 1

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 15/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

Connection 1 container 1 Debugging 2 Developer extensibility 1

Developing at Scale 3 DMS 1 EDA 1 Event Mesh 1 Field Symbols in ABAP 1

Fiori 1 Fiori App Extension 1 Forms & Templates 1 Integration & Connectivity 7

JavaScripts used by Adobe Forms 1 NodeJS 1 ODATA 3 OOABAP 3

Outbound queue 1 Product Updates 1 Programming Models 10 RFC 1

RFFOEDI1 1 SAP BAS 1 SAP Build apps 1 SAP CodeTalk 1 SAP Odata 1

SAP UI5 1 SAP UI5 Custom Library 1 SapMachine 1 security 3 text editor 1

Tools 11 User Experience 4

Popular Blog Posts

Get Started with the ABAP Development Tools for SAP NetWeaver

OlgaDolinskaja
Product and Topic Expert

 171972  12  1440

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 16/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

Become an ABAP in Eclipse Feature Explorer and earn the Explorer Badge

ThFiedler
Product and Topic Expert

 24162  147  366

Six kinds of debugging tips to find the source code where the message is raised

JerryWang
Advisor

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 17/18
4/1/24, 10:00 AM Creating mass user using eCATT (script) - SAP Community

 206992  56  320
Top Kudoed Authors

qmacro  27

lenapadeken  6

PierreCol  2

horst_keller  2

anujawani2426  2

hardyp180  2

Follow
SergioFerrariIt  2

TuncayKaraca
Privacy Terms of Use  1

Copyright Legal Disclosure


Kai_Sicker  1
Trademark Newsletter

tunakaner  1
Support Cookie Preferences

https://community.sap.com/t5/application-development-blog-posts/creating-mass-user-using-ecatt-script/ba-p/13300216 18/18

You might also like