SAP RRMS_MESSAGES_INPUT Function Module for Counterpart of RRMS_MESSAGES_OUTPUT: No msg check
RRMS_MESSAGES_INPUT is a standard rrms messages input SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Counterpart of RRMS_MESSAGES_OUTPUT: No msg check 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 rrms messages input FM, simply by entering the name RRMS_MESSAGES_INPUT into the relevant SAP transaction such as SE37 or SE38.
Function Group: RRMS
Program Name: SAPLRRMS
Main Program: SAPLRRMS
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RRMS_MESSAGES_INPUT 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 'RRMS_MESSAGES_INPUT'"Counterpart of RRMS_MESSAGES_OUTPUT: No msg check.
EXPORTING
* I_T_MESG = "Messages Table
* I_INTERRUPT_SEVERITY = 16 "Return Value, Return Value After ABAP Statements
* I_LANGU = SY-LANGU "SAP R/3 System, Current Language
* I_SUPPRMESS = "Suppress Messages
* I_T_MSG = "Messages Table
* I_CUMULATE = RS_C_FALSE "Cumulate Messages
EXCEPTIONS
INVALID_HANDLE = 1
IMPORTING Parameters details for RRMS_MESSAGES_INPUT
I_T_MESG - Messages Table
Data type: RRMS_T_MESGOptional: Yes
Call by Reference: Yes
I_INTERRUPT_SEVERITY - Return Value, Return Value After ABAP Statements
Data type: SY-SUBRCDefault: 16
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LANGU - SAP R/3 System, Current Language
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SUPPRMESS - Suppress Messages
Data type: RSRSUPPRMESSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_T_MSG - Messages Table
Data type: RS_T_MSGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CUMULATE - Cumulate Messages
Data type: RS_BOOLDefault: RS_C_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INVALID_HANDLE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RRMS_MESSAGES_INPUT 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_t_mesg | TYPE RRMS_T_MESG, " | |||
| lv_invalid_handle | TYPE RRMS_T_MESG, " | |||
| lv_i_interrupt_severity | TYPE SY-SUBRC, " 16 | |||
| lv_i_langu | TYPE SY-LANGU, " SY-LANGU | |||
| lv_i_supprmess | TYPE RSRSUPPRMESS, " | |||
| lv_i_t_msg | TYPE RS_T_MSG, " | |||
| lv_i_cumulate | TYPE RS_BOOL. " RS_C_FALSE |
|   CALL FUNCTION 'RRMS_MESSAGES_INPUT' "Counterpart of RRMS_MESSAGES_OUTPUT: No msg check |
| EXPORTING | ||
| I_T_MESG | = lv_i_t_mesg | |
| I_INTERRUPT_SEVERITY | = lv_i_interrupt_severity | |
| I_LANGU | = lv_i_langu | |
| I_SUPPRMESS | = lv_i_supprmess | |
| I_T_MSG | = lv_i_t_msg | |
| I_CUMULATE | = lv_i_cumulate | |
| EXCEPTIONS | ||
| INVALID_HANDLE = 1 | ||
| . " RRMS_MESSAGES_INPUT | ||
ABAP code using 7.40 inline data declarations to call FM RRMS_MESSAGES_INPUT
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 SUBRC FROM SY INTO @DATA(ld_i_interrupt_severity). | ||||
| DATA(ld_i_interrupt_severity) | = 16. | |||
| "SELECT single LANGU FROM SY INTO @DATA(ld_i_langu). | ||||
| DATA(ld_i_langu) | = SY-LANGU. | |||
| DATA(ld_i_cumulate) | = RS_C_FALSE. | |||
Search for further information about these or an SAP related objects