‎2008 Mar 17 7:40 PM
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
‎2008 Mar 17 8:49 PM
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.....
‎2008 Mar 17 9:21 PM
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
‎2008 Mar 18 3:52 AM
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.