Dear SAP gurus,
We are in the middle of developing n-step workflow for shopping cart using BBP_WFL_APPROV_BADI. We plan to utilize a custom table, in which the BADI will pick the list of needed approvers from the table.
However we have the scenario where in some cases someone need to add approver manually on top of the list of approvers suggested by the system. This is very doable using 1-step and 2-step approval. However when we use this BADI we come to know that actually after one approver approve the SC, then the BADi will dynamically determine the approvers again. This present a problem to us, as the approvers that have been added manually by the person creating SC, will disappear because we dont map it to the table.
For example when A creating SC with amount of 1000, from the table it is determined that it has to be approved by user 1, user 2, and user 3. Then user A add user 4 as additional approver after user 3. When it is saved, it will go to user 1 for approval. Once user 1 approves, BADI will dynamically determine the list of approvers again. BADI will get user 1 (approved already), user 2, and user 3, but user 4 will disappear from the list, though originally user 4 has been added manually by user A.
Has anyone got solution for this issue?
Best regards,
Yosea