SAP CLOI_ORD_OPR_CHG Function Module for NOTRANSL: Upload changes to production orders / process orders / operation









CLOI_ORD_OPR_CHG is a standard cloi ord opr chg SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Upload changes to production orders / process orders / operation processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for cloi ord opr chg FM, simply by entering the name CLOI_ORD_OPR_CHG into the relevant SAP transaction such as SE37 or SE38.

Function Group: LOI4
Program Name: SAPLLOI4
Main Program: SAPLLOI4
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CLOI_ORD_OPR_CHG pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'CLOI_ORD_OPR_CHG'"NOTRANSL: Upload changes to production orders / process orders / operation
EXPORTING
* CLOI_IF_PAR = "
* X_NO_CONV = "

CHANGING
CLOI_SUCC_CODE = "

TABLES
* T_ORDI_IMP = "Insert information for orders
* T_ORDU_IMP = "Update information for orders
* T_ORD_OPRU_IMP = "Update information for operations
* T_ORD_RESBU_IMP = "
* T_ORD_EXP = "
* T_ORD_SEQ_EXP = "
* T_ORD_OPR_EXP = "
.



IMPORTING Parameters details for CLOI_ORD_OPR_CHG

CLOI_IF_PAR -

Data type: CLOIIFPAR
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_NO_CONV -

Data type: CLOI_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for CLOI_ORD_OPR_CHG

CLOI_SUCC_CODE -

Data type: METHOD_LOG-SUCC_CODE
Optional: No
Call by Reference: Yes

TABLES Parameters details for CLOI_ORD_OPR_CHG

T_ORDI_IMP - Insert information for orders

Data type: CLOIORDI
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_ORDU_IMP - Update information for orders

Data type: CLOIORDU
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_ORD_OPRU_IMP - Update information for operations

Data type: CLOIOPERU
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_ORD_RESBU_IMP -

Data type: CLOIRESBU
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_ORD_EXP -

Data type: CLOIORD3
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_ORD_SEQ_EXP -

Data type: CLOIORDSQ3
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_ORD_OPR_EXP -

Data type: CLOIOPER3
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CLOI_ORD_OPR_CHG Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lt_t_ordi_imp  TYPE STANDARD TABLE OF CLOIORDI, "   
lv_cloi_if_par  TYPE CLOIIFPAR, "   
lv_cloi_succ_code  TYPE METHOD_LOG-SUCC_CODE, "   
lv_x_no_conv  TYPE CLOI_X, "   
lt_t_ordu_imp  TYPE STANDARD TABLE OF CLOIORDU, "   
lt_t_ord_opru_imp  TYPE STANDARD TABLE OF CLOIOPERU, "   
lt_t_ord_resbu_imp  TYPE STANDARD TABLE OF CLOIRESBU, "   
lt_t_ord_exp  TYPE STANDARD TABLE OF CLOIORD3, "   
lt_t_ord_seq_exp  TYPE STANDARD TABLE OF CLOIORDSQ3, "   
lt_t_ord_opr_exp  TYPE STANDARD TABLE OF CLOIOPER3. "   

  CALL FUNCTION 'CLOI_ORD_OPR_CHG'  "NOTRANSL: Upload changes to production orders / process orders / operation
    EXPORTING
         CLOI_IF_PAR = lv_cloi_if_par
         X_NO_CONV = lv_x_no_conv
    CHANGING
         CLOI_SUCC_CODE = lv_cloi_succ_code
    TABLES
         T_ORDI_IMP = lt_t_ordi_imp
         T_ORDU_IMP = lt_t_ordu_imp
         T_ORD_OPRU_IMP = lt_t_ord_opru_imp
         T_ORD_RESBU_IMP = lt_t_ord_resbu_imp
         T_ORD_EXP = lt_t_ord_exp
         T_ORD_SEQ_EXP = lt_t_ord_seq_exp
         T_ORD_OPR_EXP = lt_t_ord_opr_exp
. " CLOI_ORD_OPR_CHG




ABAP code using 7.40 inline data declarations to call FM CLOI_ORD_OPR_CHG

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
"SELECT single SUCC_CODE FROM METHOD_LOG INTO @DATA(ld_cloi_succ_code).
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!