cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADIs to validate PO Approval in My Inbox App

SAPSupport
Employee
Employee
1,367

Hi Team,

We have a requirement where we need to control certain Substitute users from approving POs when they click on 'Approve' button in My Inbox App. We have explored different options from stopping the Work item from being received by the Substitute to searching for BADIs which trigger on click of 'Approve' button but have not been fruitful in our analysis. Hence, would need some assistance in this requirement. 

We have flexible WF (WS00800238) configured for Purchase Orders in our system. The requirement is to stop specific substitute users from approving a PO (if they happen to be the creator/requestor of the PO). Our approach was to identify BADIs which would trigger on click of 'Approve' in My Inbox app so we can validate as per our requirement and issue an error message to stop the user from successfully approving. Kindly let us know how this can be achieved (without having to extend the My Inbox App to a custom one)?

Thank you.


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Likes

Dear Customer, 

My name is Lisa from the MM-FIO team. I have checked your query and would advise to check the BADI /IWWRK/BADI_WF_BEFORE_UPD_IB. This is called from the My Inbox application and I believe will suit your business need. 

For an example of how this works, please review the following blog:

https://community.sap.com/t5/technology-blogs-by-sap/fiori-my-inbox-step-6-implement-the-badi-for-up...

Kind Regards 
Lisa 
SAP Support

Answers (0)