Symptom
Run time error occurs when using API API_MRP_MATERIALS_SRV_01 to retrieve Supply and Demand data.
Environment
SAP S/4HANA Cloud Public Edition
Cause
The number of objects to be read by this service is not restricted by the system. If too many materials meet the selected properties, the system can cancel the processing due to memory overload.
See online help Supply and Demand .
Resolution
The request needs to be splitted into multiple requests by using filter options.
E.g.
- MRPArea
- MaterialShortageProfile
The available filters can be found in the online help.
Note: Standard ODATA filter options like $Top, $Skip cannot be used to restrict the data volume to avoid the issue.
Keywords
API_MRP_MATERIALS_SRV_01, SupplyDemandItems , Resource bottleneck , TSV_TNEW_PAGE_ALLOC_FAILED , runtime , KBA , PP-MRP-ES-2CL , Enterprise Services in MRP (Public Cloud) , PP-FIO-MRP-2CL , Fiori UI for Material Requirements Planning (Public Cloud) , Problem