Symptom
You have maintained the control indicator for missing parts as "1 - User decides on release if parts are missing" in SSCUI 102447 - Define Checking Control. This means a dialog will pop up and the user can decide whether the production order can be released if there are missing parts.
However, when you release a production order via API_PRODUCTION_ORDER_2_SRV, when there are missing parts, no popup is there for the user to make a decision. Instead, the production order fails to be released due to the missing parts.
Environment
SAP S/4HANA Public Cloud
Cause
This is the standard system behavior.
Releasing the production order via API is a background process, where a user dialog is not possible, so when there are missing parts, the user cannot make a decision. The system will directly reject the order release due to the missing parts.
Resolution
In SSCUI 102447 - Define Checking Control, there are 3 options for release control when there are missing parts:
- User decides on release if parts are missing
- Release permitted despite missing parts
- No release if parts are missing
In the context of API, only option 2 & 3 will be considered.
Keywords
release production order, missing parts, API_PRODUCTION_ORDER_2_SRV, user dialog, popup, SSCUI 102447 - Define Checking Control, OPJK , KBA , PP-SFC-EXE-2CL , Order Execution (Public Cloud) , Problem