SAP Function Modules

CNV_12000_COPY_CUSTOMIZING SAP Function module - Copy customizing into PCL system







CNV_12000_COPY_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 CNV_12000_COPY_CUSTOMIZING into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM CNV_12000_COPY_CUSTOMIZING - CNV 12000 COPY CUSTOMIZING





CALL FUNCTION 'CNV_12000_COPY_CUSTOMIZING' "Copy customizing into PCL system
  EXPORTING
    ld_packid_cwb =             " cnv_pack      Conversion: Conversion package number
  TABLES
    lt_define =                 " cnv_12000_define  Definition for Text Conversion
    lt_info =                   " cnv_12000_info  Information for Text Conversion
    lt_hiera =                  " cnv_12000_hiera  Hierarchy information for Short Text Conversion Interface
    .  "  CNV_12000_COPY_CUSTOMIZING

ABAP code example for Function Module CNV_12000_COPY_CUSTOMIZING





The ABAP code below is a full code listing to execute function module CNV_12000_COPY_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_lt_define  TYPE STANDARD TABLE OF CNV_12000_DEFINE,"TABLES PARAM
wa_lt_define  LIKE LINE OF it_lt_define ,
it_lt_info  TYPE STANDARD TABLE OF CNV_12000_INFO,"TABLES PARAM
wa_lt_info  LIKE LINE OF it_lt_info ,
it_lt_hiera  TYPE STANDARD TABLE OF CNV_12000_HIERA,"TABLES PARAM
wa_lt_hiera  LIKE LINE OF it_lt_hiera .

DATA(ld_ld_packid_cwb) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_lt_define to it_lt_define.

"populate fields of struture and append to itab
append wa_lt_info to it_lt_info.

"populate fields of struture and append to itab
append wa_lt_hiera to it_lt_hiera. . CALL FUNCTION 'CNV_12000_COPY_CUSTOMIZING' EXPORTING ld_packid_cwb = ld_ld_packid_cwb TABLES lt_define = it_lt_define lt_info = it_lt_info lt_hiera = it_lt_hiera . " CNV_12000_COPY_CUSTOMIZING
IF SY-SUBRC EQ 0. "All OK 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_ld_packid_cwb  TYPE CNV_PACK ,
it_lt_define  TYPE STANDARD TABLE OF CNV_12000_DEFINE ,
wa_lt_define  LIKE LINE OF it_lt_define,
it_lt_info  TYPE STANDARD TABLE OF CNV_12000_INFO ,
wa_lt_info  LIKE LINE OF it_lt_info,
it_lt_hiera  TYPE STANDARD TABLE OF CNV_12000_HIERA ,
wa_lt_hiera  LIKE LINE OF it_lt_hiera.

ld_ld_packid_cwb = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_lt_define to it_lt_define.

"populate fields of struture and append to itab
append wa_lt_info to it_lt_info.

"populate fields of struture and append to itab
append wa_lt_hiera to it_lt_hiera.

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 CNV_12000_COPY_CUSTOMIZING or its description.