Symptom
When using API API_PRODUCTION_ORDER_2_SRV to release production order, it failed due to error : "Release of order not possible". However, it is possible to release the production order through the UI.
Environment
SAP S/4HANA Cloud Public Edition.
Reproducing the Issue
Using API_PRODUCTION_ORDER_2_SRV/ReleaseOrder?ManufacturingOrder='xxxxxxx' to release production order.
Cause
When releasing production order, the ATP check is performed and there are missing parts. In the UI, we can still release the order regardless of the warning.
This is impossible in the API, because APIs technically cannot display popups.
Therefore, in the API there is no possibility for the similar popup whether the order should be released despite missing parts.
This popup only appears in Create Production Order (CO01) / Change Production Order (CO02) apps if the "User decides on release if parts are missing" configuration setting had been chosen in SSCUI 102447 – ‘Define Checking Control’
Resolution
Configuration Step ID: 102447 – ‘Define Checking Control’
For the plant / order type combination
- “Business function” 2 Check availability during order release
- Go to details
- Field Release material
The following options are available here:
- “1 - User decides on release if parts are missing”
The popup will appear in Create Production Order (CO01) / Change Production Order (CO02). - “2 - Release permitted despite missing parts”
The Production Order will be released even if parts are missing. - "3 – No release if parts are missing"
Releasing is forbidden.
Note that in case of changing this setting to option 2 or 3, the popup will also no longer appear in Create Production Order (CO01) / Change Production Order (CO02) apps for that order type/plant combination. In this case, make sure there are no missing parts before releasing the order.
Keywords
API API_PRODUCTION_ORDER_2_SRV, A_ProductionOrder_2, release, CO118, Release of order not possible, process order, SSCUI, Configuration Step ID, 102447, Define Checking Control, ATP, missing parts, availability, popup , KBA , PP-SFC-EXE-2CL , Order Execution (Public Cloud) , PP-SFC-ES-2CL , Enterprise Services in Shop Floor Control (Public Cloud) , Problem
SAP Knowledge Base Article - Public