SAP Knowledge Base Article - Public

3237472 - Error message "Scheduling error occured; check master data of plan" during MRP run

Symptom

You run MRP with Lead Time Scheduling by setting the scheduling indicator as "2 - Lead Time Scheduling and Capacity Planning".
After the MRP run, an error message "Scheduling error occured; check master data of plan" shows up (message number PPH_MRP233).
However, when you check the planned order, you find the lead time scheduling is carried out successfully.

Environment

SAP S/4HANA Cloud

Reproducing the Issue

1. Enter related apps where you want to run the MRP.
2. Fill in necessary parameters, especially set the scheduling indicator as 2. If you run the MRP:
(1) by scheduling a job, set the scheduling indicator in job details.
(2) in apps that can trigger an MRP run, set the scheduling indicator in MRP settings within the apps.
3. Run the MRP.
4. The error message shows up.
5. Check in the planned orders generated by the MRP, the lead time scheduling is carried out successfully.

Cause

The error message shows up because you haven't maintained the "In-House Production" parameter of the material properly. The In-House Production time should represent the longest time it takes to produce the material and affect the determination of the order start and finish date. If it is not maintained long enough, the calculated production finish date will be later than the order finish date, which makes no sense thus will cause the error message. 

For example, the order start date is 08/01, and the calculated production finish date and order finish date are 08/09 and 08/10, respectively. If you maintain the In-House Production time as 5 days, then the order finished date will be forced to be 08/06 by the system. (Let's assume all the days are working days.) This means the order is finished even before the production is finished which is definitely unreasonable.

For the detailed logic of the dates calculation in Lead Time Scheduling, please refer to the following Help Page:
https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/fe39e10a9a864a8f8dc9537704f0fa13/9aabce5314894208e10000000a174cb4.html?version=1809.000

Resolution

Please make sure the In-House Production time of the material is long enough to cover the production duration calculated by the Lead Time Scheduling. 
You can maintain the parameter under the MRP2 or Work Scheduling view in the material master.

Keywords

MRP, Lead Time Scheduling and Capacity Planning, PPH_MRP233, In-House Production, planned order, order finish date, production finish date , KBA , PP-CRP , Capacity Planning , PP-MRP , Material Requirements Planning , Problem

Product

SAP S/4HANA Cloud all versions