2022 Nov 08 6:23 AM
how to define authorization check in module pool, whether to write authorization check in pbi or pbo,kindly please me solution
2022 Nov 08 6:45 AM
You have 1 statement AUTHORITY-CHECK
This statement will return SY-SUBRC <> 0 if the corresponding Object with Field & Value is not assigned to the user.
After this, this is your job to put at the right place this control, it will depend of the control you made (sales org, company code, action on button, ...). So there is no simple answer to your question
2022 Nov 08 8:05 AM
it's PAI, not PBI. I think your question is more about what is the principle of PAI and PBO, because if you know that would answer your question:
pbo pai site:sap.com
You'll get the "solution" of authorization check by searching them in the Web, there are lots of them...
authorization check site:sap.com