Symptom
Goods movement is successfully processed via the standard webservice InventoryProcessingGoodsAndActivityConfirmationGoodsMovementIn; however, the expected quantity conversion does not take place.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Application and User Management work center.
- Go to Service Explorer view.
- Search for the service: InventoryProcessingGoodsAndActivityConfirmationGoodsMovementIn.
- Select the service and download the WSDL file.
- Create a new project in the SoapUI.
- Execute the query using the request payload in SoapUI.
- The request payload is executed successfully.
- The Goods movement is performed between two different logistic areas and GAC document is created.
- Go to Internal Logistics work center.
- Open stock overview under common tasks.
- Search for the relevant product.
- The quantity conversion is not applied even though the payload is executed successfully.
Cause
- A unit conversion has already been defined where UoM1 equals to UoM2 in product master data.
- During goods movement the quantity is sent as UoM1, and received as UoM2 in the target logistic area.
- For quantity conversion, the logistic unit tag must be maintained for both the source and target logistic areas in payload.
Resolution
Add the below tag to convert the quantity from UoM1 to UoM2 while performing Goods Movement using web service,
<LogisticUnitChangeQuantity>
<LogisticUnitID> </LogisticUnitID>
<Quantity unitCode="XCS"> </Quantity>
</LogisticUnitChangeQuantity>
<TargetLogisticUnitChangeQuantity>
<LogisticUnitID> </LogisticUnitID>
<Quantity unitCode="XCS"> </Quantity>
</TargetLogisticUnitChangeQuantity>
Keywords
goods movement, soap, web service, logistic unit, quantity conversion, bydesign, dogoodsmovementgoodsandactivityconfirmation, InventoryItemChangeQuantity, LogisticUnitChangeQuantity, TargetLogisticUnitChangeQuantity, goods and activity confirmation , KBA , AP-IP-INV , Inventory , Problem
SAP Knowledge Base Article - Public