SAP Function Modules

CLIDL_LOAD_CUSTOMIZING SAP Function module







CLIDL_LOAD_CUSTOMIZING is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name CLIDL_LOAD_CUSTOMIZING into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: CLIDL
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM CLIDL_LOAD_CUSTOMIZING - CLIDL LOAD CUSTOMIZING





CALL FUNCTION 'CLIDL_LOAD_CUSTOMIZING' "
* EXPORTING
*   destination =               " rfcdest       Target System
*   source =                    " rfcdest       Source System
*   with_charact_status = 'X'   " flag
*   with_charact_groups = 'X'   " flag
*   with_class_status = 'X'     " flag
*   with_class_groups = 'X'     " flag
*   commit =                    " flag          Update changes
  TABLES
    it_klart_range =            " clklartrange  Class Types
*   it_sicht_range =            " clsichtrange  Range Structure for SICHT/ABTEI (Org. Areas in KLAH/KSML)
  EXCEPTIONS
    AUTHORITY_DENIED = 1        "               No Authorization
    DESTINATION_INVALID = 2     "
    COMMUNICATION_FAILURE = 3   "               Error during transfer
    SYSTEM_FAILURE = 4          "               System Error
    SYSTEM_NOT_MAINTAINED = 5   "               Logical system is not defined
    SELECTION_CRITERIA_MISSING = 6  "
    WRONG_INPUT = 7             "
    .  "  CLIDL_LOAD_CUSTOMIZING

ABAP code example for Function Module CLIDL_LOAD_CUSTOMIZING





The ABAP code below is a full code listing to execute function module CLIDL_LOAD_CUSTOMIZING including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
it_it_klart_range  TYPE STANDARD TABLE OF CLKLARTRANGE,"TABLES PARAM
wa_it_klart_range  LIKE LINE OF it_it_klart_range ,
it_it_sicht_range  TYPE STANDARD TABLE OF CLSICHTRANGE,"TABLES PARAM
wa_it_sicht_range  LIKE LINE OF it_it_sicht_range .

DATA(ld_destination) = 'Check type of data required'.
DATA(ld_source) = 'Check type of data required'.
DATA(ld_with_charact_status) = 'Check type of data required'.
DATA(ld_with_charact_groups) = 'Check type of data required'.
DATA(ld_with_class_status) = 'Check type of data required'.
DATA(ld_with_class_groups) = 'Check type of data required'.
DATA(ld_commit) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_klart_range to it_it_klart_range.

"populate fields of struture and append to itab
append wa_it_sicht_range to it_it_sicht_range. . CALL FUNCTION 'CLIDL_LOAD_CUSTOMIZING' * EXPORTING * destination = ld_destination * source = ld_source * with_charact_status = ld_with_charact_status * with_charact_groups = ld_with_charact_groups * with_class_status = ld_with_class_status * with_class_groups = ld_with_class_groups * commit = ld_commit TABLES it_klart_range = it_it_klart_range * it_sicht_range = it_it_sicht_range EXCEPTIONS AUTHORITY_DENIED = 1 DESTINATION_INVALID = 2 COMMUNICATION_FAILURE = 3 SYSTEM_FAILURE = 4 SYSTEM_NOT_MAINTAINED = 5 SELECTION_CRITERIA_MISSING = 6 WRONG_INPUT = 7 . " CLIDL_LOAD_CUSTOMIZING
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 4. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 5. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 6. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 7. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_destination  TYPE RFCDEST ,
it_it_klart_range  TYPE STANDARD TABLE OF CLKLARTRANGE ,
wa_it_klart_range  LIKE LINE OF it_it_klart_range,
ld_source  TYPE RFCDEST ,
it_it_sicht_range  TYPE STANDARD TABLE OF CLSICHTRANGE ,
wa_it_sicht_range  LIKE LINE OF it_it_sicht_range,
ld_with_charact_status  TYPE FLAG ,
ld_with_charact_groups  TYPE FLAG ,
ld_with_class_status  TYPE FLAG ,
ld_with_class_groups  TYPE FLAG ,
ld_commit  TYPE FLAG .

ld_destination = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_klart_range to it_it_klart_range.
ld_source = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_sicht_range to it_it_sicht_range.
ld_with_charact_status = 'Check type of data required'.
ld_with_charact_groups = 'Check type of data required'.
ld_with_class_status = 'Check type of data required'.
ld_with_class_groups = 'Check type of data required'.
ld_commit = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CLIDL_LOAD_CUSTOMIZING or its description.