Skip to Content
Oct 19, 2012 at 02:33 PM

Webservice(SOAP) to RFC(BAPI) synchoronous Creating Sales Order Error



Iam doing a webservice(SOAP) to RFC scenario. It is a sale order creation. We are using the BAPI--> BAPI_SALESORDER_CREATEFROMDAT2. I tried to execute the BAPI in R/3 manually with the mandatory fields like DocType, Sales Org, Distribution Channel, Division, Customer, Material, Quantity, PARTN_ROLE. It is executed successfully manually.

But when I am testing same from SOAPUI 3.6.1 tool with same data. It is throwing some strange errors like

TYPE='E', Message (ID:VP, NUMBER:112): "Please enter sold-to party or ship-to party", LOG_NO:, LOG_MSG_NO:000000 (PARAMETER:SALES_HEADER_IN, ROW:0, FIELD:, SYSTEM:ECDCLNT200).

TYPE='E', Message (ID:V4, NUMBER:219): "Sales document was not changed", LOG_NO:, LOG_MSG_NO:000000 (PARAMETER:, ROW:0, FIELD:, SYSTEM:ECDCLNT200)

In my PI-->SXMB_MONI--> I can see the success flag with message :

<?xml version="1.0" encoding="UTF-8" ?>

- <ns1:MT_JobClosure_SO_Response xmlns:ns1="">

<SALESDOCUMENT>Please enter sold-to party or ship-to party</SALESDOCUMENT>


Finally BAPI Executed with the errors. Manually it is working in R/3. But when I call it through SOAPUI it is erroneous. Please help me in resolving this.

I am using PI 7.1

Thank You.