Symptom
An error message is displayed when attempting to create a purchase order with a zero price via web service.
Error - "Price missing; price required for expected follow-up documents invoice or ERS".
Environment
SAP Business ByDesign
Reproducing the Issue
- Logon to SOAP UI
- Enter the payload request
- Attempt to add a purchase order item with a price of 0
- Error message appears
Cause
The error occurred due to the partner developed solution in the payload.
Resolution
Remove the PDI solution from the payload and you will be able to create a purchase order with zero price. Please find the sample payload.
<n0:PurchaseOrderBundleMaintainRequest_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<BasicMessageHeader/>
<PurchaseOrderMaintainBundle>
<BusinessTransactionDocumentTypeCode>001</BusinessTransactionDocumentTypeCode>
<PurchaseOrderID>ABC</PurchaseOrderID>
<Item ItemImatListCompleteTransmissionIndicator="true" actionCode="01">
<Quantity unitCode="MTR">117</Quantity>
<QuantityTypeCode>Ea</QuantityTypeCode>
<Description languageCode="EN"/>
<ListUnitPrice>
<Amount currencyCode="USD">0</Amount>
<BaseQuantity unitCode="EA">1</BaseQuantity>
<BaseQuantityTypeCode>MTR</BaseQuantityTypeCode>
</ListUnitPrice>
<DeliveryPeriod>
<StartDateTime timeZoneCode="UTC+7">YYYY-MM-DDT00:00:00Z</StartDateTime>
<EndDateTime timeZoneCode="UTC+7">YYYY-MM-DDT00:00:00Z</EndDateTime>
</DeliveryPeriod>
<DirectMaterialIndicator>true</DirectMaterialIndicator>
<ThirdPartyDealIndicator>false</ThirdPartyDealIndicator>
<FollowUpInvoice>
<RequirementCode>05</RequirementCode>
</FollowUpInvoice>
<ItemProduct actionCode="01">
<CashDiscountDeductibleIndicator>false</CashDiscountDeductibleIndicator>
<ProductCategoryIDKey>
<ProductCategoryInternalID/>
</ProductCategoryIDKey>
<ProductKey>
<ProductTypeCode>1</ProductTypeCode>
<ProductIdentifierTypeCode>1</ProductIdentifierTypeCode>
<ProductID>XYZ</ProductID>
</ProductKey>
<ProductRequirementSpecificationKey>
<RequirementSpecificationID>ID</RequirementSpecificationID>
</ProductRequirementSpecificationKey>
</ItemProduct>
</Item>
</PurchaseOrderMaintainBundle>
</n0:PurchaseOrderBundleMaintainRequest_sync>
Keywords
KBA , SRD-SRM-PRO , Purchase Requests and Orders , Problem