on 11-20-2011 11:26 PM
The Badi BBP_ECS_PO_OUT_BADI fires both when the PO is approved or rejected by approver. I need to add some logic on the PO process, in this BADi provided the PO is approved - is there any way to identify in the BADi that the PO was either approved or rejected by the corresponding approver.
I have checked the IT_STATUS table also - however, the status gets updated in the CRM_JEST table after the control comes out of the BADi logic. So is it possible to know whats the approver's decision from within the BADi?
Thanks.
Anuradha.
Any updates on this?
Thanks.
Anuradha SenGupta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Laurent.
Even I thought that the BADi BBP_ECS_PO_OUT_BADI gets triggered when the PO is approved by the approver. However I did put a remote break point in the BAdi method BBP_B46B_PO_OUTBOUND and the program control hits the BADi in either case i.e. when the PO is approved or rejected by the approver.
In this scenario, how is it possible to know which action (approval or rejection) has been triggered?
Please advice.
Thanks.
Anuradha.
Hello Anuradha,
As per your logic if the PO is approved it would get replicate to backend else if the PO is rejected it wouldn't be getting replicated to backend.
There are few tcodes like < SWI1> , <swud> which can give you workflow logs based on busobjects. here you can find the rejected POs as well. Hope this answers your query.
Regards,
Ashish Garg
Hi Ashish.
The requirement is to identify the approver's decision (either Approval or Rejection) from within the BADi. We want to generate a specific email ONLY when the PO is approved by the approver.
Hope this explains the requirement in a bit more details.
Any insight would be highly appreciated.
Thanks.
Anuradha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.