RDBRA_READ_SREC_FOR_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_SREC_FOR_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
CALL FUNCTION 'RDBRA_READ_SREC_FOR_RHNODE' "RDB RA: Single Records Details: Get Header + Key Figure Vals for RH Nodes
EXPORTING
i_keydate = " afw_keydate Key Date
i_segment_t = " afw_segment_t Table of Segments
i_keyf_t = " rdb_read_keyf_info_t Table of Key Figures (RF Items and Value at Risk)
i_rh_node = " rdbra_rknoten Node of Risk Hierarchy
IMPORTING
e_rec_header_t = " rdb_rec_header_t Table for Single-Record Headers
e_keyf_values_rad0_t = " rdbra_rec_tbp_t Table of Key Figure Values - Category RAD0
e_keyf_values_rav1_rak1_t = " rdbra_intf_tvk_t Table of Key Figure Values of Category RAV1/RAK1
EXCEPTIONS
INTERNAL_ERROR = 1 " Processing Error
. " RDBRA_READ_SREC_FOR_RHNODE
The ABAP code below is a full code listing to execute function module RDBRA_READ_SREC_FOR_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).
| ld_e_rec_header_t | TYPE RDB_REC_HEADER_T , |
| ld_e_keyf_values_rad0_t | TYPE RDBRA_REC_TBP_T , |
| ld_e_keyf_values_rav1_rak1_t | TYPE RDBRA_INTF_TVK_T . |
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_rec_header_t | TYPE RDB_REC_HEADER_T , |
| ld_i_keydate | TYPE AFW_KEYDATE , |
| ld_e_keyf_values_rad0_t | TYPE RDBRA_REC_TBP_T , |
| ld_i_segment_t | TYPE AFW_SEGMENT_T , |
| ld_e_keyf_values_rav1_rak1_t | TYPE RDBRA_INTF_TVK_T , |
| ld_i_keyf_t | TYPE RDB_READ_KEYF_INFO_T , |
| ld_i_rh_node | TYPE RDBRA_RKNOTEN . |
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_SREC_FOR_RHNODE or its description.
RDBRA_READ_SREC_FOR_RHNODE - RDB RA: Single Records Details: Get Header + Key Figure Vals for RH No RDBRA_READ_SREC_EXTR_RHN_ARCH - RDB RA: Single Record: Get Details for Ext. Ref. + RH Nodes from Archi RDBRA_READ_SREC_DATE_ARCH - RDB: Get ES Details for Header + Date-Based Key Figure Values from Arc RDBRA_READ_SREC_DATE - RDB RA: ES Get Details for Header and Values of Date-Based Key Figures RDBRA_READ_SKF_BASEFIGURES - RDB RA: Get Basic Key figures for EE Key Figures RDBRA_READ_REC_TBP - RDB-RA: Get Single Records for Key Figure Category RAD0