Skip to Content
0
Former Member
Sep 22, 2006 at 04:27 AM

Help in BAPI Transaction Commit

552 Views

Hi All,

I have a requirement to approve the Purchase Order created from a Purchase requisition.

To implement the same, I am calling ‘BAPI_TRANSACTION_COMMIT’ after each ‘BAPI_PO_RELEASE’.

I am facing the following problem:

The purchase order is getting approved successfully for the first release code but is giving an error ‘Prerequisite not fulfilled’ for the 2nd release code. The same is working fine in Debugging mode.

I think that the commit is not working properly in this case.

We have tried calling the ‘BAPI_TRANSACTION_COMMIT’ by passing the wait parameter and also called the SET UPDATE TASK LOCAL before calling commit.

If anyone has worked on this before please let me know.

Thanks in advance.

Thanks and Regards,

Lavanya.