SAP Function Modules

RFVD_CHK_PARALLEL_UPDATE_FUNC SAP Function module - Remote enable function for parallel update of planned records for loans







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

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


Pattern for FM RFVD_CHK_PARALLEL_UPDATE_FUNC - RFVD CHK PARALLEL UPDATE FUNC





CALL FUNCTION 'RFVD_CHK_PARALLEL_UPDATE_FUNC' "Remote enable function for parallel update of planned records for loans
* EXPORTING
*   i_flg_single_mode =         " char1         Single Mode
*   i_ref_hw =                  " char1         Reference interest loan in LC
*   i_son_hw =                  " char1         Other loans in LC
*   i_ref_fw =                  " char1         Reference interest in FC
*   i_son_fw =                  " char1         Other loans in FC
*   i_no_prot =                 " char1         Write Protocol
*   i_flg_no_commit =           " char1         Commit Work
*   i_mode = SPACE              " char1
  IMPORTING
    e_error =                   " char1         Error Flag
    et_tab_accp =               " tracs_prot_post_data  Log: All Information for Posting Log
    et_tab_accr =               " tracs_prot_rev_data  Log: All Information for Reversal Log
    et_ph_message =             " bal_t_msg     Application Log: Table with Messages
  TABLES
    it_package =                " trty_package  Package
*   et_display =                " trty_display  Results
    .  "  RFVD_CHK_PARALLEL_UPDATE_FUNC

ABAP code example for Function Module RFVD_CHK_PARALLEL_UPDATE_FUNC





The ABAP code below is a full code listing to execute function module RFVD_CHK_PARALLEL_UPDATE_FUNC 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_e_error  TYPE CHAR1 ,
ld_et_tab_accp  TYPE TRACS_PROT_POST_DATA ,
ld_et_tab_accr  TYPE TRACS_PROT_REV_DATA ,
ld_et_ph_message  TYPE BAL_T_MSG ,
it_it_package  TYPE STANDARD TABLE OF TRTY_PACKAGE,"TABLES PARAM
wa_it_package  LIKE LINE OF it_it_package ,
it_et_display  TYPE STANDARD TABLE OF TRTY_DISPLAY,"TABLES PARAM
wa_et_display  LIKE LINE OF it_et_display .

DATA(ld_i_flg_single_mode) = 'Check type of data required'.
DATA(ld_i_ref_hw) = 'Check type of data required'.
DATA(ld_i_son_hw) = 'Check type of data required'.
DATA(ld_i_ref_fw) = 'Check type of data required'.
DATA(ld_i_son_fw) = 'Check type of data required'.
DATA(ld_i_no_prot) = 'Check type of data required'.
DATA(ld_i_flg_no_commit) = 'Check type of data required'.
DATA(ld_i_mode) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_package to it_it_package.

"populate fields of struture and append to itab
append wa_et_display to it_et_display. . CALL FUNCTION 'RFVD_CHK_PARALLEL_UPDATE_FUNC' * EXPORTING * i_flg_single_mode = ld_i_flg_single_mode * i_ref_hw = ld_i_ref_hw * i_son_hw = ld_i_son_hw * i_ref_fw = ld_i_ref_fw * i_son_fw = ld_i_son_fw * i_no_prot = ld_i_no_prot * i_flg_no_commit = ld_i_flg_no_commit * i_mode = ld_i_mode IMPORTING e_error = ld_e_error et_tab_accp = ld_et_tab_accp et_tab_accr = ld_et_tab_accr et_ph_message = ld_et_ph_message TABLES it_package = it_it_package * et_display = it_et_display . " RFVD_CHK_PARALLEL_UPDATE_FUNC
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_e_error  TYPE CHAR1 ,
ld_i_flg_single_mode  TYPE CHAR1 ,
it_it_package  TYPE STANDARD TABLE OF TRTY_PACKAGE ,
wa_it_package  LIKE LINE OF it_it_package,
ld_et_tab_accp  TYPE TRACS_PROT_POST_DATA ,
ld_i_ref_hw  TYPE CHAR1 ,
it_et_display  TYPE STANDARD TABLE OF TRTY_DISPLAY ,
wa_et_display  LIKE LINE OF it_et_display,
ld_et_tab_accr  TYPE TRACS_PROT_REV_DATA ,
ld_i_son_hw  TYPE CHAR1 ,
ld_et_ph_message  TYPE BAL_T_MSG ,
ld_i_ref_fw  TYPE CHAR1 ,
ld_i_son_fw  TYPE CHAR1 ,
ld_i_no_prot  TYPE CHAR1 ,
ld_i_flg_no_commit  TYPE CHAR1 ,
ld_i_mode  TYPE CHAR1 .

ld_i_flg_single_mode = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_package to it_it_package.
ld_i_ref_hw = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_display to it_et_display.
ld_i_son_hw = 'Check type of data required'.
ld_i_ref_fw = 'Check type of data required'.
ld_i_son_fw = 'Check type of data required'.
ld_i_no_prot = 'Check type of data required'.
ld_i_flg_no_commit = 'Check type of data required'.
ld_i_mode = '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 RFVD_CHK_PARALLEL_UPDATE_FUNC or its description.