SAP GRMG_READ_ABAP_INSTANCE_LIST Function Module for Liste von ABAP-Systemen für WS-Überwachung
GRMG_READ_ABAP_INSTANCE_LIST is a standard grmg read abap instance list SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Liste von ABAP-Systemen für WS-Überwachung 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 grmg read abap instance list FM, simply by entering the name GRMG_READ_ABAP_INSTANCE_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: GRMG
Program Name: SAPLGRMG
Main Program: SAPLGRMG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function GRMG_READ_ABAP_INSTANCE_LIST 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 'GRMG_READ_ABAP_INSTANCE_LIST'"Liste von ABAP-Systemen für WS-Überwachung.
EXPORTING
* DIALOG_MODE = 'X' "General Flag
SYSTEM_SID = "Name of the SAP System
SYSTEM_REFERENCE_OBJECT = "Representation CIM Instance
SYSTEM_HANDLE = "
SYSTEM_LIST_ENTRY = "
CHANGING
SYSTEM_LIST = "
* SELF_MONI_TID = "Alert: global monitoring type identifier
SLD_ACCESSOR_OBJECT = "Access to SLD Server
* CONTROL_FLAGS = "
EXCEPTIONS
SLD_ERROR = 1
IMPORTING Parameters details for GRMG_READ_ABAP_INSTANCE_LIST
DIALOG_MODE - General Flag
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: Yes
SYSTEM_SID - Name of the SAP System
Data type: SY-SYSIDOptional: No
Call by Reference: Yes
SYSTEM_REFERENCE_OBJECT - Representation CIM Instance
Data type: CL_SLD_CIM_INSTANCEOptional: No
Call by Reference: Yes
SYSTEM_HANDLE -
Data type: STRINGOptional: No
Call by Reference: Yes
SYSTEM_LIST_ENTRY -
Data type: GRMG_WS_SYSTEM_LISTOptional: No
Call by Reference: Yes
CHANGING Parameters details for GRMG_READ_ABAP_INSTANCE_LIST
SYSTEM_LIST -
Data type: GRMG_WS_SYSTEM_LIST_TOptional: No
Call by Reference: Yes
SELF_MONI_TID - Alert: global monitoring type identifier
Data type: ALGLOBTIDOptional: Yes
Call by Reference: Yes
SLD_ACCESSOR_OBJECT - Access to SLD Server
Data type: CL_SLD_ACCESSOROptional: No
Call by Reference: Yes
CONTROL_FLAGS -
Data type: GRMG_AWS_CTRLOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
SLD_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for GRMG_READ_ABAP_INSTANCE_LIST 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_sld_error | TYPE STRING, " | |||
| lv_dialog_mode | TYPE FLAG, " 'X' | |||
| lv_system_list | TYPE GRMG_WS_SYSTEM_LIST_T, " | |||
| lv_system_sid | TYPE SY-SYSID, " | |||
| lv_self_moni_tid | TYPE ALGLOBTID, " | |||
| lv_sld_accessor_object | TYPE CL_SLD_ACCESSOR, " | |||
| lv_system_reference_object | TYPE CL_SLD_CIM_INSTANCE, " | |||
| lv_control_flags | TYPE GRMG_AWS_CTRL, " | |||
| lv_system_handle | TYPE STRING, " | |||
| lv_system_list_entry | TYPE GRMG_WS_SYSTEM_LIST. " |
|   CALL FUNCTION 'GRMG_READ_ABAP_INSTANCE_LIST' "Liste von ABAP-Systemen für WS-Überwachung |
| EXPORTING | ||
| DIALOG_MODE | = lv_dialog_mode | |
| SYSTEM_SID | = lv_system_sid | |
| SYSTEM_REFERENCE_OBJECT | = lv_system_reference_object | |
| SYSTEM_HANDLE | = lv_system_handle | |
| SYSTEM_LIST_ENTRY | = lv_system_list_entry | |
| CHANGING | ||
| SYSTEM_LIST | = lv_system_list | |
| SELF_MONI_TID | = lv_self_moni_tid | |
| SLD_ACCESSOR_OBJECT | = lv_sld_accessor_object | |
| CONTROL_FLAGS | = lv_control_flags | |
| EXCEPTIONS | ||
| SLD_ERROR = 1 | ||
| . " GRMG_READ_ABAP_INSTANCE_LIST | ||
ABAP code using 7.40 inline data declarations to call FM GRMG_READ_ABAP_INSTANCE_LIST
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_dialog_mode) | = 'X'. | |||
| "SELECT single SYSID FROM SY INTO @DATA(ld_system_sid). | ||||
Search for further information about these or an SAP related objects