New Production Order API: Change Component: Symptom
New Production Order API: Change Component: Symptom
New Production Order API: Change Component: Symptom
Symptom
You want to use an API to change data of components for production orders. This function was not previously available.
BAPI_ALM_ORDER_MAINTAIN does not allow you to change the data of production orders.
Other Terms
CO_SE_PRODORD_CMP_CHANGE, production order, RESB
Solution
You can use the new API CO_SE_PRODORD_CMP_CHANGE to change one or more components of a production order.
To change the fields defined by SAP in the parameter IT_COMPONENTS, the function module
CO_XT_COMPONENTS_CHANGE is called internally.
The following standard fields of a component that are contained in IT_COMPONENTS can be changed:
Material, plant, storage location, batch, quantity, unit of measure, requirement date, operation internal counter.
All additional fields from the customer include CI_COSE_CMP_API_CHANGE must be supplied by the
customer using the BAdI.
For more information, see the documentation for the function module CO_SE_PRODORD_CMP_CHANGE and the BAdI
WORKORDER_CMP_API_CHANGE.
We recommend that you import the relevant support package to implement the changes.
Manual Activities
------------------------------------------------------------------------
|Manual Activity |
------------------------------------------------------------------------
|VALID FOR |
|Software Component SAP_APPL SAP Application |
| Release 617 SAPKH61701 - SAPKH61725 |
| Release 618 Until SAPK-61819INSAPAPPL |
|Software Component S4CORE |
| Release 102 Until SAPK-10211INS4CORE |
| Release 103 Until SAPK-10309INS4CORE |
| Release 104 Until SAPK-10407INS4CORE |
| Release 105 Until SAPK-10505INS4CORE |
------------------------------------------------------------------------
|NOT VALID FOR |
|Software Component SAP_BASIS SAP Basis compo...|
| Release 740 From SAPKB74027 |
| Release 750 From SAPK-75023INSAPBASIS |
| Release 751 From SAPK-75113INSAPBASIS |
| Release 752 From SAPK-75209INSAPBASIS |
| Release 753 From SAPK-75307INSAPBASIS |
| Release 754 From SAPK-75405INSAPBASIS |
| Release 755 From SAPK-75503INSAPBASIS |
------------------------------------------------------------------------
Software Components
Software Component From To And subsequent
Correction Instructions
Software Component Number of Correction Instructions
SAP_APPL 8
S4CORE 17
Prerequisites
Software From To SAP Title Component
Component Note/KBA
S4CORE 101 105 3050383 Function module CO_XT_COMPONENT_CHANGE collects wrong SCM-APO-INT-
error message PPS
S4CORE 101 106 3077069 CO_XT_COMPONENT_CHANGE: new IMPORTING parameters for SCM-APO-INT-
the "Activity Number" and the "Production Supply Area" PPS
S4CORE 107 107 3281435 New production order API: Change component PP-SFC-PLN-
CPT
SAP_APPL 600 618 3050383 Function module CO_XT_COMPONENT_CHANGE collects wrong SCM-APO-INT-
error message PPS
SAP_APPL 600 618 3077069 CO_XT_COMPONENT_CHANGE: new IMPORTING parameters for SCM-APO-INT-
the "Activity Number" and the "Production Supply Area" PPS
SAP_APPL 617 617 3281435 New production order API: Change component PP-SFC-PLN-
CPT
SAP_APPL 618 618 3281435 New production order API: Change component PP-SFC-PLN-
CPT
Support Package
Software Component Version Support Package
3077069 SCM-APO-INT- CO_XT_COMPONENT_CHANGE: new IMPORTING parameters for the "Activity Number" and
PPS the "Production Supply Area"
1636321