SAP Knowledge Base Article - Public

3332545 - Run time error occurs when calling API API_MRP_MATERIALS_SRV_01 

Symptom

Run time error occurs when using API API_MRP_MATERIALS_SRV_01  to retrieve Supply and Demand data.

Environment

SAP S/4HANA Cloud

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.
Standard ODATA filter options like $Top, $Skip and so on can also be used. 

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) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions