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 sales order change

Former Member
0 Likes
2,157

Hi all,

I was made some tests with bapi sales order change. I put some data and at the end I have this return message

V4 233 ORDER_HEADER_IN has been processed successfully

V4 233 KONVKOM has been processed successfully

V1 555 The sales document is not yet complete: Edit data

V1 311 Attachment Order 80002094 has been saved

what does it means, I mean my documents changed?

thanks in advance

1 ACCEPTED SOLUTION
Read only

jaideepsharma
Active Contributor
0 Likes
1,723

Hi,

You have executed the BAPI by calling it in a report or in SE37. If you have called it in report and also made a call to 'BAPI_TRANSACTION_COMMIT' then the changes are saved in database and in sales order. If you have called it using SE37 then I don't think that the changes are saved in database/sales order. Return parameters tells the log after BAPI got executed. Looking at the return messages in your I can say that BAPI got executed successfully without any errors.

KR Jaideep,

Hi,

You have executed the BAPI by calling it in a report or in SE37. If you have called it in report and also made a call to 'BAPI_TRANSACTION_COMMIT' then the changes are saved in database and in sales order. If you have called it using SE37 then I don't think that the changes are saved in database/sales order. Return parameters tells the log after BAPI got executed. Looking at the return messages in your I can say that BAPI got executed successfully without any errors.

KR Jaideep,

9 REPLIES 9
Read only

jaideepsharma
Active Contributor
0 Likes
1,724

Hi,

You have executed the BAPI by calling it in a report or in SE37. If you have called it in report and also made a call to 'BAPI_TRANSACTION_COMMIT' then the changes are saved in database and in sales order. If you have called it using SE37 then I don't think that the changes are saved in database/sales order. Return parameters tells the log after BAPI got executed. Looking at the return messages in your I can say that BAPI got executed successfully without any errors.

KR Jaideep,

Read only

0 Likes
1,723

Hi,

thanks for you answer.

So it means the after se37, I have to call to 'BAPI_TRANSACTION_COMMIT' ?

Read only

0 Likes
1,723

It means that you have to call the BAPI in a report or function module or subroutine and after calling the BAPI you also have to call bapi_transaction_commit in order to save the changes in database.

When you call BAPI from SE37 then changes are not saved in database as there is no commit statement as such in the BAPI_SALESORDER_CHANGE. The BAPI does not run a database Commit, which means that the application where the BAPI is been called must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.

KR Jaideep,

Read only

0 Likes
1,723

thnaks.

which value I have to put in the importer parameters?

Read only

0 Likes
1,723

Hi,

Can you please clarify your question in more detail ??

KR Jaideep,

Read only

0 Likes
1,723

My doubts are: when I go throug BAPI_TRANSACTION_COMMIT, which value I've to insert in the importer parameters?

I see wait and the value with a blank space

thanks for your help

Read only

0 Likes
1,723

Hi,

Its an optional parameter dont' pass it or pass a value X in it.

KR Jaideep,

Read only

Former Member
0 Likes
1,723

goto va02, put the sale order..enter .then in menu bar--> edit --> log of incomplete items. here u will get list of items ..correct that data & save the order.

pass the same field content to in the structure of BAPI. - it will work

thanks,

Manjunath MS

Read only

0 Likes
1,723

Hi,

Do you still have issues with the above problem ?

If no please mark the question as answered.

KR Jaideep,