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: 

Role Creation using CAT Scripts

Former Member
0 Kudos

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

Former Member
0 Kudos

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,

0 Kudos

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 .

0 Kudos

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.

0 Kudos

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

0 Kudos

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.

0 Kudos

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.

0 Kudos

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

0 Kudos

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.

0 Kudos

thank you Auke!

Former Member
0 Kudos

Hi,

you can refer to the below link:

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