Skip to Content
avatar image
Former Member

SECATT for assigning roles to users

Hi All,

How do we make the ECATT to work for the below scenario:

Users already have roles assigned to them. We need to add a new roles to the users which can vary in number based on the users job.

A simple ECATT script that was developed to add a single role to a new user does not work in the above case and gives an error of invalid batch input. How do I create a ECATT to assign role to user who already has a set of roles assigned (number of roles assigned to users differ, so I cannot assume to train the ECATT to assign a role on line X). Is there something I am missing while the ECATT script creation?

We are doing this from a CUA and its very difficult to assume how many roles a user could have.

Thanks,

Jay

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 05, 2007 at 06:37 PM

    Did you write the ECATT script to add from tcode SU01 or PFCG ? I found it easier to do it from SU01. Also, after each role added do a save.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Jayaroop,

      You can still use SU10 for the deletion from the CUA master on a user by user basis, though if I recall correctly you will need to enter the start/end dates of the role when you are making the selection in SU10 (it's been a while since I have done that though so it's worth checking.......)