on 01-19-2005 2:17 AM
When calling Bapi_Salesorder_Change, following messages were reported by Return0 parameter:
S/233/ORDER_HEADER_IN has been processed successfully
S/233/ITEM_IN has been processed successfully
W/555/The sales document is not yet complete: Edit data
S/311/Standard Order 0000009137 has been saved
The problem is, the new order items was set by paramter Order_Item_In, but there is no new item appeared.
What's the problem?
Thanks.
Hi,
You need to call proxy1.CommitWork after calling Bapi_Salesorder_Change.
Regards,
Guangwei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mr. Yintang
Such mysterious Knowledge is basically described in a sap .net indepent manner in
"BAPI Programming Guide (CA-BFA). Direct-Link:
http://help.sap.com/saphelp_470/helpdata/en/a5/3ec8654ac011d1894e0000e829fbbd/frameset.htm
Here you can read an important Statement that belongs to BAPIs:
http://help.sap.com/saphelp_470/helpdata/en/5f/516d175cb811d4b2dd0050dadfbb26/frameset.htm
A Link to the SAP .NET Connector Help:
http://help.sap.com/saphelp_erp2004/helpdata/en/a8/1123a12f625f4393e12b5443141f9e/frameset.htm
Description of the Commit and Rollback Methods:
http://help.sap.com/saphelp_erp2004/helpdata/en/a8/1123a12f625f4393e12b5443141f9e/frameset.htm
Best regards
An add to my Reply ...
In the Web you find the Interface Repository to all BORs and BAPIs:
http://ifr.sap.com/catalog/query.asp
When you search for the SalesOrder Business Object, you will find a description of the Change Method with following Additional Comment:
Commit control:
The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.
Regards
I'm very appreciate your thorough complete teaching. And wish hear more from you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.