Skip to Content
0
Former Member
Jan 14, 2008 at 01:59 PM

Dequeue function does not work in RFC call (using Starting New Task syntax)

315 Views

Hi All,

Here's the issue:

I'm locking a bunch of sales orders in my program and submitting to a program for processing the sales orders (changing header/item data). The called program in turn calls an RFC (Z function module that calls standard BAPI for sales order change). The RFC is called using 'Starting New Task' (Parallel processing framework). Inside the Z function module, when the orders are changed one at a time in a loop, I need to unlock the sales order (using the DEQUEUE_EVVBAKE function). This function returns a sy-subrc = 0, but the unlocking does not happen.

Thanks in advance.

Please help.