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 error

Former Member
0 Likes
537

Hi Gurus,

I have created a CAT Script using SECAT and Test configuration...I am able to execute with a Vvariant file...

Here whats happening...

Its only creating only one user in the list and that too with out roles...

How to assign multiple roles..I have defined in the variant file like

ZROLE

ROLE1,ROLE2 is there any other format...?

Please let me know

3 REPLIES 3
Read only

Former Member
0 Likes
500

Hi ,

I have figured why only one Id was created coz...i wasnt maintaining Idex values...I have ran the script now it has created all the user ids..but where ever i have mantioned the Multiple roles as Role1,Role2 ..but no roles assigned to the user ...

I have deleted all the users and tried to execute the Test COnfig once again...with ROLEs format like ROL1 ROl2

I am getting this error..

Control data is obsolete, rerecord (VERBS-NAME: CreateObject CATT: <none> Callno: 000001)

Please let me know.....

Read only

uwe_schieferstein
Active Contributor
0 Likes
500

Hello Guru

I assume you have recorded a transaction (SU01) to assign roles to a user. My experience with eCATT is that sometimes for unknown reasons dynpro data are no longer recognized by the scripts.

Therefore, I would suggest to assign roles to users using BAPI_USER_ACTGROUPS_ASSIGN.

Please note that this BAPI works using a "Delta" mechanism. If a user has already two roles assigned and you want to add a third role you have to read the assigned roles first (using BAPI_USER_GET_DETAIL ) and provide all three role assignments for BAPI_USER_ACTGROUPS_ASSIGN. If you just provide the third role the other roles will be unassigned.

Regards

Uwe

Read only

Former Member
0 Likes
500

Hi,

Please check in your input flat file.whether the corresponding screen field (VERBS-NAME) value is there or not.if it is not there you have to give.if it is there pls check the value is correct or not.