SAP RSBB_NODES_READ_WITH_FILTER Function Module for (Subsequently) Import Menu
RSBB_NODES_READ_WITH_FILTER is a standard rsbb nodes read with filter SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for (Subsequently) Import Menu 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 rsbb nodes read with filter FM, simply by entering the name RSBB_NODES_READ_WITH_FILTER into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSMENU
Program Name: SAPLRSMENU
Main Program: SAPLRSMENU
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function RSBB_NODES_READ_WITH_FILTER 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 'RSBB_NODES_READ_WITH_FILTER'"(Subsequently) Import Menu.
EXPORTING
* I_ROLE = "Role Name
* I_FAVORITES_ONLY = "Favorites Only
* I_ROLES_ONLY = "Roles Only
* I_URL = "URLs Only
* I_WORKBOOK = "Workbooks Only
* I_FOLDER = "Folders Only
* I_DOCUMENT = "Documents Only
* I_SHORTCUT = "Shortcuts Only
* I_WEB_REPORT = "Web Reports Only
* I_QUERY = "Queries Only
* I_VIEW = "Views of Queries Only
* I_NODE = "Node ID
* I_INFOSET_QUERY = "InfoSet Queries Only
* I_CRYSTAL_REPORT = "Crystal Reports Only
* I_MINIAPP = "MiniApps Only
* I_TRANSACTION = "Transactions Only
* I_TEMPLATE = "Templates Only
* I_ITEM_LIBRARY = "Item Libraries Only
* I_BSP_APPLICATION = "BSP Application Only
* I_TEMPLATE_70 = "Templates 7.0 Only
* I_LEVEL = "Menu Level
* I_REFRESH = "Refresh with 'X' (Read from Database)
* I_REFRESH_CACHE = 'X' "Refresh Internal Memory Cache
* I_OPEN = 'X' "Open with 'X'; Save with ' '
* I_SORT = "Sort Hierarchy with 'X'
* I_SORT_ROLES = "Sort Roles by Description
* I_CHILDREN = "(Re-)Read Children Only
IMPORTING
E_SUBRC = "Return Value, Return Value After ABAP Statements
TABLES
C_T_NODES = "Nodes
IMPORTING Parameters details for RSBB_NODES_READ_WITH_FILTER
I_ROLE - Role Name
Data type: RSBB_NODES-AGR_NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FAVORITES_ONLY - Favorites Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ROLES_ONLY - Roles Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_URL - URLs Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_WORKBOOK - Workbooks Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FOLDER - Folders Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DOCUMENT - Documents Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SHORTCUT - Shortcuts Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_WEB_REPORT - Web Reports Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_QUERY - Queries Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VIEW - Views of Queries Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_NODE - Node ID
Data type: RSBB_NODES-OBJECT_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_INFOSET_QUERY - InfoSet Queries Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CRYSTAL_REPORT - Crystal Reports Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MINIAPP - MiniApps Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TRANSACTION - Transactions Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TEMPLATE - Templates Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ITEM_LIBRARY - Item Libraries Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BSP_APPLICATION - BSP Application Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TEMPLATE_70 - Templates 7.0 Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LEVEL - Menu Level
Data type: RSBB_NODES-MENU_LEVELOptional: Yes
Call by Reference: No ( called with pass by value option)
I_REFRESH - Refresh with 'X' (Read from Database)
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_REFRESH_CACHE - Refresh Internal Memory Cache
Data type: MENU_FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_OPEN - Open with 'X'; Save with ' '
Data type: MENU_FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SORT - Sort Hierarchy with 'X'
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SORT_ROLES - Sort Roles by Description
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CHILDREN - (Re-)Read Children Only
Data type: MENU_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RSBB_NODES_READ_WITH_FILTER
E_SUBRC - Return Value, Return Value After ABAP Statements
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RSBB_NODES_READ_WITH_FILTER
C_T_NODES - Nodes
Data type: RSBB_NODESOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSBB_NODES_READ_WITH_FILTER 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_role | TYPE RSBB_NODES-AGR_NAME, " | |||
| lv_e_subrc | TYPE SY-SUBRC, " | |||
| lt_c_t_nodes | TYPE STANDARD TABLE OF RSBB_NODES, " | |||
| lv_i_favorites_only | TYPE MENU_FLAG, " | |||
| lv_i_roles_only | TYPE MENU_FLAG, " | |||
| lv_i_url | TYPE MENU_FLAG, " | |||
| lv_i_workbook | TYPE MENU_FLAG, " | |||
| lv_i_folder | TYPE MENU_FLAG, " | |||
| lv_i_document | TYPE MENU_FLAG, " | |||
| lv_i_shortcut | TYPE MENU_FLAG, " | |||
| lv_i_web_report | TYPE MENU_FLAG, " | |||
| lv_i_query | TYPE MENU_FLAG, " | |||
| lv_i_view | TYPE MENU_FLAG, " | |||
| lv_i_node | TYPE RSBB_NODES-OBJECT_ID, " | |||
| lv_i_infoset_query | TYPE MENU_FLAG, " | |||
| lv_i_crystal_report | TYPE MENU_FLAG, " | |||
| lv_i_miniapp | TYPE MENU_FLAG, " | |||
| lv_i_transaction | TYPE MENU_FLAG, " | |||
| lv_i_template | TYPE MENU_FLAG, " | |||
| lv_i_item_library | TYPE MENU_FLAG, " | |||
| lv_i_bsp_application | TYPE MENU_FLAG, " | |||
| lv_i_template_70 | TYPE MENU_FLAG, " | |||
| lv_i_level | TYPE RSBB_NODES-MENU_LEVEL, " | |||
| lv_i_refresh | TYPE MENU_FLAG, " | |||
| lv_i_refresh_cache | TYPE MENU_FLAG, " 'X' | |||
| lv_i_open | TYPE MENU_FLAG, " 'X' | |||
| lv_i_sort | TYPE MENU_FLAG, " | |||
| lv_i_sort_roles | TYPE MENU_FLAG, " | |||
| lv_i_children | TYPE MENU_FLAG. " |
|   CALL FUNCTION 'RSBB_NODES_READ_WITH_FILTER' "(Subsequently) Import Menu |
| EXPORTING | ||
| I_ROLE | = lv_i_role | |
| I_FAVORITES_ONLY | = lv_i_favorites_only | |
| I_ROLES_ONLY | = lv_i_roles_only | |
| I_URL | = lv_i_url | |
| I_WORKBOOK | = lv_i_workbook | |
| I_FOLDER | = lv_i_folder | |
| I_DOCUMENT | = lv_i_document | |
| I_SHORTCUT | = lv_i_shortcut | |
| I_WEB_REPORT | = lv_i_web_report | |
| I_QUERY | = lv_i_query | |
| I_VIEW | = lv_i_view | |
| I_NODE | = lv_i_node | |
| I_INFOSET_QUERY | = lv_i_infoset_query | |
| I_CRYSTAL_REPORT | = lv_i_crystal_report | |
| I_MINIAPP | = lv_i_miniapp | |
| I_TRANSACTION | = lv_i_transaction | |
| I_TEMPLATE | = lv_i_template | |
| I_ITEM_LIBRARY | = lv_i_item_library | |
| I_BSP_APPLICATION | = lv_i_bsp_application | |
| I_TEMPLATE_70 | = lv_i_template_70 | |
| I_LEVEL | = lv_i_level | |
| I_REFRESH | = lv_i_refresh | |
| I_REFRESH_CACHE | = lv_i_refresh_cache | |
| I_OPEN | = lv_i_open | |
| I_SORT | = lv_i_sort | |
| I_SORT_ROLES | = lv_i_sort_roles | |
| I_CHILDREN | = lv_i_children | |
| IMPORTING | ||
| E_SUBRC | = lv_e_subrc | |
| TABLES | ||
| C_T_NODES | = lt_c_t_nodes | |
| . " RSBB_NODES_READ_WITH_FILTER | ||
ABAP code using 7.40 inline data declarations to call FM RSBB_NODES_READ_WITH_FILTER
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 AGR_NAME FROM RSBB_NODES INTO @DATA(ld_i_role). | ||||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_e_subrc). | ||||
| "SELECT single OBJECT_ID FROM RSBB_NODES INTO @DATA(ld_i_node). | ||||
| "SELECT single MENU_LEVEL FROM RSBB_NODES INTO @DATA(ld_i_level). | ||||
| DATA(ld_i_refresh_cache) | = 'X'. | |||
| DATA(ld_i_open) | = 'X'. | |||
Search for further information about these or an SAP related objects