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: 

Update was terminated BAPI_SALESORDER_CHANGE

Former Member
0 Kudos

Hi Guys,

Im need to update the cost center of a certain document using BAPI_SALESORDER_CHANGE .. but return message appeared

once i called BAPI_TRANSACTION_COMMIT..this message is "Update was terminated".

What will I do about this?any advice?

Thanks in advance

aVaDuDz

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Check this:

You can use this method to change or delete sales orders.

You can change header, item, schedule line and configuration data.

In general, note that you should:

Only specify fields that should be changed

Select these fields by entering an X in the checkboxes

Enter a U in the UPDATEFLAG field
Always specify key fields when changing the data, including in the checkboxes

The configuration is an exception here. If this needs to be changed, you need to complete it again fully.

Maintain quantities and dates in the schedule line data

Did u give the values as mentioned above.?

Regards,

Vishwa.

2 REPLIES 2

Former Member
0 Kudos

Hi

Check this:

You can use this method to change or delete sales orders.

You can change header, item, schedule line and configuration data.

In general, note that you should:

Only specify fields that should be changed

Select these fields by entering an X in the checkboxes

Enter a U in the UPDATEFLAG field
Always specify key fields when changing the data, including in the checkboxes

The configuration is an exception here. If this needs to be changed, you need to complete it again fully.

Maintain quantities and dates in the schedule line data

Did u give the values as mentioned above.?

Regards,

Vishwa.

former_member188685
Active Contributor
0 Kudos

show the coding and check in SM13 transaction what is causing the Termination and analyze the error.