Symptom
Data which is retrieved via API 'API_MRP_MATERIALS_SRV_01' is different from what we see in SAP Material Coverage app.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Check Material Coverage app
- Enter Material
- Enter Plant
- Shortage definition "Ordered Receipts"
- Execute API 'API_MRP_MATERIALS_SRV_01'
Cause
In API, Material Shortage Profile 'SAP000000001' is used which is mapped with MRP Standard (counter 001) but in Check Material Coverage app ordered receipts is selected as shortage definition.
Resolution
To retrieve the correct data from an API call for the shortage definition "Ordered Receipts," a material shortage profile mapped to this definition must be provided instead of the standard profile.
The parameter 'MaterialShortageProfileCount' is not mandatory in the API call, as the standard shortage profile defaults to 'MaterialShortageProfileCount' as 001.
If the filter 'MaterialShortageProfileCount' is applied while using the standard shortage profile "SAP000000001," the 001 counter must be specified.
To ensure accuracy and consistency, the appropriate Material Shortage Profile must be used in the API call.
See Also
Keywords
Shortage definition, Material Shortage Profile, Material Shortage Profile Count, Ordered Receipts, Check Material Coverage, Monitor Material Coverage, SAP000000001, API, API_MRP_MATERIALS_SRV_01, SupplyDemandItems. , KBA , PP-FIO-MRP-2CL , Fiori UI for Material Requirements Planning (Public Cloud) , PP-MRP , Material Requirements Planning , PP-FIO-MRP , Fiori UI for Material Requirements Planning , Problem
SAP Knowledge Base Article - Public