Skip to Content
0
Aug 06, 2016 at 03:54 AM

determine if an invoice is part of any active/pending/running workflow

43 Views

Hi all,

we created custom invoice workflow WS90000001 (3-level approval) using BO BUS2081.

when an invoice is pending for approval in any of the levels (i.e. the workflow instance not completed/cancelled), we want to restrict the invoice to be edited/saved using MIRx tcodes. we can disable using badi.

but how to determine if an invoice is part of any of the instances of active/pending workflows of WS90000001

which approach/bapi's can be used, when i have the invoice no, we want to determine if it is stuck in any workflow.

thanks in advance,

Madhu_1980