SAP RSSM_ICUBE_REQUESTS_GET Function Module for Requests for an InfoCube with control information









RSSM_ICUBE_REQUESTS_GET is a standard rssm icube requests get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Requests for an InfoCube with control information 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 icube requests get FM, simply by entering the name RSSM_ICUBE_REQUESTS_GET 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_ICUBE_REQUESTS_GET 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_ICUBE_REQUESTS_GET'"Requests for an InfoCube with control information
EXPORTING
I_INFOCUBE = "
* I_RSMDATASTATE_UPDATE = ' ' "Boolean
* I_DATE_FROM = '00000000' "
* I_DATE_TO = '00000000' "
* I_WITHOUT_TEXTS = ' ' "Boolean

IMPORTING
E_T_REQUEST = "

EXCEPTIONS
WRONG_INFOCUBE = 1 INTERNAL_ERROR = 2
.



IMPORTING Parameters details for RSSM_ICUBE_REQUESTS_GET

I_INFOCUBE -

Data type: RSDCUBE-INFOCUBE
Optional: No
Call by Reference: Yes

I_RSMDATASTATE_UPDATE - Boolean

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

I_DATE_FROM -

Data type: SY-DATUM
Default: '00000000'
Optional: Yes
Call by Reference: Yes

I_DATE_TO -

Data type: SY-DATUM
Default: '00000000'
Optional: Yes
Call by Reference: Yes

I_WITHOUT_TEXTS - Boolean

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

EXPORTING Parameters details for RSSM_ICUBE_REQUESTS_GET

E_T_REQUEST -

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

EXCEPTIONS details

WRONG_INFOCUBE -

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

INTERNAL_ERROR -

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

Copy and paste ABAP code example for RSSM_ICUBE_REQUESTS_GET 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_infocube  TYPE RSDCUBE-INFOCUBE, "   
lv_e_t_request  TYPE RSSM_T_PART, "   
lv_wrong_infocube  TYPE RSSM_T_PART, "   
lv_internal_error  TYPE RSSM_T_PART, "   
lv_i_rsmdatastate_update  TYPE RS_BOOL, "   SPACE
lv_i_date_from  TYPE SY-DATUM, "   '00000000'
lv_i_date_to  TYPE SY-DATUM, "   '00000000'
lv_i_without_texts  TYPE RS_BOOL. "   SPACE

  CALL FUNCTION 'RSSM_ICUBE_REQUESTS_GET'  "Requests for an InfoCube with control information
    EXPORTING
         I_INFOCUBE = lv_i_infocube
         I_RSMDATASTATE_UPDATE = lv_i_rsmdatastate_update
         I_DATE_FROM = lv_i_date_from
         I_DATE_TO = lv_i_date_to
         I_WITHOUT_TEXTS = lv_i_without_texts
    IMPORTING
         E_T_REQUEST = lv_e_t_request
    EXCEPTIONS
        WRONG_INFOCUBE = 1
        INTERNAL_ERROR = 2
. " RSSM_ICUBE_REQUESTS_GET




ABAP code using 7.40 inline data declarations to call FM RSSM_ICUBE_REQUESTS_GET

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 INFOCUBE FROM RSDCUBE INTO @DATA(ld_i_infocube).
 
 
 
 
DATA(ld_i_rsmdatastate_update) = ' '.
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_date_from).
DATA(ld_i_date_from) = '00000000'.
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_date_to).
DATA(ld_i_date_to) = '00000000'.
 
DATA(ld_i_without_texts) = ' '.
 


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!