SAP RSDM_F4_SEARCH_NODENAME Function Module for Find Node Names for F4 Hierarchy Node
RSDM_F4_SEARCH_NODENAME is a standard rsdm f4 search nodename SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Find Node Names for F4 Hierarchy Node 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 search nodename FM, simply by entering the name RSDM_F4_SEARCH_NODENAME into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSDM_F4
Program Name: SAPLRSDM_F4
Main Program: SAPLRSDM_F4
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSDM_F4_SEARCH_NODENAME 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_SEARCH_NODENAME'"Find Node Names for F4 Hierarchy Node.
EXPORTING
I_PATTERN = "
* I_PARENT = "
* I_MAXTLEVEL = "
IMPORTING
E_T_SEARCH_RESULT = "
E_T_HIERNODE = "
EXCEPTIONS
X_MESSAGE = 1 INVALID_HIERARCHY = 2 NO_VALUES_AVAILABLE = 3
IMPORTING Parameters details for RSDM_F4_SEARCH_NODENAME
I_PATTERN -
Data type: RS_TXTLGOptional: No
Call by Reference: No ( called with pass by value option)
I_PARENT -
Data type: RSDM4_NODEKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MAXTLEVEL -
Data type: RSTLEVELOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RSDM_F4_SEARCH_NODENAME
E_T_SEARCH_RESULT -
Data type: RSDM4_T_NODEKEYOptional: No
Call by Reference: No ( called with pass by value option)
E_T_HIERNODE -
Data type: RSDM4_T_HIERNODEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
X_MESSAGE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_HIERARCHY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_VALUES_AVAILABLE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSDM_F4_SEARCH_NODENAME 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_i_pattern | TYPE RS_TXTLG, " | |||
| lv_x_message | TYPE RS_TXTLG, " | |||
| lv_e_t_search_result | TYPE RSDM4_T_NODEKEY, " | |||
| lv_i_parent | TYPE RSDM4_NODEKEY, " | |||
| lv_e_t_hiernode | TYPE RSDM4_T_HIERNODE, " | |||
| lv_invalid_hierarchy | TYPE RSDM4_T_HIERNODE, " | |||
| lv_i_maxtlevel | TYPE RSTLEVEL, " | |||
| lv_no_values_available | TYPE RSTLEVEL. " |
|   CALL FUNCTION 'RSDM_F4_SEARCH_NODENAME' "Find Node Names for F4 Hierarchy Node |
| EXPORTING | ||
| I_PATTERN | = lv_i_pattern | |
| I_PARENT | = lv_i_parent | |
| I_MAXTLEVEL | = lv_i_maxtlevel | |
| IMPORTING | ||
| E_T_SEARCH_RESULT | = lv_e_t_search_result | |
| E_T_HIERNODE | = lv_e_t_hiernode | |
| EXCEPTIONS | ||
| X_MESSAGE = 1 | ||
| INVALID_HIERARCHY = 2 | ||
| NO_VALUES_AVAILABLE = 3 | ||
| . " RSDM_F4_SEARCH_NODENAME | ||
ABAP code using 7.40 inline data declarations to call FM RSDM_F4_SEARCH_NODENAME
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.Search for further information about these or an SAP related objects