2009 May 07 5:23 PM
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
2009 May 07 5:28 PM
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,
2009 May 07 5:28 PM
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,
2009 May 07 5:34 PM
Hi,
thanks for you answer.
So it means the after se37, I have to call to 'BAPI_TRANSACTION_COMMIT' ?
2009 May 07 5:51 PM
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,
2009 May 07 5:55 PM
thnaks.
which value I have to put in the importer parameters?
2009 May 07 6:45 PM
Hi,
Can you please clarify your question in more detail ??
KR Jaideep,
2009 May 07 8:02 PM
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
2009 May 08 5:57 AM
Hi,
Its an optional parameter dont' pass it or pass a value X in it.
KR Jaideep,
2009 May 08 6:10 AM
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
2009 May 08 6:28 PM
Hi,
Do you still have issues with the above problem ?
If no please mark the question as answered.
KR Jaideep,
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |