Application Development 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: 

CATT script, need help

Former Member
0 Kudos

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.

4 REPLIES 4

jurjen_heeck
Active Contributor
0 Kudos

You should only assign one role at a time. For a user that needs three roles you simply create three variants.

0 Kudos

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!

0 Kudos

> 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.

0 Kudos

Thanks all for the inputs.

Rgds,

Raj.