Skip to Content
Former Member
Sep 14, 2010 at 01:34 PM

Alternative for BAPI_REQUISITION_CHANGE, to run this in update process.



I'm using BAPI_REQUISITION_CHANGE, to change a purchase requisition Qty related to a purchase order. This Bapi is used in a report program which inturn is triggered by an output type, on Purchase Order creation.

Now, when this BAPI is executed, it ends up in dump saying "Invalid COMMIT WORK in an update function module".

The search criterion it gave was ..




And the error analysis as

Calling a COMMIT WORK in an update process is not allowed

because the function modules triggered in a Logical Unit

of Work cannot then be processed correctly.

This clearly shows that commit is being done inside the BAPI. Is there any other way that I can update Purchase Requisition Qty?

Thanks for your time on this.


Srikanth Peri