SAP RMXT299_GET_MODE Function Module for NOTRANSL: Ermittelt Modus (Ändern/Anzeige) für Versuchssichten
RMXT299_GET_MODE is a standard rmxt299 get mode SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Ermittelt Modus (Ändern/Anzeige) für Versuchssichten 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 rmxt299 get mode FM, simply by entering the name RMXT299_GET_MODE into the relevant SAP transaction such as SE37 or SE38.
Function Group: RMXT299
Program Name: SAPLRMXT299
Main Program: SAPLRMXT299
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RMXT299_GET_MODE 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 'RMXT299_GET_MODE'"NOTRANSL: Ermittelt Modus (Ändern/Anzeige) für Versuchssichten.
EXPORTING
IS_MODE = "Mode: Workbench Scenario, Object Lock, ...
* I_DISP_STATUS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_OBJNR = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_TASKID = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_TRIALTYPE = "Trial Type
* IS_INIT_PARAM = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_REG_ID = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING
E_FLG_DISP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
ET_MSG = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING Parameters details for RMXT299_GET_MODE
IS_MODE - Mode: Workbench Scenario, Object Lock, ...
Data type: RMSTS_MODEOptional: No
Call by Reference: Yes
I_DISP_STATUS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: J_STATUSOptional: Yes
Call by Reference: Yes
I_OBJNR - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: J_OBJNROptional: Yes
Call by Reference: Yes
I_TASKID - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RMXTE_TASKOptional: Yes
Call by Reference: Yes
I_TRIALTYPE - Trial Type
Data type: RMXTE_TRIALTYPEOptional: Yes
Call by Reference: Yes
IS_INIT_PARAM - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RMXTS_MONI_INITOptional: Yes
Call by Reference: Yes
I_REG_ID - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RMSTE_REG_IDOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RMXT299_GET_MODE
E_FLG_DISP - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: FLAGOptional: No
Call by Reference: Yes
ET_MSG - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RMXTTY_MESSAGESOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for RMXT299_GET_MODE 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_is_mode | TYPE RMSTS_MODE, " | |||
| lv_e_flg_disp | TYPE FLAG, " | |||
| lv_et_msg | TYPE RMXTTY_MESSAGES, " | |||
| lv_i_disp_status | TYPE J_STATUS, " | |||
| lv_i_objnr | TYPE J_OBJNR, " | |||
| lv_i_taskid | TYPE RMXTE_TASK, " | |||
| lv_i_trialtype | TYPE RMXTE_TRIALTYPE, " | |||
| lv_is_init_param | TYPE RMXTS_MONI_INIT, " | |||
| lv_i_reg_id | TYPE RMSTE_REG_ID. " |
|   CALL FUNCTION 'RMXT299_GET_MODE' "NOTRANSL: Ermittelt Modus (Ändern/Anzeige) für Versuchssichten |
| EXPORTING | ||
| IS_MODE | = lv_is_mode | |
| I_DISP_STATUS | = lv_i_disp_status | |
| I_OBJNR | = lv_i_objnr | |
| I_TASKID | = lv_i_taskid | |
| I_TRIALTYPE | = lv_i_trialtype | |
| IS_INIT_PARAM | = lv_is_init_param | |
| I_REG_ID | = lv_i_reg_id | |
| IMPORTING | ||
| E_FLG_DISP | = lv_e_flg_disp | |
| ET_MSG | = lv_et_msg | |
| . " RMXT299_GET_MODE | ||
ABAP code using 7.40 inline data declarations to call FM RMXT299_GET_MODE
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.Search for further information about these or an SAP related objects