SAP Function Modules

OIUH_AFRVTAPSLBYQBE SAP Function module - OIUH_JE18 Fetch Routines







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

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


Pattern for FM OIUH_AFRVTAPSLBYQBE - OIUH AFRVTAPSLBYQBE





CALL FUNCTION 'OIUH_AFRVTAPSLBYQBE' "OIUH_JE18 Fetch Routines
  TABLES
    result_table =              " oiuh_afrvtapslbyqbe
  CHANGING
    fn_type_cd =                " c
    w_gl_or_lvl_1_no =          " c
    w_gl_acct_perd_dt =         " c
    w_gl_acct_no =              " c
    w_gl_wl_no =                " c
    w_gl_wc_no =                " c
    w_gl_pr_no =                " c
    w_gl_doi_no =               " c
    w_di_di_nm =                " c
    w_gl_pd_cd =                " c
    w_gl_sa_dt =                " c
    w_gl_ct_no =                " c
    w_gl_ct_type_cd =           " c
    w_gl_dn_no =                " c
    w_gl_sub_nwk_no =           " c
    w_dn_dn_de =                " c
    w_gl_pu_no =                " c
    w_gl_pu_seq_no =            " c
    w_ba_nm_1 =                 " c
    w_or1_or_lvl_1_nm =         " c
    w_coa_acct_nm =             " c
    w_wc_wc_nm =                " c
    w_apsl_acct_cat_cd =        " c
    w_apsl_mk_type_cd =         " c
    w_gl_sa_mp_no =             " c
    w_mp_mp_de =                " c
    rows_returned =             " i
    pmessage =                  " oiuh_pmessage_str
    .  "  OIUH_AFRVTAPSLBYQBE

ABAP code example for Function Module OIUH_AFRVTAPSLBYQBE





The ABAP code below is a full code listing to execute function module OIUH_AFRVTAPSLBYQBE 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_result_table  TYPE STANDARD TABLE OF OIUH_AFRVTAPSLBYQBE,"TABLES PARAM
wa_result_table  LIKE LINE OF it_result_table .

DATA(ld_fn_type_cd) = 'Check type of data required'.
DATA(ld_w_gl_or_lvl_1_no) = 'Check type of data required'.
DATA(ld_w_gl_acct_perd_dt) = 'Check type of data required'.
DATA(ld_w_gl_acct_no) = 'Check type of data required'.
DATA(ld_w_gl_wl_no) = 'Check type of data required'.
DATA(ld_w_gl_wc_no) = 'Check type of data required'.
DATA(ld_w_gl_pr_no) = 'Check type of data required'.
DATA(ld_w_gl_doi_no) = 'Check type of data required'.
DATA(ld_w_di_di_nm) = 'Check type of data required'.
DATA(ld_w_gl_pd_cd) = 'Check type of data required'.
DATA(ld_w_gl_sa_dt) = 'Check type of data required'.
DATA(ld_w_gl_ct_no) = 'Check type of data required'.
DATA(ld_w_gl_ct_type_cd) = 'Check type of data required'.
DATA(ld_w_gl_dn_no) = 'Check type of data required'.
DATA(ld_w_gl_sub_nwk_no) = 'Check type of data required'.
DATA(ld_w_dn_dn_de) = 'Check type of data required'.
DATA(ld_w_gl_pu_no) = 'Check type of data required'.
DATA(ld_w_gl_pu_seq_no) = 'Check type of data required'.
DATA(ld_w_ba_nm_1) = 'Check type of data required'.
DATA(ld_w_or1_or_lvl_1_nm) = 'Check type of data required'.
DATA(ld_w_coa_acct_nm) = 'Check type of data required'.
DATA(ld_w_wc_wc_nm) = 'Check type of data required'.
DATA(ld_w_apsl_acct_cat_cd) = 'Check type of data required'.
DATA(ld_w_apsl_mk_type_cd) = 'Check type of data required'.
DATA(ld_w_gl_sa_mp_no) = 'Check type of data required'.
DATA(ld_w_mp_mp_de) = 'Check type of data required'.
DATA(ld_rows_returned) = 'Check type of data required'.
DATA(ld_pmessage) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_result_table to it_result_table. . CALL FUNCTION 'OIUH_AFRVTAPSLBYQBE' TABLES result_table = it_result_table CHANGING fn_type_cd = ld_fn_type_cd w_gl_or_lvl_1_no = ld_w_gl_or_lvl_1_no w_gl_acct_perd_dt = ld_w_gl_acct_perd_dt w_gl_acct_no = ld_w_gl_acct_no w_gl_wl_no = ld_w_gl_wl_no w_gl_wc_no = ld_w_gl_wc_no w_gl_pr_no = ld_w_gl_pr_no w_gl_doi_no = ld_w_gl_doi_no w_di_di_nm = ld_w_di_di_nm w_gl_pd_cd = ld_w_gl_pd_cd w_gl_sa_dt = ld_w_gl_sa_dt w_gl_ct_no = ld_w_gl_ct_no w_gl_ct_type_cd = ld_w_gl_ct_type_cd w_gl_dn_no = ld_w_gl_dn_no w_gl_sub_nwk_no = ld_w_gl_sub_nwk_no w_dn_dn_de = ld_w_dn_dn_de w_gl_pu_no = ld_w_gl_pu_no w_gl_pu_seq_no = ld_w_gl_pu_seq_no w_ba_nm_1 = ld_w_ba_nm_1 w_or1_or_lvl_1_nm = ld_w_or1_or_lvl_1_nm w_coa_acct_nm = ld_w_coa_acct_nm w_wc_wc_nm = ld_w_wc_wc_nm w_apsl_acct_cat_cd = ld_w_apsl_acct_cat_cd w_apsl_mk_type_cd = ld_w_apsl_mk_type_cd w_gl_sa_mp_no = ld_w_gl_sa_mp_no w_mp_mp_de = ld_w_mp_mp_de rows_returned = ld_rows_returned pmessage = ld_pmessage . " OIUH_AFRVTAPSLBYQBE
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_fn_type_cd  TYPE C ,
it_result_table  TYPE STANDARD TABLE OF OIUH_AFRVTAPSLBYQBE ,
wa_result_table  LIKE LINE OF it_result_table,
ld_w_gl_or_lvl_1_no  TYPE C ,
ld_w_gl_acct_perd_dt  TYPE C ,
ld_w_gl_acct_no  TYPE C ,
ld_w_gl_wl_no  TYPE C ,
ld_w_gl_wc_no  TYPE C ,
ld_w_gl_pr_no  TYPE C ,
ld_w_gl_doi_no  TYPE C ,
ld_w_di_di_nm  TYPE C ,
ld_w_gl_pd_cd  TYPE C ,
ld_w_gl_sa_dt  TYPE C ,
ld_w_gl_ct_no  TYPE C ,
ld_w_gl_ct_type_cd  TYPE C ,
ld_w_gl_dn_no  TYPE C ,
ld_w_gl_sub_nwk_no  TYPE C ,
ld_w_dn_dn_de  TYPE C ,
ld_w_gl_pu_no  TYPE C ,
ld_w_gl_pu_seq_no  TYPE C ,
ld_w_ba_nm_1  TYPE C ,
ld_w_or1_or_lvl_1_nm  TYPE C ,
ld_w_coa_acct_nm  TYPE C ,
ld_w_wc_wc_nm  TYPE C ,
ld_w_apsl_acct_cat_cd  TYPE C ,
ld_w_apsl_mk_type_cd  TYPE C ,
ld_w_gl_sa_mp_no  TYPE C ,
ld_w_mp_mp_de  TYPE C ,
ld_rows_returned  TYPE I ,
ld_pmessage  TYPE OIUH_PMESSAGE_STR .

ld_fn_type_cd = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_result_table to it_result_table.
ld_w_gl_or_lvl_1_no = 'Check type of data required'.
ld_w_gl_acct_perd_dt = 'Check type of data required'.
ld_w_gl_acct_no = 'Check type of data required'.
ld_w_gl_wl_no = 'Check type of data required'.
ld_w_gl_wc_no = 'Check type of data required'.
ld_w_gl_pr_no = 'Check type of data required'.
ld_w_gl_doi_no = 'Check type of data required'.
ld_w_di_di_nm = 'Check type of data required'.
ld_w_gl_pd_cd = 'Check type of data required'.
ld_w_gl_sa_dt = 'Check type of data required'.
ld_w_gl_ct_no = 'Check type of data required'.
ld_w_gl_ct_type_cd = 'Check type of data required'.
ld_w_gl_dn_no = 'Check type of data required'.
ld_w_gl_sub_nwk_no = 'Check type of data required'.
ld_w_dn_dn_de = 'Check type of data required'.
ld_w_gl_pu_no = 'Check type of data required'.
ld_w_gl_pu_seq_no = 'Check type of data required'.
ld_w_ba_nm_1 = 'Check type of data required'.
ld_w_or1_or_lvl_1_nm = 'Check type of data required'.
ld_w_coa_acct_nm = 'Check type of data required'.
ld_w_wc_wc_nm = 'Check type of data required'.
ld_w_apsl_acct_cat_cd = 'Check type of data required'.
ld_w_apsl_mk_type_cd = 'Check type of data required'.
ld_w_gl_sa_mp_no = 'Check type of data required'.
ld_w_mp_mp_de = 'Check type of data required'.
ld_rows_returned = 'Check type of data required'.
ld_pmessage = '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 OIUH_AFRVTAPSLBYQBE or its description.