MRP Live Technical Settings

System parameters stored in table PPHMRPSET — not visible in the standard UI

Accessing MRP Live Settings

SAP S/4HANA (1610 and later) Use transaction PPHMRPSET (report PPHMRPSET_MAINTAIN) to view and modify system settings. If unavailable, implement SAP Note 3027513.
SAP Business Suite on HANA (ECC 617 and later) Use transaction SE16, enter table PPHMRPSET, and execute. If no entry exists, create one. Existing entries can be edited.

Performance Analysis & Optimization

Use transaction MD_MRP_PERFLOG to analyze MRP run times by checking the elapsed time for each step. If a step takes too long, consider:

  • Increasing NUM_PROC_HANA — parallel tasks for MRP Live
  • Decreasing PACK_SIZE_HANA — materials per planning package

The Fiori App "MRP Run Key Figures" provides the same information.

For more advanced optimization, implement enhancement spot ES_PPH_MRP_DISPATCHER_BADI (method DISPATCH_GET_PARAMETERS) to adjust parameters per low-level code.

Locking Mechanism

MAXLOCKS Default: 200

Defines the number of material/plant combinations locked per step. If exceeded, the system locks at the plant level instead of material/plant level.

Parallelization in MRP Live on HANA

NUM_PROC_HANA Default: 8

Maximum parallel processes for MRP Live. Higher values increase CPU load for faster processing.

PACK_SIZE_HANA Default: 10,000

Minimum materials per planning package. Smaller values create more packages but can improve performance.

MAX_HANA_MRP Default: 100,000

Limits materials processed in one step to prevent HANA memory overload. Reduce to 50,000 or 25,000 if memory issues occur.

MIN_HANA_MRP Default: 1

Forces small MRP levels to be processed in ABAP instead of HANA for efficiency.

Parallelization of Classic MRP & Advanced Planning

NUM_PROC_ABAP Default: 8

Maximum parallel tasks for Classic MRP.

ABAP_PACKAGE_SIZE Default: 20

Maximum materials per Classic MRP planning task.

PPH_MRP_SERVER_GROUP

Specifies a server group for ABAP processing. Configured in transaction RZ12.

HANA_ABAP_PARALLEL

Enables HANA and ABAP planning in parallel. Set to 'X' to reduce Classic MRP runtime.

Package Size Calculation Methods

Dynamic Packaging Logic (default)

Creates planning packages based on stored KPIs:

  • Number of MRP areas
  • Number of MRP elements
  • Number of production versions
  • Number of BOM components

KPI weights can be adjusted using the following parameters:

  • MRP_FACTOR_BERID
  • MRP_FACTOR_MDPS
  • FACTOR_RTO_HEADER
  • FACTOR_RTO_ITEM

Simple Packaging Logic

Determines package size based on:

  • NUM_PROC_HANA — parallel HANA tasks
  • PACK_SIZE_HANA — minimum package size
  • MAX_HANA_MRP — maximum package size

Parallel Processing Settings

MAX_WAIT Default: 1800 sec

Maximum time allowed for initializing parallel processing before switching to sequential execution.

WAIT_FOR_SPBT_RETRY Default: 20 sec

Time between attempts to acquire parallel processing tasks.

Postprocessing Optimization

PURREQ_POSTPROC_PACK_SIZE Default: 1000

Defines batch size for postprocessing purchase requisitions.

NUM_PROC_POSTPROC Default: 8

Number of parallel tasks for postprocessing.