‎2008 Apr 03 12:40 PM
Hello Experts,
We have exposed BAPI_SALESORDER_CREATEFROMDAT2 as a webservice, and it returns the SO Documnet number once we invoke this. How ever it getting archived because SAP needs BAPI_TRANSACTION_COMMIT, for it to be saved in the data base.
We have tried exposing both BAPI's in a single webservice and tried calling the operations one after other.Altough we dont get any errors, sales order is still in archive state.
Please help..
Thanks,
Srikanth
‎2008 Jun 13 8:32 AM
hi,
did u solve this problem?
if it solved ....
please give me the code
thanks®ards
srinivas,
‎2008 Jun 13 8:45 AM
Hello Srinivas,
Insted of using webservice we have started using a java code which directly creates a SO in to SAP.
If you want that, I can send you accross.
Thanks & Regards,
Srikanth
‎2008 Jun 30 9:36 PM
We had the same issue & got around it by reating a new Z_BAPI* which was a simple "wrapper"
around the BAPI_SALESORDER_CREATEFROMDAT2 and COMMIT BAPI's & then this works
perfectly for a webservice as you know only need to call one BAPI
Cheers,
Robert
‎2008 Jul 01 7:35 AM
Thanks for all the support we have started using a Java code insted of calling BAPI as webservice