on 04-05-2011 11:41 AM
Hi,
We have implemented BADI, BBP_AUTHORITY_CHECK to perform additional checks while performing some actions on PO. It is working fine.
But the issue is, whenever we are trying to approve a PO, this implementation is triggered and an error message is returned due to authorization issue. Is there any way to restrict processing of this implementation when called from Approval option of Work Item tab? I mean I do not want to perform the additional checks when we are approving a PO and I want these to be triggered only when called from PO creation or change.
Thanks for your inputs.
Regards,
Phani
We have used the BAdI, BBP_WF_LIST to filter the PO's that the user is not authorized to perform any action
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One option is to check some system parameters in your BADI implementation, such as sy-ucomm, sy-tcode, etc to go through or by-pass your authority check logics. But be aware that sy-ucomm and sy-tcode checks are only valid pre-SRM7.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.