SAP Function Modules

FKK_RDI_SELECT_INIT SAP Function module







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

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


Pattern for FM FKK_RDI_SELECT_INIT - FKK RDI SELECT INIT





CALL FUNCTION 'FKK_RDI_SELECT_INIT' "
  EXPORTING
    is_sel_crit =               " fkkrdi_sel_crit  Selection Criteria for Enhanced Distribution Information
*   i_flg_orig_doc =            " xfeld
*   i_flg_distr_doc =           " xfeld
*   i_flg_aggrf =               " rdi_xaggr_read_kk  Read Aggregated Distribution Information
*   i_flg_paym =                " rdi_xpaym_read_kk  Read Payment Information
*   i_flg_simu =                " rdi_xsimu_read_kk  Read Simulated Assigned Payments
*   i_flg_multicall =           " xfeld
*   i_flg_bw_init =             " xfeld
*   i_flg_bw_delta =            " xfeld
*   i_flg_no_doc =              " xfeld
*   i_bw_strat =                " rdi_bw_stra_kk
    .  "  FKK_RDI_SELECT_INIT

ABAP code example for Function Module FKK_RDI_SELECT_INIT





The ABAP code below is a full code listing to execute function module FKK_RDI_SELECT_INIT 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_is_sel_crit) = 'Check type of data required'.
DATA(ld_i_flg_orig_doc) = 'Check type of data required'.
DATA(ld_i_flg_distr_doc) = 'Check type of data required'.
DATA(ld_i_flg_aggrf) = 'Check type of data required'.
DATA(ld_i_flg_paym) = 'Check type of data required'.
DATA(ld_i_flg_simu) = 'Check type of data required'.
DATA(ld_i_flg_multicall) = 'Check type of data required'.
DATA(ld_i_flg_bw_init) = 'Check type of data required'.
DATA(ld_i_flg_bw_delta) = 'Check type of data required'.
DATA(ld_i_flg_no_doc) = 'Check type of data required'.
DATA(ld_i_bw_strat) = 'Check type of data required'. . CALL FUNCTION 'FKK_RDI_SELECT_INIT' EXPORTING is_sel_crit = ld_is_sel_crit * i_flg_orig_doc = ld_i_flg_orig_doc * i_flg_distr_doc = ld_i_flg_distr_doc * i_flg_aggrf = ld_i_flg_aggrf * i_flg_paym = ld_i_flg_paym * i_flg_simu = ld_i_flg_simu * i_flg_multicall = ld_i_flg_multicall * i_flg_bw_init = ld_i_flg_bw_init * i_flg_bw_delta = ld_i_flg_bw_delta * i_flg_no_doc = ld_i_flg_no_doc * i_bw_strat = ld_i_bw_strat . " FKK_RDI_SELECT_INIT
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_is_sel_crit  TYPE FKKRDI_SEL_CRIT ,
ld_i_flg_orig_doc  TYPE XFELD ,
ld_i_flg_distr_doc  TYPE XFELD ,
ld_i_flg_aggrf  TYPE RDI_XAGGR_READ_KK ,
ld_i_flg_paym  TYPE RDI_XPAYM_READ_KK ,
ld_i_flg_simu  TYPE RDI_XSIMU_READ_KK ,
ld_i_flg_multicall  TYPE XFELD ,
ld_i_flg_bw_init  TYPE XFELD ,
ld_i_flg_bw_delta  TYPE XFELD ,
ld_i_flg_no_doc  TYPE XFELD ,
ld_i_bw_strat  TYPE RDI_BW_STRA_KK .

ld_is_sel_crit = 'Check type of data required'.
ld_i_flg_orig_doc = 'Check type of data required'.
ld_i_flg_distr_doc = 'Check type of data required'.
ld_i_flg_aggrf = 'Check type of data required'.
ld_i_flg_paym = 'Check type of data required'.
ld_i_flg_simu = 'Check type of data required'.
ld_i_flg_multicall = 'Check type of data required'.
ld_i_flg_bw_init = 'Check type of data required'.
ld_i_flg_bw_delta = 'Check type of data required'.
ld_i_flg_no_doc = 'Check type of data required'.
ld_i_bw_strat = '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 FKK_RDI_SELECT_INIT or its description.