Hi,
I have a requirement where i need to stop the substitute for the approver from approving the shopping cart if he is same as requestor.
Suppose the requestor A has approver set as B and B has active substitute set as A, so in this case if A raises a shopping cart it will come to him for approval also as he is B's Substitute.
I want to stop this scenario.
N-level approval Workflow is used for here.
what I have found till now is that N-level approval calls I BBP_WF
APPROVBADI. which can be coded as per requirement but the mail or approval workitem goes to substitue after this BADI call so substitute cannot be controlled here.
I don't want to use BBP_DOC_CHECK_BADI for 2 reason firstly it wont stop the mail or approval going into inbox of A , it will only give error message which A tries to approve. secondly i want this logic for off- line approval too so in that case this BADI wont be of much use.