Application Development and Automation 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: 
Read only

BAPI_SALESORDER_CHANGE - Status of Payment

Former Member
0 Likes
473

Hello everybody,

I need a little help!

I am using the BAPI BAPI_SALESORDER_CHANGE to change some data of the Order, but when I change the Status of Payment of an item, which does not stock this change does not occur and also did not return any error.

Someone has gone pro a similar situation?

Any tips?

Thanks,

Michely

4 REPLIES 4
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
424

Have you used bapi_transaction_commit after calling BAPI_SALESORDER_CHANGE ?

Read only

Former Member
0 Likes
424

You're coding the 'X' structure for the items, with the appropriate update flag, right? And, since the BAPI doesn't do a commit, you're following up with call to BAPI_TRANSACTION_COMMIT?

Read only

0 Likes
424

Yes the problem only occurs with no balance items in stock at the time of change.

Read only

Former Member
0 Likes
424

If possible then show me your code how to change status ?