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

CATT script, need help

Former Member
0 Likes
626

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
Read only

jurjen_heeck
Active Contributor
0 Likes
598

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

Read only

0 Likes
598

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!

Read only

0 Likes
598

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

Read only

0 Likes
598

Thanks all for the inputs.

Rgds,

Raj.