10-26-2011 1:53 PM
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
10-31-2011 9:50 AM
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
10-26-2011 2:37 PM
Hi,
Do the parameters in the script match those in your file?
Are you using internal data or pointing to an external file?
10-27-2011 3:06 PM
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
10-27-2011 8:22 PM
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.
10-27-2011 12:37 PM
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
10-28-2011 7:10 PM
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
10-31-2011 9:50 AM
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
11-08-2011 7:44 AM
Hi Malti,
Thank you for this responds, maintaining the variants value as you suggested solved my problem.
Thank you so much!!
Regards,
Michael
11-01-2011 4:34 PM
11-03-2011 3:32 PM
Hi,
I agree with Ravi. I always prefer using LSMW instead of e-catt scripts as it much simpler and reliable.
Thanks
11-03-2011 4:30 PM
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.
11-03-2011 4:40 PM
11-07-2011 10:22 PM
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
11-07-2011 7:40 PM
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.