cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Authorization in Role Using $AUART variable

paulo_gorenstein
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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