Skip to Content

Check if every workflow step has an approver/processor


we are on SRM 7 using the classic scenario.

I want to implement a check if every workflow step has an approver/processor.


I create a shopping cart with cost center accounting. The cost center manager is an approver in our workflow. When a cost center has no manager -> no approver for the workflow step can be found -> workflow runs into an error.

We do not want to use fall back agents. We want to throw an error message in the shopping cart before sending/ordering the shopping cart.

How can i do that? Are there any BADI which i can use?

Thanx and Best regards,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 14, 2012 at 11:08 AM

    Please use BBP_DOC_CHECK BAdi and check for fields if approver has been filled or not. If yes proceed, if no process a error message.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Benjamin Herzig


      You have to use BBP_DOC_CHECK BAdi , you have to build the logic in a z class and pass the SC_GUID. in the custom class use the bbp_procdoc_getdetail FM to get the current SC value and check if the current SC has valid approvers.. if not then raise the error message.. the reason why i ask you to create the Z class is , you can use the same class for WF..