SAP Function Modules

RFC_HRUS_RET_CUST_OVERRIDE_90 SAP Function module - TaxFactory 9.0 Return Custom Override remote function







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

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


Pattern for FM RFC_HRUS_RET_CUST_OVERRIDE_90 - RFC HRUS RET CUST OVERRIDE 90





CALL FUNCTION 'RFC_HRUS_RET_CUST_OVERRIDE_90' "TaxFactory 9.0 Return Custom Override remote function
  EXPORTING
    iv_tf_dataset =             " pbsi_tools_common_parameter-dataset  BSI TaxFactory Dataset
    iv_authority_code =         " pbsi_tools_common_parameter-authoritycode  Authority Code
    iv_tax_type =               " pbsi_tools_common_parameter-taxtype  Tax Type
    iv_pay_code =               " pbsi_tools_common_parameter-paycode  BSI Payment Code
    iv_pay_type =               " pbsi_tools_common_parameter-paytype  Payment Type - 1-9 (The type of wage that is taxed)
    iv_group_code =             " pbsi_tools_common_parameter-groupcode  BSI TaxFactory Group Code
    iv_effective_date =         " pbsi_tools_common_parameter-effectivedate  BSI Effective Date (must be MMDDYYYY format)
  IMPORTING
    ev_error_string =           " pbsi_tools_common_parameter-errorstring  BSI Error string
    ev_ret_code =               " pbsi_tools_common_parameter-retcode  BSI Return Code
  TABLES
    tb_custom_override =        " pbsi_cust_override  Custom Override data returned from BSI
    .  "  RFC_HRUS_RET_CUST_OVERRIDE_90

ABAP code example for Function Module RFC_HRUS_RET_CUST_OVERRIDE_90





The ABAP code below is a full code listing to execute function module RFC_HRUS_RET_CUST_OVERRIDE_90 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_ev_error_string  TYPE PBSI_TOOLS_COMMON_PARAMETER-ERRORSTRING ,
ld_ev_ret_code  TYPE PBSI_TOOLS_COMMON_PARAMETER-RETCODE ,
it_tb_custom_override  TYPE STANDARD TABLE OF PBSI_CUST_OVERRIDE,"TABLES PARAM
wa_tb_custom_override  LIKE LINE OF it_tb_custom_override .


DATA(ld_iv_tf_dataset) = some text here

DATA(ld_iv_authority_code) = some text here

DATA(ld_iv_tax_type) = some text here

DATA(ld_iv_pay_code) = some text here

DATA(ld_iv_pay_type) = some text here

DATA(ld_iv_group_code) = some text here

DATA(ld_iv_effective_date) = some text here

"populate fields of struture and append to itab
append wa_tb_custom_override to it_tb_custom_override. . CALL FUNCTION 'RFC_HRUS_RET_CUST_OVERRIDE_90' EXPORTING iv_tf_dataset = ld_iv_tf_dataset iv_authority_code = ld_iv_authority_code iv_tax_type = ld_iv_tax_type iv_pay_code = ld_iv_pay_code iv_pay_type = ld_iv_pay_type iv_group_code = ld_iv_group_code iv_effective_date = ld_iv_effective_date IMPORTING ev_error_string = ld_ev_error_string ev_ret_code = ld_ev_ret_code TABLES tb_custom_override = it_tb_custom_override . " RFC_HRUS_RET_CUST_OVERRIDE_90
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_ev_error_string  TYPE PBSI_TOOLS_COMMON_PARAMETER-ERRORSTRING ,
ld_iv_tf_dataset  TYPE PBSI_TOOLS_COMMON_PARAMETER-DATASET ,
it_tb_custom_override  TYPE STANDARD TABLE OF PBSI_CUST_OVERRIDE ,
wa_tb_custom_override  LIKE LINE OF it_tb_custom_override,
ld_ev_ret_code  TYPE PBSI_TOOLS_COMMON_PARAMETER-RETCODE ,
ld_iv_authority_code  TYPE PBSI_TOOLS_COMMON_PARAMETER-AUTHORITYCODE ,
ld_iv_tax_type  TYPE PBSI_TOOLS_COMMON_PARAMETER-TAXTYPE ,
ld_iv_pay_code  TYPE PBSI_TOOLS_COMMON_PARAMETER-PAYCODE ,
ld_iv_pay_type  TYPE PBSI_TOOLS_COMMON_PARAMETER-PAYTYPE ,
ld_iv_group_code  TYPE PBSI_TOOLS_COMMON_PARAMETER-GROUPCODE ,
ld_iv_effective_date  TYPE PBSI_TOOLS_COMMON_PARAMETER-EFFECTIVEDATE .


ld_iv_tf_dataset = some text here

"populate fields of struture and append to itab
append wa_tb_custom_override to it_tb_custom_override.

ld_iv_authority_code = some text here

ld_iv_tax_type = some text here

ld_iv_pay_code = some text here

ld_iv_pay_type = some text here

ld_iv_group_code = some text here

ld_iv_effective_date = 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 RFC_HRUS_RET_CUST_OVERRIDE_90 or its description.