SAP RSBB_TREE_DELETE Function Module for (Subsequently) Import Menu









RSBB_TREE_DELETE is a standard rsbb tree delete 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 tree delete FM, simply by entering the name RSBB_TREE_DELETE 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): Normal Function Module
Update:



Function RSBB_TREE_DELETE 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_TREE_DELETE'"(Subsequently) Import Menu
EXPORTING
* I_ROLE = "Role Name
* I_SHORTCUT = "Shortcuts Only
* I_WEB_REPORT = "Web Reports Only
* I_QUERY = "Queries Only
* 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_NODE = "Node ID
* I_SAP_GUID = "SAP GUID
* I_WITH_ALL_REF = "Delete All References
* I_IGNORE_AUTHORITY = "Delete Also Without Authority
* I_WORKBOOK = "Workbooks Only
* I_URL = "URLs Only
* I_FOLDER = "Folders Only
* I_DOCUMENT = "Documents Only

IMPORTING
E_SUBRC = "Return Value, Return Value After ABAP Statements

TABLES
* E_T_TREE_LIST = "Transfer Structure for Where-used List
.



IMPORTING Parameters details for RSBB_TREE_DELETE

I_ROLE - Role Name

Data type: RSBB_NODES-AGR_NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SHORTCUT - Shortcuts Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WEB_REPORT - Web Reports Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_QUERY - Queries Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_INFOSET_QUERY - InfoSet Queries Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CRYSTAL_REPORT - Crystal Reports Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MINIAPP - MiniApps Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TRANSACTION - Transactions Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TEMPLATE - Templates Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITEM_LIBRARY - Item Libraries Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_NODE - Node ID

Data type: RSBB_NODES-OBJECT_ID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SAP_GUID - SAP GUID

Data type: RSBB_NODES-SAP_GUID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WITH_ALL_REF - Delete All References

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IGNORE_AUTHORITY - Delete Also Without Authority

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WORKBOOK - Workbooks Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_URL - URLs Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FOLDER - Folders Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DOCUMENT - Documents Only

Data type: MENU_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RSBB_TREE_DELETE

E_SUBRC - Return Value, Return Value After ABAP Statements

Data type: SY-SUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RSBB_TREE_DELETE

E_T_TREE_LIST - Transfer Structure for Where-used List

Data type: RSBB_TREE_LIST
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for RSBB_TREE_DELETE 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_e_t_tree_list  TYPE STANDARD TABLE OF RSBB_TREE_LIST, "   
lv_i_shortcut  TYPE MENU_FLAG, "   
lv_i_web_report  TYPE MENU_FLAG, "   
lv_i_query  TYPE MENU_FLAG, "   
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_node  TYPE RSBB_NODES-OBJECT_ID, "   
lv_i_sap_guid  TYPE RSBB_NODES-SAP_GUID, "   
lv_i_with_all_ref  TYPE MENU_FLAG, "   
lv_i_ignore_authority  TYPE MENU_FLAG, "   
lv_i_workbook  TYPE MENU_FLAG, "   
lv_i_url  TYPE MENU_FLAG, "   
lv_i_folder  TYPE MENU_FLAG, "   
lv_i_document  TYPE MENU_FLAG. "   

  CALL FUNCTION 'RSBB_TREE_DELETE'  "(Subsequently) Import Menu
    EXPORTING
         I_ROLE = lv_i_role
         I_SHORTCUT = lv_i_shortcut
         I_WEB_REPORT = lv_i_web_report
         I_QUERY = lv_i_query
         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_NODE = lv_i_node
         I_SAP_GUID = lv_i_sap_guid
         I_WITH_ALL_REF = lv_i_with_all_ref
         I_IGNORE_AUTHORITY = lv_i_ignore_authority
         I_WORKBOOK = lv_i_workbook
         I_URL = lv_i_url
         I_FOLDER = lv_i_folder
         I_DOCUMENT = lv_i_document
    IMPORTING
         E_SUBRC = lv_e_subrc
    TABLES
         E_T_TREE_LIST = lt_e_t_tree_list
. " RSBB_TREE_DELETE




ABAP code using 7.40 inline data declarations to call FM RSBB_TREE_DELETE

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 SAP_GUID FROM RSBB_NODES INTO @DATA(ld_i_sap_guid).
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!