bymin79
SOAP API Create an Outbound Delivery with Reference to a Sales Order Testing error
bymin79 · about 2 years ago · Question
Answered
bymin79

Hi, everybody.

I'm working on a project to build a S/4 Hana Cloud system.

I must use the "Create an Outbound Delivery with Reference to a Sales Order" SOAP to create an Outbound Delivery by referring to the sales order.

An error occurred while testing this SOAP using the SOAPUI tool.

-- Test Body --

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/APPL/SE/Global">

    <soap-env:Header/>

    <soap-env:Body>

        <glob:OutboundDeliveryERPWithReferenceToSalesOrderCreateRequest_sync>

            <!--Optional:-->

            <MessageHeader>

               <!--Optional:-->

                <ID></ID>

                <!--Optional:-->

                <UUID></UUID>

                <!--Optional:-->

                <ReferenceID></ReferenceID>

                <!--Optional:-->

                <ReferenceUUID></ReferenceUUID>

            </MessageHeader>

           <OutboundDelivery>

                <!--Optional:-->

                <ID></ID>

                <!--Zero or more repetitions:-->

                <SalesOrderReference>

                    <ID></ID>

                </SalesOrderReference>

                <!--Optional:-->

                <Dates>

                    <DeliveryDueDateTime>2019-01-03T00:00:00Z</DeliveryDueDateTime>

                </Dates>

                <!--Optional:-->

                <ShippingPointParty>

                    <InternalID>4310</InternalID>

                </ShippingPointParty>

                <!--Zero or more repetitions:-->

                <Item>

                    <SalesOrderReference>

                        <ID>281</ID>

                        <ItemID>10</ItemID>

                    </SalesOrderReference>

                   <!--Optional:-->

                    <DeliveryTerms/>

                    <!--Zero or more repetitions:-->

                    <SerialNumber>

                        <SerialID></SerialID>

                    </SerialNumber>

                    <!--Optional:-->

                    <Quantities>

                        <DeliveryQuantity unitCode="EA">1.00</DeliveryQuantity>

                    </Quantities>

                </Item>

            </OutboundDelivery>

        </glob:OutboundDeliveryERPWithReferenceToSalesOrderCreateRequest_sync>

    </soap-env:Body>

</soap-env:Envelope>

-- response error --

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

   <soap-env:Header/>

   <soap-env:Body>

      <n0:OutboundDeliveryERPWithReferenceToSalesOrderCreateConfirmation_sync xmlns:n0="http://sap.com/xi/APPL/SE/Global" xmlns:prx="urn:sap.com:proxy:MPM:/1SAI/TASF73B62AA7239FA5C6AEC:774">

         <Log>

            <BusinessDocumentProcessingResultCode>5</BusinessDocumentProcessingResultCode>

            <MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>

            <Item>

              <TypeID>051(V50R)</TypeID>

               <CategoryCode/>

               <SeverityCode>3</SeverityCode>

               <Note>Missing data in the BAPI interface: IT_ITEMS RFBEL</Note>

               <WebURI>http://vhshpmpmci.shp.osa.hec.sap.biz:50000/sap/xi/docu_apperror?ID=NA&amp;OBJECT=V50R051&amp;LANGUAGE=E&amp;MSGV1=IT_ITEMS&amp;MSGV2=RFBEL</WebURI>

            </Item>

            <Item>

               <TypeID>001(BAPI)</TypeID>

               <CategoryCode/>

               <SeverityCode>3</SeverityCode>

               <Note>No instance of object type OutboundDelivery has been created. External reference:</Note>

            </Item>

         </Log>

      </n0:OutboundDeliveryERPWithReferenceToSalesOrderCreateConfirmation_sync>

   </soap-env:Body>

</soap-env:Envelope>

"Missing data in the BAPI interface: IT_ITEMS RFBEL" error but RFBEL parameter not found in the SOAP.

If anyone knows how to use this SOAP, please help.

Thank you.

Comments

Comments
Alumni