SAP RSSM_RSMONFACT_READ Function Module for Read RSMONFACT









RSSM_RSMONFACT_READ is a standard rssm rsmonfact 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 RSMONFACT 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 rsmonfact read FM, simply by entering the name RSSM_RSMONFACT_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function RSSM_RSMONFACT_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_RSMONFACT_READ'"Read RSMONFACT
EXPORTING
* I_RNR = "Request number for the data transfer
* I_DP_NR = "Data Package Number
* I_SINGLE_SELECT = "Boolean
* I_USE_SL_TABS = "Boolean
* I_SECOND_CONNECTION = ' ' "Character Field Length = 10

IMPORTING
E_S_RSMONFACT = "Monitor: Saving of the QM entries

TABLES
* E_T_RSMONFACT = "Monitor: Saving of the QM entries
* SL_IDOCNUM = "
.



IMPORTING Parameters details for RSSM_RSMONFACT_READ

I_RNR - Request number for the data transfer

Data type: RSMONFACT-RNR
Optional: Yes
Call by Reference: Yes

I_DP_NR - Data Package Number

Data type: RSMONFACT-DP_NR
Optional: Yes
Call by Reference: Yes

I_SINGLE_SELECT - Boolean

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

I_USE_SL_TABS - Boolean

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

I_SECOND_CONNECTION - Character Field Length = 10

Data type: DBCON_NAME
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RSSM_RSMONFACT_READ

E_S_RSMONFACT - Monitor: Saving of the QM entries

Data type: RSMONFACT
Optional: No
Call by Reference: Yes

TABLES Parameters details for RSSM_RSMONFACT_READ

E_T_RSMONFACT - Monitor: Saving of the QM entries

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

SL_IDOCNUM -

Data type:
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for RSSM_RSMONFACT_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_i_rnr  TYPE RSMONFACT-RNR, "   
lv_e_s_rsmonfact  TYPE RSMONFACT, "   
lt_e_t_rsmonfact  TYPE STANDARD TABLE OF RSMONFACT, "   
lv_i_dp_nr  TYPE RSMONFACT-DP_NR, "   
lt_sl_idocnum  TYPE STANDARD TABLE OF RSMONFACT, "   
lv_i_single_select  TYPE RS_BOOL, "   
lv_i_use_sl_tabs  TYPE RS_BOOL, "   
lv_i_second_connection  TYPE DBCON_NAME. "   SPACE

  CALL FUNCTION 'RSSM_RSMONFACT_READ'  "Read RSMONFACT
    EXPORTING
         I_RNR = lv_i_rnr
         I_DP_NR = lv_i_dp_nr
         I_SINGLE_SELECT = lv_i_single_select
         I_USE_SL_TABS = lv_i_use_sl_tabs
         I_SECOND_CONNECTION = lv_i_second_connection
    IMPORTING
         E_S_RSMONFACT = lv_e_s_rsmonfact
    TABLES
         E_T_RSMONFACT = lt_e_t_rsmonfact
         SL_IDOCNUM = lt_sl_idocnum
. " RSSM_RSMONFACT_READ




ABAP code using 7.40 inline data declarations to call FM RSSM_RSMONFACT_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 RNR FROM RSMONFACT INTO @DATA(ld_i_rnr).
 
 
 
"SELECT single DP_NR FROM RSMONFACT INTO @DATA(ld_i_dp_nr).
 
 
 
 
DATA(ld_i_second_connection) = ' '.
 


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!