Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User Mass Creation

0 Likes
2,072

Dear Gurus,

I am trying to mass create users using ecatt.., I get the following errors when I execute the script:

"variants that Match selection Cannot Be Found"

What am I missing here? Please help!!

Regards,

Michael

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,991

Hi,

Try maintaining the VARIANT values as variant_001,002,003 in the same format as below, in the excel which you have maintained.

[VARIANT] [DESCRIPTION] ZUSERNAME ZLASTNAME ZUSERPWD1 ZUSERPWD2 ZPROFILESCRIPT

variant_001 ztest1 q welcome welcome sap_all #05.10.2011

variant_002 ztest2 w welcome welcome sap_all #05.10.2011

variant_003 ztest3 e welcome welcome sap_all #05.10.2011

Regards,

Malti

Hi,

Try maintaining the VARIANT values as variant_001,002,003 in the same format as below, in the excel which you have maintained.

[VARIANT] [DESCRIPTION] ZUSERNAME ZLASTNAME ZUSERPWD1 ZUSERPWD2 ZPROFILESCRIPT

variant_001 ztest1 q welcome welcome sap_all #05.10.2011

variant_002 ztest2 w welcome welcome sap_all #05.10.2011

variant_003 ztest3 e welcome welcome sap_all #05.10.2011

Regards,

Malti

13 REPLIES 13
Read only

Former Member
0 Likes
1,991

Hi,

Do the parameters in the script match those in your file?

Are you using internal data or pointing to an external file?

Read only

0 Likes
1,991

Hi Alex/Raghu,

Thank you for the responds.

@Alex

Yes the parameters in the script match that of my text file. I am using an external file. When I use external variants I get the "Variants that Match Selection Cannot Be Found" error message. When I use internal variants I get " Control data is obsolete, rerecord (VERBS-NAME: CreateObject CATT: <none> Callno: 000001) and S000344 No batch input data for screen SAPLSPO1 0500.

Did something go wrong in the recording phrase?

@Raghu:

Yes I have double checked the paths.

Please help, have limited knowledge working with catt. Is the alternative method?

Regards,

Michael

Read only

0 Likes
1,991

Hi Michael,

I'm not a guru at eCATTS but the "control error obsolete" is, in my experience, down to a problem with the recording and parameterisation of the variables.

How did you create the variables? Did you manually do it through the dynpro in the command interface or did you use the simulator function (next to the refresh button in the command interface)?

I much prefer using the simulator as it's the fastest way. Sometimes you need to revert to manual but avoid if you can.

Read only

Former Member
0 Likes
1,991

Hi Michael,

Possible issue could be with the variant file location:

Do check the default path from Utilities --> Settings --> eCATT --> External

Ensure to update the Paths for upload/Download to your Windows Desktop (if you are trying to upload the variant file from the location)

This should resolve the issue.

Regards,

Raghu

Read only

Former Member
0 Likes
1,991

Hi Michael

Are you recording SU10 to create users and their individual roles or SU01 and adding say just a base role to get them into SAP please?

I can do the user create using LSMW via SU10 and then pick up their generated password from the log a lot easier via LSMW than CATT scripts to be honest if you have that option instead.

Regards

David

Read only

Former Member
0 Likes
1,992

Hi,

Try maintaining the VARIANT values as variant_001,002,003 in the same format as below, in the excel which you have maintained.

[VARIANT] [DESCRIPTION] ZUSERNAME ZLASTNAME ZUSERPWD1 ZUSERPWD2 ZPROFILESCRIPT

variant_001 ztest1 q welcome welcome sap_all #05.10.2011

variant_002 ztest2 w welcome welcome sap_all #05.10.2011

variant_003 ztest3 e welcome welcome sap_all #05.10.2011

Regards,

Malti

Read only

0 Likes
1,991

Hi Malti,

Thank you for this responds, maintaining the variants value as you suggested solved my problem.

Thank you so much!!

Regards,

Michael

Read only

former_member182098
Active Contributor
0 Likes
1,991

Go with LSMW, which is much simpler.

Read only

0 Likes
1,991

Hi,

I agree with Ravi. I always prefer using LSMW instead of e-catt scripts as it much simpler and reliable.

Thanks

Read only

0 Likes
1,991

Hi,

>

> I agree with Ravi. I always prefer using LSMW instead of e-catt scripts as it much simpler and reliable.

>

> Thanks

My experiences have been the opposite! However what is most important is that the tool of choice is the one that the operator is most comfortable using.

Read only

0 Likes
1,991

I have to agree with Alex on this one

Read only

0 Likes
1,991

Hi

I've tried to understand the ecatt process but it has eluded me for a few years so I fall back on the hated LSMW thing of evil

It works (sometimes too well) but the clunky nature is reassuring....

Depending on the recording the LSMW can accomplish the task aedequately for my needs but it isn't for everyone.

Cheers

David

Edited by: David Berry on Nov 7, 2011 10:22 PM

Read only

shivraj_singh2
Active Participant
0 Likes
1,991

Michael,

eCatt scripts certainly have some advantages over LSMW scripts but these need SCC4 changes before you can use them and that may give you some issues once your want to use your script in PROD. LSMW is not that hard, it is pretty simple, only issue that I can see with both eCatt and LSMW is if you are assigning different # of roles to different users.

I have another advice, please create a Z report to create/change users and assign roles, I saw it at one of my clients which will read data from excel and then the excel format was distributed to business to send request. Perhaps the most error free process I encountered, never have to worry about spacing in input file, data/request comes in ready to use.