SAP Knowledge Base Article - Public

3237472 - Error message PPH_MRP233 "Scheduling error occured; check master data of plan" shows up 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 occurred; check master data of plan" shows up (message number PPH_MRP233).
However, when you check the planned order, you find the lead time scheduling has been 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 MRP Cockpits, set the scheduling indicator in MRP settings within the apps.
3. Run the MRP.
4. You can see the error message:
(1) directly if the MRP run is started in app Manage Material Coverage
(2) in app Display MRP Master Data Issues if the MRP run is started in app Monitor Material Coverage or by a scheduled job.
5. Check in the planned orders generated by the MRP, the lead time scheduling is carried out successfully.

Cause

Although the Lead Time Scheduling has been carried out for the planned order, due to the improper configurations, the Production Start Date is before the Basic Start Date or the Production End Date is after the Basic End Date in the planned order. As a result, the error message shows up.

Resolution

There are many root causes may lead to this situation. 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
Also, there is another very useful consulting note about scheduling for planned order:
152319 - Consulting: Scheduling of planned order for routing
They are both for OP system but the logic can also apply to the cloud system.

You can especially pay attention to the following:
1. The "In-House Production" field under the MRP2 view of the master data. It will directly determine the calculation of the Basic Start Date and Basic End Date.
2. The "Adjust Dates" parameter in SSCUI 101173 - Define scheduling parameters for planned orders. It will decide whether and how the basic dates calculated by the master data are adjusted based on the results of the detailed scheduling.
3. Also, the answer of the "How is the time of the order finish date calculated?" question in the consulting note:
Check the in-house production time of the header material of the order in the material master as the time of the order finish date is determined by the following logic:

  • In-house production time is greater than zero days:
               The system interprets the order finish date of the planned order as a requirements date for the material. Therefore the following rule applies: If an in-house production time greater than 0 days has been defined in the material master, the requirements date is at the beginning of the day, that is, the order finish date is set to 00:00 hours. In this case, the order finish date differs by one day from the production finish date of the order because the production must have already been finished on the previous day so that the material is available at the beginning of the next day.
  • With an in-house production time equal to zero days, it is assumed that the material can be produced at any time of day. For this reason, the order finish date is set to 24:00 hours.

If your work center capacity is set as over-day, for example, form 8am today to 6am the next day and the In-House Production time is 0 day, this will lead to the error message.

In a word, you should adjust your scheduling parameters based on the scheduling logic and make sure the Production Dates is within the Basic Dates period.

Keywords

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

Product

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