Symptom
You use SalesPriceRetrieveUseCase with the predelivered use case SAP_DFLT in API Sales Price - Retrieve (A2X). However, the request returns status code 200 with the following response:
Status: 200
Body:
{
"@odata.context": "$metadata",
"value": [
{
"name": "SalesPrice",
"url": "SalesPrice"
}
]
}
Environment
SAP S/4HANA Cloud
Resolution
- You can either avoid relying on the predelivered use case SAP_DFLT for parameter SalesPriceRetrieveUseCase, by using real business data for the payload instead.
- Or you can add the following parameters and corresponding values into the payload. As if SAP_DFLT is used, the above fields can be empty but they have to be a part of the request body.
"SALESDOCUMENTTYPE": "",
"SALESDOCUMENTITEMCATEGORY": "",
"BILLINGDOCUMENTTYPE": ""
See Also
Keywords
KBA , SD-BF-PR-2CL , Pricing (Public Cloud) , SD-BIL-EXT-2CL , SD Billing Extensibility (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions