02-13-2009 1:21 PM
Hi All,
I am trying to create a CATT script to create Users ( SU01 ).
I got stuck when I am giving variable number of roles. I tried by giving the max. no of roles in the record stage. But during the script run, by default CATT is assigning all the roles to all the users, though I gave very less number of roles in the variant spread sheet. I numbered them too.
It is the probelm with the way I recorded? or am I missing something?
I am with ECC 6.0 and using tcode SECATT.
Thanks in advance.
Rgds,
Raj.
02-13-2009 1:25 PM
You should only assign one role at a time. For a user that needs three roles you simply create three variants.
02-13-2009 1:30 PM
i addition to Jurjens answer create 2 scripts, one that creates the users and assigns 1 role like a general user role.
the second script you use to assign the roles to the users. as mentioned by jurjen the import sheet should have one userid and one role on each line, tip assign via PFCG there you can insert a role on top of the list!
02-13-2009 1:31 PM
> tip assign via PFCG there you can insert a role on top of the list!
Nice one! SU10 also provides some flexibility in addition to SU01.
02-13-2009 2:12 PM