Skip to Content
Apr 21, 2010 at 08:46 PM

BAPI inside WF event trigger problem


Hi Guys,

Here's my problem:

I'm triggering a WF from the Business objects BUS2032, event CHANGED (for sales orders). But the first step in the workflow is to block the order for delivery, so I'm using the BAPI BAPI_SALESORDER_CHANGE to modify the field delivery block of that sales order.

The problem is that when the BAPI is executed, the event CHANGED from the BO BUS2032 is triggered, so the WF is triggered again, and so's like a loop.

So my question is, is there a way to modify the sales order inside the WF without triggering any event inside the WF?