‎2015 Aug 22 5:36 AM
My aim is to create sales order from external system. For this purpose, I created Web Service Definition for BAPI_SALESORDER_CREATEFROMDAT2 with commit and rollback. I created a binding in SOA Manager.
When I execute the function in SOAP UI, it doesn't give any error. The BAPI executed successfully. But the sales order number is not returned. Its blank. So how can the BAPIs BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_TRANSACTION_COMMIT be executed in the same session in SOAP UI?
‎2015 Aug 22 5:52 AM
Hi,
In this case, we have created custom BAPI like ZBAPI_SALESORDER_CREATEFROMDAT2 with copy of
BAPI_SALESORDER_CREATEFROMDAT2.
In source code, called two BAPI's BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_TRANSACTION_COMMIT.
It works fine for us.
Regards,
Arivazhagan S
‎2015 Aug 24 12:59 PM
ok....thats a good idea. another idea i got is to enhance the satandard bapi and call bapi_transaction_commit inside the enhancement. I haven't tried it.