Symptom
The following error occurs when creating production or process orders integrated with a Manufacturing Execution System (MES):
- Operation control key XXXX cannot be used with an MES
Message no. CO_MES_INT031
Environment
SAP S/4HANA Cloud Public Edition.
Reproducing the Issue
- Open the Create Process Order app or Create Production Order app
- Create an order
- The error occurs:
Operation control key XXXX cannot be used with an MES
Message no. CO_MES_INT031
Cause
This error occurs because milestone confirmation is not supported in MES-integrated scenarios. The system is functioning as designed.
Resolution
To resolve the issue, avoid using control keys configured with milestone confirmation in MES-integrated environments.
Since MES does not support milestone confirmation, such control keys are not applicable for integrated orders.
See Also
- SAP Note | 1502536 - Check for milestone operations missing in MES integration.
Keywords
operation control key, mes, sap_com_0522, manufacturing order integration, CO_MES_INT031, milestone confirmation, SAP S/4HANA Cloud , KBA , PP-SFC-ES-2CL , Enterprise Services in Shop Floor Control (Public Cloud) , PP-MES , Integration with Manufacturing Execution Systems , Problem