SAP RSSM_MON_READ Function Module for Read data from monitoring tables









RSSM_MON_READ is a standard rssm mon read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read data from monitoring tables 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 mon read FM, simply by entering the name RSSM_MON_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSM2
Program Name: SAPLRSM2
Main Program: SAPLRSM2
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RSSM_MON_READ 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_MON_READ'"Read data from monitoring tables
EXPORTING
* LANGUAGE = "
* RNR = "
* WITH_ODSR = ' ' "Single-Character Indicator

TABLES
* T_SELECT = "
* T_TCPDONE = "
* T_UICDONE = "
* T_RNR = "
* T_SELDONE = "
* T_IPTAB = "
* T_ICTAB = "
* T_MESS = "
* T_FACT = "
* T_HIEDONE = "
* T_LDTDONE = "

EXCEPTIONS
NO_RECORD_FOUND = 1
.



IMPORTING Parameters details for RSSM_MON_READ

LANGUAGE -

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

RNR -

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

WITH_ODSR - Single-Character Indicator

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

TABLES Parameters details for RSSM_MON_READ

T_SELECT -

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

T_TCPDONE -

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

T_UICDONE -

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

T_RNR -

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

T_SELDONE -

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

T_IPTAB -

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

T_ICTAB -

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

T_MESS -

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

T_FACT -

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

T_HIEDONE -

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

T_LDTDONE -

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

EXCEPTIONS details

NO_RECORD_FOUND -

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

Copy and paste ABAP code example for RSSM_MON_READ 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_language  TYPE SY-LANGU, "   
lt_t_select  TYPE STANDARD TABLE OF RSCEDST, "   
lv_no_record_found  TYPE RSCEDST, "   
lt_t_tcpdone  TYPE STANDARD TABLE OF RSTCPDONE, "   
lt_t_uicdone  TYPE STANDARD TABLE OF RSUICDONE, "   
lv_rnr  TYPE RSRNR-RNR, "   
lt_t_rnr  TYPE STANDARD TABLE OF RSRNR, "   
lt_t_seldone  TYPE STANDARD TABLE OF RSSELDONE, "   
lv_with_odsr  TYPE RS_BOOL, "   SPACE
lt_t_iptab  TYPE STANDARD TABLE OF RSMONIPTAB, "   
lt_t_ictab  TYPE STANDARD TABLE OF RSMONICTAB, "   
lt_t_mess  TYPE STANDARD TABLE OF RSMONMESS, "   
lt_t_fact  TYPE STANDARD TABLE OF RSMONFACT, "   
lt_t_hiedone  TYPE STANDARD TABLE OF RSHIEDONE, "   
lt_t_ldtdone  TYPE STANDARD TABLE OF RSLDTDONE. "   

  CALL FUNCTION 'RSSM_MON_READ'  "Read data from monitoring tables
    EXPORTING
         LANGUAGE = lv_language
         RNR = lv_rnr
         WITH_ODSR = lv_with_odsr
    TABLES
         T_SELECT = lt_t_select
         T_TCPDONE = lt_t_tcpdone
         T_UICDONE = lt_t_uicdone
         T_RNR = lt_t_rnr
         T_SELDONE = lt_t_seldone
         T_IPTAB = lt_t_iptab
         T_ICTAB = lt_t_ictab
         T_MESS = lt_t_mess
         T_FACT = lt_t_fact
         T_HIEDONE = lt_t_hiedone
         T_LDTDONE = lt_t_ldtdone
    EXCEPTIONS
        NO_RECORD_FOUND = 1
. " RSSM_MON_READ




ABAP code using 7.40 inline data declarations to call FM RSSM_MON_READ

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 LANGU FROM SY INTO @DATA(ld_language).
 
 
 
 
 
"SELECT single RNR FROM RSRNR INTO @DATA(ld_rnr).
 
 
 
DATA(ld_with_odsr) = ' '.
 
 
 
 
 
 
 


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!