Skip to end of metadata
Go to start of metadata

Example: Change picked quantities

The following xml example data changes the picked quantity of a line item in an outbound delivery.

Prerequisites

There is an open outbound delivery available in the backend system, which contains an unpicked item.
The example refers to an outbound delivery with the ID 80015422, which consists of a line item with the ID 20. You have to change these numbers according to your actual backend data. With the following example input data, the picked quantity of line item 20 is changed to 1.

Example XML

<?xml version="1.0" encoding="UTF-8" ?>
<rn1:services xmlns:rn0=http://schemas.xmlsoap.org/soap/encoding/
 xmlns:rn2="java:sap/standard"
 xmlns:rn1=http://www.sap.com/webas/2007/02/ws/wsnavigator/
 xmlns:rn3="http://www.w3.org/2001/XMLSchema">
 <rn1:service name="OutboundDeliveryERPChangeRequestConfirmation_In"
  namespace=http://sap.com/xi/APPL/Global2
  WSDLURL="http://erp.esworkplace.sap.com:80/sap/bc/srt/xip/sap/ECC_OUTBOUNDDELIVERYCHGRC?sap-client=800&wsdl=1.1">
  <rn1:operation name="OutboundDeliveryERPChangeRequestConfirmation_In">
   <rn1:input>
    <OutboundDeliveryERPChangeRequestsync>
     <OutboundDelivery handlingUnitListCompleteTransmissionIndicator="false">
      <ID schemeAgencyID="" xmlns:pns="http://sap.com/xi/APPL/Global2">80015422</ID>
      <PickQuantitiesApplyIndicator>false</PickQuantitiesApplyIndicator>
      <Item actionCode="02" serialNumberListCompleteTransmissionIndicator="false">
       <ID>20</ID>
       <Quantities>
        <PickedQuantity unitCode="PCE" xmlns:pns="http://sap.com/xi/APPL/Global2">1</PickedQuantity>
       </Quantities>
      </Item>
     </OutboundDelivery>
    </OutboundDeliveryERPChangeRequestsync>
   </rn1:input>
  </rn1:operation>
 </rn1:service>
</rn1:services>