SAP Function Modules

RDBRA_READ_SVAL_RAD0_RHNODE SAP Function module - RDB RA: ES Get Details for Key Figure Values for Risk Hier. Nodes (RAD0)







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

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


Pattern for FM RDBRA_READ_SVAL_RAD0_RHNODE - RDBRA READ SVAL RAD0 RHNODE





CALL FUNCTION 'RDBRA_READ_SVAL_RAD0_RHNODE' "RDB RA: ES Get Details for Key Figure Values for Risk Hier. Nodes (RAD0)
  EXPORTING
    i_keydate =                 " afw_keydate   Key Date
    i_keyf_rad0_t =             " afwkf_definition_t  Table of Key Figure Values - Category RAD0 (RF Items)
    i_rh_node =                 " rdbra_rknoten  Node of Risk Hierarchy
    i_header_t =                " rdb_rec_header_t  Table for Single-Record Headers
  IMPORTING
    e_keyf_values_rad0_t =      " rdbra_rec_tbp_t  Table of Key Figure Values - Category RAD0
    .  "  RDBRA_READ_SVAL_RAD0_RHNODE

ABAP code example for Function Module RDBRA_READ_SVAL_RAD0_RHNODE





The ABAP code below is a full code listing to execute function module RDBRA_READ_SVAL_RAD0_RHNODE 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_keyf_values_rad0_t  TYPE RDBRA_REC_TBP_T .

DATA(ld_i_keydate) = 'Check type of data required'.
DATA(ld_i_keyf_rad0_t) = 'Check type of data required'.
DATA(ld_i_rh_node) = 'Check type of data required'.
DATA(ld_i_header_t) = 'Check type of data required'. . CALL FUNCTION 'RDBRA_READ_SVAL_RAD0_RHNODE' EXPORTING i_keydate = ld_i_keydate i_keyf_rad0_t = ld_i_keyf_rad0_t i_rh_node = ld_i_rh_node i_header_t = ld_i_header_t IMPORTING e_keyf_values_rad0_t = ld_e_keyf_values_rad0_t . " RDBRA_READ_SVAL_RAD0_RHNODE
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_keyf_values_rad0_t  TYPE RDBRA_REC_TBP_T ,
ld_i_keydate  TYPE AFW_KEYDATE ,
ld_i_keyf_rad0_t  TYPE AFWKF_DEFINITION_T ,
ld_i_rh_node  TYPE RDBRA_RKNOTEN ,
ld_i_header_t  TYPE RDB_REC_HEADER_T .

ld_i_keydate = 'Check type of data required'.
ld_i_keyf_rad0_t = 'Check type of data required'.
ld_i_rh_node = 'Check type of data required'.
ld_i_header_t = '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 RDBRA_READ_SVAL_RAD0_RHNODE or its description.