Skip to Content
Former Member
May 08, 2008 at 01:44 PM

How to retrieve Approvers list before ordering a shopping cart


Hi Experts,

My requirement is to check if the approver(first/second/any level) is not assined to a shopping cart. If yes, then i have to throw an error message. I want to put my logic in the BBP_DOC_CHECK_BADI.

To get the approvers list of a shopping cart, the function module BBP_PDH_WFL_APPROVAL_SIMULATE can be used. But before ordering a shopping cart, the workflow will not be triggered. So I cannot use this function module. Is there any other way to retrieve the aprover's list in the BP_DOC_CHECK_BADI before the SC is created.

Thanks and Regards,