SAP RSDM_F4_HIER_NODE_NEW Function Module for F4 Hierarchy Node Such as Selector
RSDM_F4_HIER_NODE_NEW is a standard rsdm f4 hier node new SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for F4 Hierarchy Node Such as Selector processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for rsdm f4 hier node new FM, simply by entering the name RSDM_F4_HIER_NODE_NEW into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSDM_F4
Program Name: SAPLRSDM_F4
Main Program: SAPLRSDM_F4
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSDM_F4_HIER_NODE_NEW pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RSDM_F4_HIER_NODE_NEW'"F4 Hierarchy Node Such as Selector.
EXPORTING
* I_INFOCUBE = "
I_CHANM = "
* I_TXT_DATE = SY-DATUM "Date and Time, Current (Application Server) Date
* I_FULL_SCREEN = RS_C_FALSE "Boolean
* I_MULTIPLE = RS_C_TRUE "Boolean
* I_R_RSH = "Read Services for Input Help for Hierarchy Node
* I_HANDLE = "
CHANGING
* C_HIENM = "Name of Hierarchy
* C_VERSION = "Hierarchy Version
* C_HIE_DATE = "Valid-To Date
C_T_RANGEEX = "Variable Values in External Format
EXCEPTIONS
CX_RS_ERROR = 1
IMPORTING Parameters details for RSDM_F4_HIER_NODE_NEW
I_INFOCUBE -
Data type: RSD_INFOCUBEOptional: Yes
Call by Reference: Yes
I_CHANM -
Data type: RSD_CHANMOptional: No
Call by Reference: Yes
I_TXT_DATE - Date and Time, Current (Application Server) Date
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: Yes
I_FULL_SCREEN - Boolean
Data type: RS_BOOLDefault: RS_C_FALSE
Optional: Yes
Call by Reference: Yes
I_MULTIPLE - Boolean
Data type: RS_BOOLDefault: RS_C_TRUE
Optional: Yes
Call by Reference: Yes
I_R_RSH - Read Services for Input Help for Hierarchy Node
Data type: IF_RSMD_RSHOptional: Yes
Call by Reference: No ( called with pass by value option)
I_HANDLE -
Data type: RRX1_HANDLEOptional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for RSDM_F4_HIER_NODE_NEW
C_HIENM - Name of Hierarchy
Data type: RSHIEDIR-HIENMOptional: Yes
Call by Reference: Yes
C_VERSION - Hierarchy Version
Data type: RSHIEDIR-VERSIONOptional: Yes
Call by Reference: Yes
C_HIE_DATE - Valid-To Date
Data type: RSHIEDIR-DATETOOptional: Yes
Call by Reference: Yes
C_T_RANGEEX - Variable Values in External Format
Data type: RSR_T_RANGEEXOptional: No
Call by Reference: Yes
EXCEPTIONS details
CX_RS_ERROR - BW: General Error Class
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSDM_F4_HIER_NODE_NEW Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_c_hienm | TYPE RSHIEDIR-HIENM, " | |||
| lv_i_infocube | TYPE RSD_INFOCUBE, " | |||
| lv_cx_rs_error | TYPE RSD_INFOCUBE, " | |||
| lv_i_chanm | TYPE RSD_CHANM, " | |||
| lv_c_version | TYPE RSHIEDIR-VERSION, " | |||
| lv_c_hie_date | TYPE RSHIEDIR-DATETO, " | |||
| lv_i_txt_date | TYPE SY-DATUM, " SY-DATUM | |||
| lv_c_t_rangeex | TYPE RSR_T_RANGEEX, " | |||
| lv_i_full_screen | TYPE RS_BOOL, " RS_C_FALSE | |||
| lv_i_multiple | TYPE RS_BOOL, " RS_C_TRUE | |||
| lv_i_r_rsh | TYPE IF_RSMD_RSH, " | |||
| lv_i_handle | TYPE RRX1_HANDLE. " |
|   CALL FUNCTION 'RSDM_F4_HIER_NODE_NEW' "F4 Hierarchy Node Such as Selector |
| EXPORTING | ||
| I_INFOCUBE | = lv_i_infocube | |
| I_CHANM | = lv_i_chanm | |
| I_TXT_DATE | = lv_i_txt_date | |
| I_FULL_SCREEN | = lv_i_full_screen | |
| I_MULTIPLE | = lv_i_multiple | |
| I_R_RSH | = lv_i_r_rsh | |
| I_HANDLE | = lv_i_handle | |
| CHANGING | ||
| C_HIENM | = lv_c_hienm | |
| C_VERSION | = lv_c_version | |
| C_HIE_DATE | = lv_c_hie_date | |
| C_T_RANGEEX | = lv_c_t_rangeex | |
| EXCEPTIONS | ||
| CX_RS_ERROR = 1 | ||
| . " RSDM_F4_HIER_NODE_NEW | ||
ABAP code using 7.40 inline data declarations to call FM RSDM_F4_HIER_NODE_NEW
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single HIENM FROM RSHIEDIR INTO @DATA(ld_c_hienm). | ||||
| "SELECT single VERSION FROM RSHIEDIR INTO @DATA(ld_c_version). | ||||
| "SELECT single DATETO FROM RSHIEDIR INTO @DATA(ld_c_hie_date). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_txt_date). | ||||
| DATA(ld_i_txt_date) | = SY-DATUM. | |||
| DATA(ld_i_full_screen) | = RS_C_FALSE. | |||
| DATA(ld_i_multiple) | = RS_C_TRUE. | |||
Search for further information about these or an SAP related objects