cancel
Showing results for 
Search instead for 
Did you mean: 

authorisation check in custom programs

08-22-2020 8:28 PM
kjyothiraditya Participant
2866 views 5 comments
0 Likes
SAP Managed Tags
Subscribe

hi experts,

what is the best practise to follow auth check for a custom report. Say if we have a auth object Z_PROG with fields PROGRAM ACTVT WERSK BUKRS and so on.. can we give ACTVT = 16 for users in production? What is the best way to apply authorisation check ?

Regards

Aditya

0 Likes

Accepted Solutions (0)

Answers (2)

Answers (2)

hariom_garg
Active Participant

Hi Aditya,

Yes, you can apply authorization check in custom reports also. you can use SU21 to see the object list which you can use in your program or report since Z program/Report is also using some standard object in background.

So first develop report in DEV and QA environment based on authorization check and you can collect what objects will be required for production based on the SU53 output.

for more information you can check below blog as well:-

https://blogs.sap.com/2013/11/02/how-to-put-proper-authority-checks-to-your-custom-programs/

https://answers.sap.com/questions/7056866/no-auth-checks-for-custom-transactions.html

Regards

Hariom

S_Sriram
Active Contributor
0 Likes

Hi Aditya.

Before that with same report you have to check in the Dev & Qas systems with same roles on production system and then assign the same authorization in the production system for business users.

In additional you can add the transaction code SU53, so that in case any missing authorization you may able to find it.

Regards

SS