Skip to Content

SAP Authorization in Role Using $AUART variable

Experts,

I Need to Authorize User a certain types ou Order,

Creating a Single Role to all user segregating values by variables.

I am using the  V_VBAK_AAT Object. restricting field AUART by Variable $AUART

Do you know the next step to fill $AUART values?

Is pn an exit?

Is on a transaction?

Can anybody guide me to next steps?

Best Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 09, 2015 at 04:31 PM

    Speak to your Basis/Security team. They need to set up the authorization profile via PFCG. Check and we should not have to write code for this.

    Or we can use USEREXIT_READ_DOCUMENT or USEREXIT_MOVE_FIELD_TO_VBAK to write ABAP code to perform the validation using AUTHORITY-CHECK syntax.

    In either way the Authorization profile must be set up.

    R

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 13, 2015 at 05:51 PM

    hello

    Create a role and the object V_VBAK_AAT has activity also, be specific because you are telling that it will be given to all users.


    As you see above the critical actvt is 01,02 & 43 make sure & also Sales doc type you can give standard or customized one.

    So, create a role accordingly & assign to users.

    Hope it was useful.

    Thanks


    Add comment
    10|10000 characters needed characters exceeded