SAP RSSM_MONITOR_TREE Function Module for Monitor: Tree Control
RSSM_MONITOR_TREE is a standard rssm monitor tree SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Monitor: Tree Control 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 rssm monitor tree FM, simply by entering the name RSSM_MONITOR_TREE into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSM3
Program Name: SAPLRSM3
Main Program: SAPLRSM3
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function RSSM_MONITOR_TREE 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 'RSSM_MONITOR_TREE'"Monitor: Tree Control.
EXPORTING
* P_SHOW_DATA_FOR_SIMU = "
* P_SHOW_REBUILD = "Boolean
* P_SHOW_CANCEL = "Boolean
IMPORTING
E_COMMAND = "
TABLES
* T_SELECT = "
* T_STATUS = "
* E_T_RNR = "Request table
* E_T_MON_LIST = "Monitor List
IMPORTING Parameters details for RSSM_MONITOR_TREE
P_SHOW_DATA_FOR_SIMU -
Data type: RS_BOOLOptional: Yes
Call by Reference: Yes
P_SHOW_REBUILD - Boolean
Data type: RS_BOOLOptional: Yes
Call by Reference: Yes
P_SHOW_CANCEL - Boolean
Data type: RS_BOOLOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RSSM_MONITOR_TREE
E_COMMAND -
Data type: SY-UCOMMOptional: No
Call by Reference: Yes
TABLES Parameters details for RSSM_MONITOR_TREE
T_SELECT -
Data type: RSCEDSTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_STATUS -
Data type: RSCEDSTOptional: Yes
Call by Reference: No ( called with pass by value option)
E_T_RNR - Request table
Data type: RSRNROptional: Yes
Call by Reference: Yes
E_T_MON_LIST - Monitor List
Data type: RSSM_S_MON_LISTOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for RSSM_MONITOR_TREE 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: | ||||
lt_t_select | TYPE STANDARD TABLE OF RSCEDST, " | |||
lv_e_command | TYPE SY-UCOMM, " | |||
lv_p_show_data_for_simu | TYPE RS_BOOL, " | |||
lt_t_status | TYPE STANDARD TABLE OF RSCEDST, " | |||
lv_p_show_rebuild | TYPE RS_BOOL, " | |||
lt_e_t_rnr | TYPE STANDARD TABLE OF RSRNR, " | |||
lv_p_show_cancel | TYPE RS_BOOL, " | |||
lt_e_t_mon_list | TYPE STANDARD TABLE OF RSSM_S_MON_LIST. " |
  CALL FUNCTION 'RSSM_MONITOR_TREE' "Monitor: Tree Control |
EXPORTING | ||
P_SHOW_DATA_FOR_SIMU | = lv_p_show_data_for_simu | |
P_SHOW_REBUILD | = lv_p_show_rebuild | |
P_SHOW_CANCEL | = lv_p_show_cancel | |
IMPORTING | ||
E_COMMAND | = lv_e_command | |
TABLES | ||
T_SELECT | = lt_t_select | |
T_STATUS | = lt_t_status | |
E_T_RNR | = lt_e_t_rnr | |
E_T_MON_LIST | = lt_e_t_mon_list | |
. " RSSM_MONITOR_TREE |
ABAP code using 7.40 inline data declarations to call FM RSSM_MONITOR_TREE
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 UCOMM FROM SY INTO @DATA(ld_e_command). | ||||
Search for further information about these or an SAP related objects