Symptom
- Create Sales Order (B2B) results in error message: "RequestedQuantity-Content must be provided in the source data".
- Create Sales Order (B2B) results in error message: "Product must be provided in the source data".
Environment
- Sales and Distribution (SD)
- SAP S/4HANA Cloud All versions
Cause
Text items which contains no quantity and product name are not supported. OrderRequest_In SOAP API performs checks against initial values during execution (i.e. blank fields), item requested quantity and product are currently obligatory fields.
Resolution
Please consider using the equivalent OData API_SALES_ORDER_SRV with a payload similar to the following:
{
"SalesOrderType" : "OR",
"SalesOrganization" : "1010",
"DistributionChannel" : "10",
"OrganizationDivision" : "00",
"SoldToParty" : "10100001",
"PurchaseOrderByCustomer" : "Create Text item OData API",
"AssignmentReference" : "API Text Item",
"to_Item":[
{ "SalesOrderItem" : "10",
"SalesOrderItemCategory" : "TATX"
}]
}
Keywords
A_SalesOrderItem, API_SALES_ORDER_SRV, SAP_COM_0109, AX2, Sales Order, RequestedQuantity, material, product, ORDERREQUEST_IN, SAP_COM_0223, 2EL, Buyers, ProductID, BuyerProductID, SupplierProductID, B2B , KBA , SD-SLS-API , API , SD-SLS-API-2CL , API (Public Cloud) , How To