SAP MGW_CHECK_MATRIX_INPUT_MODE_9 Function Module for Check Modified Values (Within Matrix)
MGW_CHECK_MATRIX_INPUT_MODE_9 is a standard mgw check matrix input mode 9 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check Modified Values (Within Matrix) 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 mgw check matrix input mode 9 FM, simply by entering the name MGW_CHECK_MATRIX_INPUT_MODE_9 into the relevant SAP transaction such as SE37 or SE38.
Function Group: MGW_MATRIX_MAINTENANCE
Program Name: SAPLMGW_MATRIX_MAINTENANCE
Main Program: SAPLMGW_MATRIX_MAINTENANCE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MGW_CHECK_MATRIX_INPUT_MODE_9 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 'MGW_CHECK_MATRIX_INPUT_MODE_9'"Check Modified Values (Within Matrix).
EXPORTING
VAR_CUOBJ = "Configuration (Internal Object Number)
IMPORTING
VAR_MSGID = "Messages, Message Class
VAR_MSGTY = "Messages, Message Type
VAR_MSGNO = "Messages, Message Number
VAR_MSGV1 = "Messages, Message Variable
VAR_MSGV2 = "Messages, Message Variable
VAR_MSGV3 = "Messages, Message Variable
CHANGING
* VAR_FWERT = "Internal Floating Point From
* VAR_CWERT = "Characteristic Value
IMPORTING Parameters details for MGW_CHECK_MATRIX_INPUT_MODE_9
VAR_CUOBJ - Configuration (Internal Object Number)
Data type: MTRX_VART-CUOBJOptional: No
Call by Reference: Yes
EXPORTING Parameters details for MGW_CHECK_MATRIX_INPUT_MODE_9
VAR_MSGID - Messages, Message Class
Data type: SY-MSGIDOptional: No
Call by Reference: Yes
VAR_MSGTY - Messages, Message Type
Data type: SY-MSGTYOptional: No
Call by Reference: Yes
VAR_MSGNO - Messages, Message Number
Data type: SY-MSGNOOptional: No
Call by Reference: Yes
VAR_MSGV1 - Messages, Message Variable
Data type: SY-MSGV1Optional: No
Call by Reference: Yes
VAR_MSGV2 - Messages, Message Variable
Data type: SY-MSGV2Optional: No
Call by Reference: Yes
VAR_MSGV3 - Messages, Message Variable
Data type: SY-MSGV3Optional: No
Call by Reference: Yes
CHANGING Parameters details for MGW_CHECK_MATRIX_INPUT_MODE_9
VAR_FWERT - Internal Floating Point From
Data type: MTRX_WSEL-FWERTOptional: Yes
Call by Reference: Yes
VAR_CWERT - Characteristic Value
Data type: MTRX_WSEL-CWERTOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for MGW_CHECK_MATRIX_INPUT_MODE_9 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_var_cuobj | TYPE MTRX_VART-CUOBJ, " | |||
| lv_var_fwert | TYPE MTRX_WSEL-FWERT, " | |||
| lv_var_msgid | TYPE SY-MSGID, " | |||
| lv_var_cwert | TYPE MTRX_WSEL-CWERT, " | |||
| lv_var_msgty | TYPE SY-MSGTY, " | |||
| lv_var_msgno | TYPE SY-MSGNO, " | |||
| lv_var_msgv1 | TYPE SY-MSGV1, " | |||
| lv_var_msgv2 | TYPE SY-MSGV2, " | |||
| lv_var_msgv3 | TYPE SY-MSGV3. " |
|   CALL FUNCTION 'MGW_CHECK_MATRIX_INPUT_MODE_9' "Check Modified Values (Within Matrix) |
| EXPORTING | ||
| VAR_CUOBJ | = lv_var_cuobj | |
| IMPORTING | ||
| VAR_MSGID | = lv_var_msgid | |
| VAR_MSGTY | = lv_var_msgty | |
| VAR_MSGNO | = lv_var_msgno | |
| VAR_MSGV1 | = lv_var_msgv1 | |
| VAR_MSGV2 | = lv_var_msgv2 | |
| VAR_MSGV3 | = lv_var_msgv3 | |
| CHANGING | ||
| VAR_FWERT | = lv_var_fwert | |
| VAR_CWERT | = lv_var_cwert | |
| . " MGW_CHECK_MATRIX_INPUT_MODE_9 | ||
ABAP code using 7.40 inline data declarations to call FM MGW_CHECK_MATRIX_INPUT_MODE_9
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 CUOBJ FROM MTRX_VART INTO @DATA(ld_var_cuobj). | ||||
| "SELECT single FWERT FROM MTRX_WSEL INTO @DATA(ld_var_fwert). | ||||
| "SELECT single MSGID FROM SY INTO @DATA(ld_var_msgid). | ||||
| "SELECT single CWERT FROM MTRX_WSEL INTO @DATA(ld_var_cwert). | ||||
| "SELECT single MSGTY FROM SY INTO @DATA(ld_var_msgty). | ||||
| "SELECT single MSGNO FROM SY INTO @DATA(ld_var_msgno). | ||||
| "SELECT single MSGV1 FROM SY INTO @DATA(ld_var_msgv1). | ||||
| "SELECT single MSGV2 FROM SY INTO @DATA(ld_var_msgv2). | ||||
| "SELECT single MSGV3 FROM SY INTO @DATA(ld_var_msgv3). | ||||
Search for further information about these or an SAP related objects