cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP API Create an Outbound Delivery with Reference to a Sales Order Testing error

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member131745
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi bymin79,

The payload is incorrect. The following selection should be removed:

This leads to a reference to a sales order with empty number .

Thanks,

Gerard

Former Member
0 Kudos

Thank you for your help.

This solution will be very useful to me.

I'll go ahead with your suggestion.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Bymin,

Did you have any success with this in the end? Also have you implemented this into an app?

I'm currently struggling with a different SOAP api so would appreciate any assistance.

Many Thanks,

Nadeem