SAP RSSM_GET_REQUEST_STATUS Function Module for Gets the Request-Status









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

Function Group: RSM3
Program Name: SAPLRSM3
Main Program: SAPLRSM3
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function RSSM_GET_REQUEST_STATUS 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_GET_REQUEST_STATUS'"Gets the Request-Status
EXPORTING
I_REQUEST = "Request ID (data package)
* I_STAY_YELLOW = RS_C_FALSE "Status will remain yellow if 'PSA only' and 'continue'
* I_NO_ASSISTANCE = RS_C_FALSE "No assistant, no post processing
* I_NO_TIMEOUT = RS_C_FALSE "No timeout calculation
* I_NO_QUESTION = RS_C_FALSE "Boolean
* I_NO_DATASTATE = RS_C_FALSE "Boolean

IMPORTING
E_TECHSTATUS = "Request status (external display)
E_TECHINFO = "Information on request status (plain text)
E_QUALSTATUS = "Request status (external display)
E_QUALINFO = "Information on request status (plain text)
E_LOCATION = "Current Processing Step

TABLES
* E_T_MESSAGES = "Messages in XML Format
* E_T_MSGTAB = "Messages in SAP Format
* E_T_TEXT = "Table with Clear Text (Space = Paragraph)

EXCEPTIONS
NOT_EXIST = 1
.



IMPORTING Parameters details for RSSM_GET_REQUEST_STATUS

I_REQUEST - Request ID (data package)

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

I_STAY_YELLOW - Status will remain yellow if 'PSA only' and 'continue'

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

I_NO_ASSISTANCE - No assistant, no post processing

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

I_NO_TIMEOUT - No timeout calculation

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

I_NO_QUESTION - Boolean

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

I_NO_DATASTATE - Boolean

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

EXPORTING Parameters details for RSSM_GET_REQUEST_STATUS

E_TECHSTATUS - Request status (external display)

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

E_TECHINFO - Information on request status (plain text)

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

E_QUALSTATUS - Request status (external display)

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

E_QUALINFO - Information on request status (plain text)

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

E_LOCATION - Current Processing Step

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

TABLES Parameters details for RSSM_GET_REQUEST_STATUS

E_T_MESSAGES - Messages in XML Format

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

E_T_MSGTAB - Messages in SAP Format

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

E_T_TEXT - Table with Clear Text (Space = Paragraph)

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

EXCEPTIONS details

NOT_EXIST - Request Does Not Exist

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSSM_GET_REQUEST_STATUS 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_request  TYPE RSREQUID, "   
lv_not_exist  TYPE RSREQUID, "   
lv_e_techstatus  TYPE RS_REQSTATUS, "   
lt_e_t_messages  TYPE STANDARD TABLE OF BAPI6107MSG, "   
lv_e_techinfo  TYPE RS_REQINFO, "   
lt_e_t_msgtab  TYPE STANDARD TABLE OF BAPIRET1, "   
lv_i_stay_yellow  TYPE RS_BOOL, "   RS_C_FALSE
lt_e_t_text  TYPE STANDARD TABLE OF SOLISTI1, "   
lv_e_qualstatus  TYPE RS_REQSTATUS, "   
lv_i_no_assistance  TYPE RS_BOOL, "   RS_C_FALSE
lv_e_qualinfo  TYPE RS_REQINFO, "   
lv_i_no_timeout  TYPE RS_BOOL, "   RS_C_FALSE
lv_e_location  TYPE RS_REQUEST_LOCATION, "   
lv_i_no_question  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_no_datastate  TYPE RS_BOOL. "   RS_C_FALSE

  CALL FUNCTION 'RSSM_GET_REQUEST_STATUS'  "Gets the Request-Status
    EXPORTING
         I_REQUEST = lv_i_request
         I_STAY_YELLOW = lv_i_stay_yellow
         I_NO_ASSISTANCE = lv_i_no_assistance
         I_NO_TIMEOUT = lv_i_no_timeout
         I_NO_QUESTION = lv_i_no_question
         I_NO_DATASTATE = lv_i_no_datastate
    IMPORTING
         E_TECHSTATUS = lv_e_techstatus
         E_TECHINFO = lv_e_techinfo
         E_QUALSTATUS = lv_e_qualstatus
         E_QUALINFO = lv_e_qualinfo
         E_LOCATION = lv_e_location
    TABLES
         E_T_MESSAGES = lt_e_t_messages
         E_T_MSGTAB = lt_e_t_msgtab
         E_T_TEXT = lt_e_t_text
    EXCEPTIONS
        NOT_EXIST = 1
. " RSSM_GET_REQUEST_STATUS




ABAP code using 7.40 inline data declarations to call FM RSSM_GET_REQUEST_STATUS

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.

 
 
 
 
 
 
DATA(ld_i_stay_yellow) = RS_C_FALSE.
 
 
 
DATA(ld_i_no_assistance) = RS_C_FALSE.
 
 
DATA(ld_i_no_timeout) = RS_C_FALSE.
 
 
DATA(ld_i_no_question) = RS_C_FALSE.
 
DATA(ld_i_no_datastate) = RS_C_FALSE.
 


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!