SAP RSL_HNODE_LOAD Function Module for API: Load Workspace folder
RSL_HNODE_LOAD is a standard rsl hnode load SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for API: Load Workspace folder 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 rsl hnode load FM, simply by entering the name RSL_HNODE_LOAD into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSL_GUI_WSP
Program Name: SAPLRSL_GUI_WSP
Main Program: SAPLRSL_GUI_WSP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function RSL_HNODE_LOAD 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 'RSL_HNODE_LOAD'"API: Load Workspace folder.
EXPORTING
* TEST_MODUS = RS_C_TRUE "= 'X': test only
UPDATE_MODUS = "Upload Modes (Workspace Folder)
* KEEP_EXISTING = RS_C_TRUE "Keep existing folder
TABLES
FOLDER_INSERT = "Workspace folders to be inserted
FOLDER_DELETE = "Deleted folders
FOLDER_ERROR = "faulty, not read folders
* RETURN = "Return Parameter(s)
EXCEPTIONS
INPUT_INVALID = 1
IMPORTING Parameters details for RSL_HNODE_LOAD
TEST_MODUS - = 'X': test only
Data type: RS_BOOLDefault: RS_C_TRUE
Optional: No
Call by Reference: No ( called with pass by value option)
UPDATE_MODUS - Upload Modes (Workspace Folder)
Data type: RSLUPDMODEOptional: No
Call by Reference: No ( called with pass by value option)
KEEP_EXISTING - Keep existing folder
Data type: RS_BOOLDefault: RS_C_TRUE
Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RSL_HNODE_LOAD
FOLDER_INSERT - Workspace folders to be inserted
Data type: RSL_S_HNODEOptional: No
Call by Reference: Yes
FOLDER_DELETE - Deleted folders
Data type: RSL_S_HNODEOptional: No
Call by Reference: Yes
FOLDER_ERROR - faulty, not read folders
Data type: RSL_S_HNODEOptional: No
Call by Reference: Yes
RETURN - Return Parameter(s)
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
INPUT_INVALID - Invalid entry
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSL_HNODE_LOAD 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_test_modus | TYPE RS_BOOL, " RS_C_TRUE | |||
| lt_folder_insert | TYPE STANDARD TABLE OF RSL_S_HNODE, " | |||
| lv_input_invalid | TYPE RSL_S_HNODE, " | |||
| lv_update_modus | TYPE RSLUPDMODE, " | |||
| lt_folder_delete | TYPE STANDARD TABLE OF RSL_S_HNODE, " | |||
| lt_folder_error | TYPE STANDARD TABLE OF RSL_S_HNODE, " | |||
| lv_keep_existing | TYPE RS_BOOL, " RS_C_TRUE | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2. " |
|   CALL FUNCTION 'RSL_HNODE_LOAD' "API: Load Workspace folder |
| EXPORTING | ||
| TEST_MODUS | = lv_test_modus | |
| UPDATE_MODUS | = lv_update_modus | |
| KEEP_EXISTING | = lv_keep_existing | |
| TABLES | ||
| FOLDER_INSERT | = lt_folder_insert | |
| FOLDER_DELETE | = lt_folder_delete | |
| FOLDER_ERROR | = lt_folder_error | |
| RETURN | = lt_return | |
| EXCEPTIONS | ||
| INPUT_INVALID = 1 | ||
| . " RSL_HNODE_LOAD | ||
ABAP code using 7.40 inline data declarations to call FM RSL_HNODE_LOAD
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.| DATA(ld_test_modus) | = RS_C_TRUE. | |||
| DATA(ld_keep_existing) | = RS_C_TRUE. | |||
Search for further information about these or an SAP related objects