cancel
Showing results for 
Search instead for 
Did you mean: 

Create a SalesOrder with reference to a CustomerQuote via WebService

Former Member
0 Kudos

Hello everybody,

I have created a Customer Quote (with ID 433) and now I'd like to use this Customer Quote (like the action "CreateWithReference") for creating a Sales Order via web services, but I am not very successful with it

Here is the code I am trying to use for creating the sales order (via SOAP UI):

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">

   <soapenv:Header/>

   <soapenv:Body>

      <glob:SalesOrderBundleMaintainRequest_sync>

         <SalesOrder>

            <Name languageCode="EN">Testorder</Name>

            <BusinessTransactionDocumentReference>

               <BusinessTransactionDocumentReference>

                  <ID>433</ID>

                  <TypeCode>30</TypeCode>

               </BusinessTransactionDocumentReference>

               <BusinessTransactionDocumentRelationshipRoleCode>1</BusinessTransactionDocumentRelationshipRoleCode>

               <DataProviderIndicator>true</DataProviderIndicator>

            </BusinessTransactionDocumentReference>

         </SalesOrder>

      </glob:SalesOrderBundleMaintainRequest_sync>

   </soapenv:Body>

</soapenv:Envelope>

Here are the error messages I receive:

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">

   <soap-env:Header/>

   <soap-env:Body>

      <n0:SalesOrderBundleMaintainConfirmation_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:K7Q:/1SAI/TAE88DF3AA925C3E49C60CC:804">

         <Log>

            <MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>

            <Item>

               <TypeID>000(//CDF/ESI_PROVIDER/)</TypeID>

               <CategoryCode>INC.BOI</CategoryCode>

               <SeverityCode>3</SeverityCode>

               <Note>Create not possible; source object inconsistent</Note>

            </Item>

            <Item>

               <TypeID>431(/CDA_COM_FRAMEWORK/)</TypeID>

               <CategoryCode>ENV.CBM</CategoryCode>

               <SeverityCode>3</SeverityCode>

               <Note>Copying document not possible; configuration from  to  missing</Note>

            </Item>

            <Item>

               <TypeID>005(//PAPR/PARTY_ADMIN/)</TypeID>

               <CategoryCode>SEI.FSI</CategoryCode>

               <SeverityCode>3</SeverityCode>

               <Note>ID of party with role Account missing</Note>

            </Item>

            <Item>

               <TypeID>020(//PAPR/PARTY_ADMIN/)</TypeID>

               <CategoryCode>SEI.FSI</CategoryCode>

               <SeverityCode>3</SeverityCode>

               <Note>Organizational data missing</Note>

            </Item>

         </Log>

      </n0:SalesOrderBundleMaintainConfirmation_sync>

   </soap-env:Body>

</soap-env:Envelope>

Does anyone have a clue on that?

Or at least a guess?

BR Mike

Accepted Solutions (0)

Answers (2)

Answers (2)

SamueleBarzaghi
Participant
0 Kudos

No solution?

0 Kudos

Hello,

i get the same error when creating a sales order with a customerquote as BusinessTransactionDocumentReference . Do you have any solution?

BR Chris