Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos
126

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 to be updated 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? i have referred threads related to this problem, but they are not fully answered..pl advise

Sathish R

Edited by: Sathish on Dec 19, 2007 2:55 AM

2 REPLIES 2

Former Member
0 Kudos
55

Hi ,

Analyse the problem in SM13.

execute based on current date.Double click on the Mod.name. you can see UPDATE STATUS popup. Select 'ABAP short dump' button, so that you can analyse the problem.

Edited by: Ramesh Hirial on Dec 19, 2007 5:46 PM

Former Member
0 Kudos
55

Hi,

Go to SM13 and analyse the cause of problem.

Regards

Kannaiah