SAP Function Modules

DD_ICNV_PERFORMANCE SAP Function module







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

Associated Function Group: SDB6
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM DD_ICNV_PERFORMANCE - DD ICNV PERFORMANCE





CALL FUNCTION 'DD_ICNV_PERFORMANCE' "
* EXPORTING
*   buffered =                  " ddrefstruc-bool
*   bar_length =                " sy-fdpos      Character strings, offset in character string
*   minimize_error = ' '        " ddrefstruc-bool
*   appl = 'ICNV'               " ddicnvpros-iappl  Application for Incremental Conversion/Incremental Migration
  IMPORTING
    total_percent =             " icnvperf-percent  Converted Amount in Percent
    total_percente =            " icnvperf-percente
    date =                      " sy-datum
    time =                      " sy-uzeit
    precision =                 " icnvperf-undef1
    stat_info =                 "
    est_info =                  "
* TABLES
*   perfor_tab =                " icnvperf
  EXCEPTIONS
    OP_FAILURE = 1              "
    NO_DATA_AVAILABLE = 2       "
    .  "  DD_ICNV_PERFORMANCE

ABAP code example for Function Module DD_ICNV_PERFORMANCE





The ABAP code below is a full code listing to execute function module DD_ICNV_PERFORMANCE 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:
ld_total_percent  TYPE ICNVPERF-PERCENT ,
ld_total_percente  TYPE ICNVPERF-PERCENTE ,
ld_date  TYPE SY-DATUM ,
ld_time  TYPE SY-UZEIT ,
ld_precision  TYPE ICNVPERF-UNDEF1 ,
ld_stat_info  TYPE STRING ,
ld_est_info  TYPE STRING ,
it_perfor_tab  TYPE STANDARD TABLE OF ICNVPERF,"TABLES PARAM
wa_perfor_tab  LIKE LINE OF it_perfor_tab .


DATA(ld_buffered) = some text here
DATA(ld_bar_length) = '123 '.

DATA(ld_minimize_error) = some text here

DATA(ld_appl) = some text here

"populate fields of struture and append to itab
append wa_perfor_tab to it_perfor_tab. . CALL FUNCTION 'DD_ICNV_PERFORMANCE' * EXPORTING * buffered = ld_buffered * bar_length = ld_bar_length * minimize_error = ld_minimize_error * appl = ld_appl IMPORTING total_percent = ld_total_percent total_percente = ld_total_percente date = ld_date time = ld_time precision = ld_precision stat_info = ld_stat_info est_info = ld_est_info * TABLES * perfor_tab = it_perfor_tab EXCEPTIONS OP_FAILURE = 1 NO_DATA_AVAILABLE = 2 . " DD_ICNV_PERFORMANCE
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 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_total_percent  TYPE ICNVPERF-PERCENT ,
ld_buffered  TYPE DDREFSTRUC-BOOL ,
it_perfor_tab  TYPE STANDARD TABLE OF ICNVPERF ,
wa_perfor_tab  LIKE LINE OF it_perfor_tab,
ld_total_percente  TYPE ICNVPERF-PERCENTE ,
ld_bar_length  TYPE SY-FDPOS ,
ld_date  TYPE SY-DATUM ,
ld_minimize_error  TYPE DDREFSTRUC-BOOL ,
ld_time  TYPE SY-UZEIT ,
ld_appl  TYPE DDICNVPROS-IAPPL ,
ld_precision  TYPE ICNVPERF-UNDEF1 ,
ld_stat_info  TYPE STRING ,
ld_est_info  TYPE STRING .


ld_buffered = some text here

"populate fields of struture and append to itab
append wa_perfor_tab to it_perfor_tab.
ld_bar_length = '123 '.

ld_minimize_error = some text here

ld_appl = some text here

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