SAP Function Modules

EXIT_RPCIUDI0_057 SAP Function module







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

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


Pattern for FM EXIT_RPCIUDI0_057 - EXIT RPCIUDI0 057





CALL FUNCTION 'EXIT_RPCIUDI0_057' "
* EXPORTING
*   p_pernr =                   " pernr-pernr
*   p_fire =                    " d
*   p_c_prev =                  " c
*   p_code =                    " n
*   p_begda =                   " d
*   p_endda =                   " d
*   p_code_impon =              " p15_code
*   p_waers =                   " waers
  TABLES
    prev =                      "
    r5itw5 =                    "
    i_payroll_result =          "
    moabw_tab =                 "
    rt_tab =                    "
    crt_tab =                   "
    wpbp_tab =                  "
    i_pc_result =               "
    i_tm_results =              "
    zl_tab =                    "
    i_comp_result1 =            "
    i_comp_result2 =            "
  EXCEPTIONS
    USED_USER_EXIT = 1          "
    .  "  EXIT_RPCIUDI0_057

ABAP code example for Function Module EXIT_RPCIUDI0_057





The ABAP code below is a full code listing to execute function module EXIT_RPCIUDI0_057 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_prev  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_prev  LIKE LINE OF it_prev ,
it_r5itw5  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_r5itw5  LIKE LINE OF it_r5itw5 ,
it_i_payroll_result  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_i_payroll_result  LIKE LINE OF it_i_payroll_result ,
it_moabw_tab  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_moabw_tab  LIKE LINE OF it_moabw_tab ,
it_rt_tab  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_rt_tab  LIKE LINE OF it_rt_tab ,
it_crt_tab  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_crt_tab  LIKE LINE OF it_crt_tab ,
it_wpbp_tab  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_wpbp_tab  LIKE LINE OF it_wpbp_tab ,
it_i_pc_result  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_i_pc_result  LIKE LINE OF it_i_pc_result ,
it_i_tm_results  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_i_tm_results  LIKE LINE OF it_i_tm_results ,
it_zl_tab  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_zl_tab  LIKE LINE OF it_zl_tab ,
it_i_comp_result1  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_i_comp_result1  LIKE LINE OF it_i_comp_result1 ,
it_i_comp_result2  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_i_comp_result2  LIKE LINE OF it_i_comp_result2 .


DATA(ld_p_pernr) = Check type of data required
DATA(ld_p_fire) = 'Check type of data required'.
DATA(ld_p_c_prev) = 'Check type of data required'.
DATA(ld_p_code) = 'Check type of data required'.
DATA(ld_p_begda) = 'Check type of data required'.
DATA(ld_p_endda) = 'Check type of data required'.
DATA(ld_p_code_impon) = 'Check type of data required'.
DATA(ld_p_waers) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_prev to it_prev.

"populate fields of struture and append to itab
append wa_r5itw5 to it_r5itw5.

"populate fields of struture and append to itab
append wa_i_payroll_result to it_i_payroll_result.

"populate fields of struture and append to itab
append wa_moabw_tab to it_moabw_tab.

"populate fields of struture and append to itab
append wa_rt_tab to it_rt_tab.

"populate fields of struture and append to itab
append wa_crt_tab to it_crt_tab.

"populate fields of struture and append to itab
append wa_wpbp_tab to it_wpbp_tab.

"populate fields of struture and append to itab
append wa_i_pc_result to it_i_pc_result.

"populate fields of struture and append to itab
append wa_i_tm_results to it_i_tm_results.

"populate fields of struture and append to itab
append wa_zl_tab to it_zl_tab.

"populate fields of struture and append to itab
append wa_i_comp_result1 to it_i_comp_result1.

"populate fields of struture and append to itab
append wa_i_comp_result2 to it_i_comp_result2. . CALL FUNCTION 'EXIT_RPCIUDI0_057' * EXPORTING * p_pernr = ld_p_pernr * p_fire = ld_p_fire * p_c_prev = ld_p_c_prev * p_code = ld_p_code * p_begda = ld_p_begda * p_endda = ld_p_endda * p_code_impon = ld_p_code_impon * p_waers = ld_p_waers TABLES prev = it_prev r5itw5 = it_r5itw5 i_payroll_result = it_i_payroll_result moabw_tab = it_moabw_tab rt_tab = it_rt_tab crt_tab = it_crt_tab wpbp_tab = it_wpbp_tab i_pc_result = it_i_pc_result i_tm_results = it_i_tm_results zl_tab = it_zl_tab i_comp_result1 = it_i_comp_result1 i_comp_result2 = it_i_comp_result2 EXCEPTIONS USED_USER_EXIT = 1 . " EXIT_RPCIUDI0_057
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "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_p_pernr  TYPE PERNR-PERNR ,
it_prev  TYPE STANDARD TABLE OF STRING ,
wa_prev  LIKE LINE OF it_prev,
ld_p_fire  TYPE D ,
it_r5itw5  TYPE STANDARD TABLE OF STRING ,
wa_r5itw5  LIKE LINE OF it_r5itw5,
ld_p_c_prev  TYPE C ,
it_i_payroll_result  TYPE STANDARD TABLE OF STRING ,
wa_i_payroll_result  LIKE LINE OF it_i_payroll_result,
ld_p_code  TYPE N ,
it_moabw_tab  TYPE STANDARD TABLE OF STRING ,
wa_moabw_tab  LIKE LINE OF it_moabw_tab,
ld_p_begda  TYPE D ,
it_rt_tab  TYPE STANDARD TABLE OF STRING ,
wa_rt_tab  LIKE LINE OF it_rt_tab,
ld_p_endda  TYPE D ,
it_crt_tab  TYPE STANDARD TABLE OF STRING ,
wa_crt_tab  LIKE LINE OF it_crt_tab,
ld_p_code_impon  TYPE P15_CODE ,
it_wpbp_tab  TYPE STANDARD TABLE OF STRING ,
wa_wpbp_tab  LIKE LINE OF it_wpbp_tab,
ld_p_waers  TYPE WAERS ,
it_i_pc_result  TYPE STANDARD TABLE OF STRING ,
wa_i_pc_result  LIKE LINE OF it_i_pc_result,
it_i_tm_results  TYPE STANDARD TABLE OF STRING ,
wa_i_tm_results  LIKE LINE OF it_i_tm_results,
it_zl_tab  TYPE STANDARD TABLE OF STRING ,
wa_zl_tab  LIKE LINE OF it_zl_tab,
it_i_comp_result1  TYPE STANDARD TABLE OF STRING ,
wa_i_comp_result1  LIKE LINE OF it_i_comp_result1,
it_i_comp_result2  TYPE STANDARD TABLE OF STRING ,
wa_i_comp_result2  LIKE LINE OF it_i_comp_result2.


ld_p_pernr = Check type of data required

"populate fields of struture and append to itab
append wa_prev to it_prev.
ld_p_fire = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_r5itw5 to it_r5itw5.
ld_p_c_prev = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_i_payroll_result to it_i_payroll_result.
ld_p_code = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_moabw_tab to it_moabw_tab.
ld_p_begda = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_rt_tab to it_rt_tab.
ld_p_endda = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_crt_tab to it_crt_tab.
ld_p_code_impon = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_wpbp_tab to it_wpbp_tab.
ld_p_waers = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_i_pc_result to it_i_pc_result.

"populate fields of struture and append to itab
append wa_i_tm_results to it_i_tm_results.

"populate fields of struture and append to itab
append wa_zl_tab to it_zl_tab.

"populate fields of struture and append to itab
append wa_i_comp_result1 to it_i_comp_result1.

"populate fields of struture and append to itab
append wa_i_comp_result2 to it_i_comp_result2.

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