SAP RSSM_UPDATE_RSMDATASTATE Function Module for Rsmdatastate update for Reporting









RSSM_UPDATE_RSMDATASTATE is a standard rssm update rsmdatastate SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Rsmdatastate update for Reporting 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 update rsmdatastate FM, simply by entering the name RSSM_UPDATE_RSMDATASTATE into the relevant SAP transaction such as SE37 or SE38.

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



Function RSSM_UPDATE_RSMDATASTATE 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_UPDATE_RSMDATASTATE'"Rsmdatastate update for Reporting
EXPORTING
* I_RNR = "
* I_ICUBE = "
* I_SUPRESS_FULL_CHECK = 'X' "
* I_COMBINE_ENTRIES = ' ' "
* I_ONLY_UPDATE = ' ' "
* I_NO_DIALOG = 'X' "
* I_WAIT_RNR = 0 "Master Data ID

IMPORTING
E_T_ROLLUPIC = "
E_T_COMPIC = "
E_T_ODSACT = "
.



IMPORTING Parameters details for RSSM_UPDATE_RSMDATASTATE

I_RNR -

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

I_ICUBE -

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

I_SUPRESS_FULL_CHECK -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COMBINE_ENTRIES -

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

I_ONLY_UPDATE -

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

I_NO_DIALOG -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WAIT_RNR - Master Data ID

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

EXPORTING Parameters details for RSSM_UPDATE_RSMDATASTATE

E_T_ROLLUPIC -

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

E_T_COMPIC -

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

E_T_ODSACT -

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

Copy and paste ABAP code example for RSSM_UPDATE_RSMDATASTATE 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 RSREQDONE-RNR, "   
lv_e_t_rollupic  TYPE RSSM_T_ROLLUPIC, "   
lv_i_icube  TYPE RSICCONT-ICUBE, "   
lv_e_t_compic  TYPE RSSM_T_COMPIC, "   
lv_e_t_odsact  TYPE RSSM_T_ROLLUPIC, "   
lv_i_supress_full_check  TYPE C, "   'X'
lv_i_combine_entries  TYPE C, "   SPACE
lv_i_only_update  TYPE C, "   SPACE
lv_i_no_dialog  TYPE C, "   'X'
lv_i_wait_rnr  TYPE RSSID. "   0

  CALL FUNCTION 'RSSM_UPDATE_RSMDATASTATE'  "Rsmdatastate update for Reporting
    EXPORTING
         I_RNR = lv_i_rnr
         I_ICUBE = lv_i_icube
         I_SUPRESS_FULL_CHECK = lv_i_supress_full_check
         I_COMBINE_ENTRIES = lv_i_combine_entries
         I_ONLY_UPDATE = lv_i_only_update
         I_NO_DIALOG = lv_i_no_dialog
         I_WAIT_RNR = lv_i_wait_rnr
    IMPORTING
         E_T_ROLLUPIC = lv_e_t_rollupic
         E_T_COMPIC = lv_e_t_compic
         E_T_ODSACT = lv_e_t_odsact
. " RSSM_UPDATE_RSMDATASTATE




ABAP code using 7.40 inline data declarations to call FM RSSM_UPDATE_RSMDATASTATE

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 RSREQDONE INTO @DATA(ld_i_rnr).
 
 
"SELECT single ICUBE FROM RSICCONT INTO @DATA(ld_i_icube).
 
 
 
DATA(ld_i_supress_full_check) = 'X'.
 
DATA(ld_i_combine_entries) = ' '.
 
DATA(ld_i_only_update) = ' '.
 
DATA(ld_i_no_dialog) = 'X'.
 
 


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!