Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

SAP Note

3281435 - New production order API: Change component


Component: PP-SFC-PLN-CPT (Production Planning and Control > Production Orders > Order Planning >
Components), Version: 4, Released On: 19.07.2023

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

Reason and Prerequisites


For more information, see SAP Notes 1275923, 1694267, and 1636321.

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 |
------------------------------------------------------------------------

1.) Call transaction SA38.


2.) Enter the program name NOTE_3281435.
3.) Execute the program.
4.) Select "Step 2 Update & Activate".
5.) Execute the program.

Software Components
Software Component From To And subsequent

SAP_APPL 617 617

SAP_APPL 618 618

S4CORE 102 102

S4CORE 103 103

S4CORE 104 104

S4CORE 105 105

S4CORE 106 106

S4CORE 107 107

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

S4CORE 102 SAPK-10212INS4CORE

S4CORE 103 SAPK-10310INS4CORE

S4CORE 104 SAPK-10408INS4CORE

S4CORE 105 SAPK-10506INS4CORE

S4CORE 106 SAPK-10604INS4CORE

S4CORE 107 SAPK-10702INS4CORE

SAP_APPL 617 SAPKH61726

SAP_APPL 618 SAPK-61820INSAPAPPL

This document is causing side effects


SAP Note/KBA Title

3293947 Error COSE 090 when changing material components using CO_SE_PRODORD_CMP_CHANGE

This document refers to


SAP Component Title
Note/KBA

3077069 SCM-APO-INT- CO_XT_COMPONENT_CHANGE: new IMPORTING parameters for the "Activity Number" and
PPS the "Production Supply Area"

3050383 SCM-APO-INT- Function module CO_XT_COMPONENT_CHANGE collects wrong error message


PPS

1694267 PP-SFC-PLN BAPI_ALM_ORDER_MAINTAIN not for work orders

1636321

This document is referenced by


SAP Note/KBA Component Title

3304516 Make CO_SE_PRODORD_CMP_CHANGE RFC-enabled

You might also like