SAP CLOI_CHANGES_UPL_45 Function Module for Upload of data changes









CLOI_CHANGES_UPL_45 is a standard cloi changes upl 45 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Upload of data changes 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 changes upl 45 FM, simply by entering the name CLOI_CHANGES_UPL_45 into the relevant SAP transaction such as SE37 or SE38.

Function Group: LOI2
Program Name: SAPLLOI2
Main Program: SAPLLOI2
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function CLOI_CHANGES_UPL_45 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_CHANGES_UPL_45'"Upload of data changes
EXPORTING
CLOI_IF_PAR = "

IMPORTING
CLOI_RET_VAL = "

TABLES
* CLOI_PLORDI_IMP = "
* CLOI_EBAN_IMP = "
* CLOI_EKPO_IMP = "
* CLOI_MAP_EXP = "
* CLOI_METHOD_LOG_EXP = "
* CLOI_MESSAGE_LOG_EXP = "
* CLOI_MSG_OBJ_LOG_EXP = "
* CLOI_PLORD_EXP = "
* CLOI_ORD_EXP = "
* CLOI_PLORD_OPR_EXP = "
* CLOI_ORD_OPR_EXP = "
* CLOI_PLORDU_IMP = "
* CLOI_ORD_SEQ_EXP = "
* CLOI_PLORDD_IMP = "
* CLOI_ORDI_IMP = "
* CLOI_ORDU_IMP = "
* CLOI_PLORD_OPRU_IMP = "
* CLOI_ORD_OPRU_IMP = "
* CLOI_PLORD_RESBU_IMP = "
* CLOI_ORD_RESBU_IMP = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLLOI2_001 User Exit for Function Module cloi_changes_upl_31

IMPORTING Parameters details for CLOI_CHANGES_UPL_45

CLOI_IF_PAR -

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

EXPORTING Parameters details for CLOI_CHANGES_UPL_45

CLOI_RET_VAL -

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

TABLES Parameters details for CLOI_CHANGES_UPL_45

CLOI_PLORDI_IMP -

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

CLOI_EBAN_IMP -

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

CLOI_EKPO_IMP -

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

CLOI_MAP_EXP -

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

CLOI_METHOD_LOG_EXP -

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

CLOI_MESSAGE_LOG_EXP -

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

CLOI_MSG_OBJ_LOG_EXP -

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

CLOI_PLORD_EXP -

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

CLOI_ORD_EXP -

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

CLOI_PLORD_OPR_EXP -

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

CLOI_ORD_OPR_EXP -

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

CLOI_PLORDU_IMP -

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

CLOI_ORD_SEQ_EXP -

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

CLOI_PLORDD_IMP -

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

CLOI_ORDI_IMP -

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

CLOI_ORDU_IMP -

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

CLOI_PLORD_OPRU_IMP -

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

CLOI_ORD_OPRU_IMP -

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

CLOI_PLORD_RESBU_IMP -

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

CLOI_ORD_RESBU_IMP -

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

Copy and paste ABAP code example for CLOI_CHANGES_UPL_45 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:
lv_cloi_if_par  TYPE CLOIIFPAR, "   
lv_cloi_ret_val  TYPE CLOIRETVAL, "   
lt_cloi_plordi_imp  TYPE STANDARD TABLE OF CLOIPLAFI, "   
lt_cloi_eban_imp  TYPE STANDARD TABLE OF CLOIEBANU, "   
lt_cloi_ekpo_imp  TYPE STANDARD TABLE OF CLOIEKPOU, "   
lt_cloi_map_exp  TYPE STANDARD TABLE OF CLOIMAP, "   
lt_cloi_method_log_exp  TYPE STANDARD TABLE OF CLOIMETLOG, "   
lt_cloi_message_log_exp  TYPE STANDARD TABLE OF CLOIMSGLOG, "   
lt_cloi_msg_obj_log_exp  TYPE STANDARD TABLE OF CLOIMOBLOG, "   
lt_cloi_plord_exp  TYPE STANDARD TABLE OF CLOIPLAF, "   
lt_cloi_ord_exp  TYPE STANDARD TABLE OF CLOIORD, "   
lt_cloi_plord_opr_exp  TYPE STANDARD TABLE OF CLOIPLOPR, "   
lt_cloi_ord_opr_exp  TYPE STANDARD TABLE OF CLOIOPER, "   
lt_cloi_plordu_imp  TYPE STANDARD TABLE OF CLOIPLAFU, "   
lt_cloi_ord_seq_exp  TYPE STANDARD TABLE OF CLOIORDSEQ, "   
lt_cloi_plordd_imp  TYPE STANDARD TABLE OF CLOIPLAFD, "   
lt_cloi_ordi_imp  TYPE STANDARD TABLE OF CLOIORDI, "   
lt_cloi_ordu_imp  TYPE STANDARD TABLE OF CLOIORDU, "   
lt_cloi_plord_opru_imp  TYPE STANDARD TABLE OF CLOIPLOPRU, "   
lt_cloi_ord_opru_imp  TYPE STANDARD TABLE OF CLOIOPERU, "   
lt_cloi_plord_resbu_imp  TYPE STANDARD TABLE OF CLOIPLRESBU, "   
lt_cloi_ord_resbu_imp  TYPE STANDARD TABLE OF CLOIRESBU. "   

  CALL FUNCTION 'CLOI_CHANGES_UPL_45'  "Upload of data changes
    EXPORTING
         CLOI_IF_PAR = lv_cloi_if_par
    IMPORTING
         CLOI_RET_VAL = lv_cloi_ret_val
    TABLES
         CLOI_PLORDI_IMP = lt_cloi_plordi_imp
         CLOI_EBAN_IMP = lt_cloi_eban_imp
         CLOI_EKPO_IMP = lt_cloi_ekpo_imp
         CLOI_MAP_EXP = lt_cloi_map_exp
         CLOI_METHOD_LOG_EXP = lt_cloi_method_log_exp
         CLOI_MESSAGE_LOG_EXP = lt_cloi_message_log_exp
         CLOI_MSG_OBJ_LOG_EXP = lt_cloi_msg_obj_log_exp
         CLOI_PLORD_EXP = lt_cloi_plord_exp
         CLOI_ORD_EXP = lt_cloi_ord_exp
         CLOI_PLORD_OPR_EXP = lt_cloi_plord_opr_exp
         CLOI_ORD_OPR_EXP = lt_cloi_ord_opr_exp
         CLOI_PLORDU_IMP = lt_cloi_plordu_imp
         CLOI_ORD_SEQ_EXP = lt_cloi_ord_seq_exp
         CLOI_PLORDD_IMP = lt_cloi_plordd_imp
         CLOI_ORDI_IMP = lt_cloi_ordi_imp
         CLOI_ORDU_IMP = lt_cloi_ordu_imp
         CLOI_PLORD_OPRU_IMP = lt_cloi_plord_opru_imp
         CLOI_ORD_OPRU_IMP = lt_cloi_ord_opru_imp
         CLOI_PLORD_RESBU_IMP = lt_cloi_plord_resbu_imp
         CLOI_ORD_RESBU_IMP = lt_cloi_ord_resbu_imp
. " CLOI_CHANGES_UPL_45




ABAP code using 7.40 inline data declarations to call FM CLOI_CHANGES_UPL_45

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!