Skip to Content
0
Former Member
Dec 19, 2007 at 08:03 AM

I get 'Update was Terminated' when i use BAPI_PO_CREATE1 & BAPI_PO_CHANGE?

22 Views

hi friends,

my prog. flow is like this

1.) create po using bapi_po_create1

2.) bapi_transaction_commit with wait = 'X'.

3.) change the po created thru bapi_po_create1 using bapi_po_change.

4.) bapi_transaction_commit with wait = 'X'.

am getting the express document terminated dialog box and i can see the values not getting changed in the po..getting data inconsistencies...what is the cause of this and how to overcome? both the updates are V1 and i need both of them synchronously. from the library i can see that, we should use COMMIT WORK AND WAIT, but this -- bapi_transaction_commit with wait = 'X' does the same, right? pl advise

Sathish R