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

Role Creation using CAT Scripts

Former Member
0 Likes
1,326

Hi,

Step by step procedure needed.

I need role creation using scripts(SECATT),org values that needs to maintain

is full authorization.

pls help me.

ram

10 REPLIES 10
Read only

Former Member
0 Likes
1,236

Hi Ram,

There is a SECATT tutorial here: http://www.sapsecurityonline.com/tutorials/secatt_user_create.html

If you learn that & the principles associated with SECATT then you can apply that to creating and populating roles.

In my opinion SCAT is much easier to use, though less flexible,

Read only

0 Likes
1,236

Hi

Problem where i am facing is, in simulation (it doesn't take auth values(ie * full auth). I get this message : WRONG Screen Id for simulator data.

But in SCAT,it used to take.

So SAP needs to solve this problem .

Read only

0 Likes
1,236

in the interim why don't you just use SCAT. If you create a manual test case, you can then convert it to a normal CATT recording once it has been saved.

Read only

0 Likes
1,236

In fact, it seems SCAT is not working anymore ( My version seems to be higher than 6.40. there is perhaps a workaround to it, but I can't find it out).

So I tried the SECATT too, by following the tutorial you gave us above and I get the same issue. If you have any idea, it would be a great help (I have A LOT of role to create).

Thanks

Read only

0 Likes
1,236

That is correct it is not possible to populate Org Fields with CAT scripts, there are some programs to do this. the way it works create derived roles with all org values set to * and later use a program for adding the correct org value in table AGR_1252.

I do not have a copy of such a program, but if you look around it will probably find one.

Read only

0 Likes
1,236

It is possible to add org levels via SCAT and SECATT, just not hugely practical if you have many different org levels or multiple field values. The tool is hugely constrained by it's ability (or lack of) to page down.

There are ways to minimise this activity, but when using SECATT especially the time required to create a script is about the same for creating 50 variants by hand anyway.

Read only

0 Likes
1,236

hello Auke,

could you give us more information on abap program doing role creation?

i'm looking for this but didn't find anything...

best regards

Read only

0 Likes
1,236

The program reads table AGR_1252 based on rolenames uploaded form a spreadsheet.

Then you can adjust the values in the spreadsheet and upload it again with the ABAP into table AGR_1252.

Any good abapper should be able to write this for you.

Read only

0 Likes
1,236

thank you Auke!

Read only

Former Member
0 Likes
1,236

Hi,

you can refer to the below link:

http://sapbasisnotes.blogspot.com/search/label/eCATT