SAP GRMG_READ_WSIL_SERVICES Function Module for Verfügbarkeit einer Seite mit HTTP HEAD überprüfen
GRMG_READ_WSIL_SERVICES is a standard grmg read wsil services SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Verfügbarkeit einer Seite mit HTTP HEAD überprüfen 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 wsil services FM, simply by entering the name GRMG_READ_WSIL_SERVICES 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_WSIL_SERVICES 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_WSIL_SERVICES'"Verfügbarkeit einer Seite mit HTTP HEAD überprüfen.
EXPORTING
* DIALOG_MODE = 'X' "General Flag
* USE_PROXY_AUTHENTICATION = "allgemeines flag
* PROXY_HOST = "
* PROXY_SERVICE = "
* PROXY_LOGON_CLIENT = "R/3-System, Mandantennummer aus Anmeldung
* PROXY_LOGON_USER = "
* PROXY_LOGON_PASSWORD = "
* SSL_CLIENT_ID = "SSL Client-Identität
* USE_BASIC_AUTHENTICATION = "allgemeines flag
* LOGON_CLIENT = "R/3-System, Mandantennummer aus Anmeldung
* LOGON_USER = "User Name in User Master Record
* FM_TRACE = "
* LOGON_PASSWORD = "New password
* GET_RUN_TIME = "allgemeines flag
* BROWSER_STRING = "Fake user-agent string - default available
* ABAP_OR_JAVA = 'A' "'A' for ABAP URL target, 'J' for Java URL target
* FM_CONN_TIMEOUT = "
SYSTEM_SID = "Name of the SAP System
* HOST = "Name eines Rechners.
* PORT = "Service
* PREFIX = "Text, 255 Zeichen
* URL = "Text, 255 Zeichen
* SCENARIO_TYPE = C_SCENTYPE_HEAD_URL "GRMG: Type for type
IMPORTING
FM_OUT_ERROR = "allgemeines flag
FM_OUT_SCEN_ERROR = "
CHANGING
FM_CHG_ERROR_ITAB = "GRMG: Table type for error log
FM_RESPONSE_HEADERS = "HTTP Framework (iHTTP) Table Name/Value Pairs
FM_OUT_SERVICES_ITAB = "
IMPORTING Parameters details for GRMG_READ_WSIL_SERVICES
DIALOG_MODE - General Flag
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: Yes
USE_PROXY_AUTHENTICATION - allgemeines flag
Data type: FLAGOptional: Yes
Call by Reference: Yes
PROXY_HOST -
Data type: STRINGOptional: Yes
Call by Reference: Yes
PROXY_SERVICE -
Data type: STRINGOptional: Yes
Call by Reference: Yes
PROXY_LOGON_CLIENT - R/3-System, Mandantennummer aus Anmeldung
Data type: SYMANDTOptional: Yes
Call by Reference: Yes
PROXY_LOGON_USER -
Data type: STRINGOptional: Yes
Call by Reference: Yes
PROXY_LOGON_PASSWORD -
Data type: STRINGOptional: Yes
Call by Reference: Yes
SSL_CLIENT_ID - SSL Client-Identität
Data type: SSFAPPLSSLOptional: Yes
Call by Reference: Yes
USE_BASIC_AUTHENTICATION - allgemeines flag
Data type: FLAGOptional: Yes
Call by Reference: Yes
LOGON_CLIENT - R/3-System, Mandantennummer aus Anmeldung
Data type: SYMANDTOptional: Yes
Call by Reference: Yes
LOGON_USER - User Name in User Master Record
Data type: XUBNAMEOptional: Yes
Call by Reference: Yes
FM_TRACE -
Data type: IOptional: Yes
Call by Reference: Yes
LOGON_PASSWORD - New password
Data type: XUNCODEOptional: Yes
Call by Reference: Yes
GET_RUN_TIME - allgemeines flag
Data type: FLAGOptional: Yes
Call by Reference: Yes
BROWSER_STRING - Fake user-agent string - default available
Data type: STRINGOptional: Yes
Call by Reference: Yes
ABAP_OR_JAVA - 'A' for ABAP URL target, 'J' for Java URL target
Data type: FLAGDefault: 'A'
Optional: Yes
Call by Reference: Yes
FM_CONN_TIMEOUT -
Data type: IOptional: Yes
Call by Reference: Yes
SYSTEM_SID - Name of the SAP System
Data type: SYSYSIDOptional: No
Call by Reference: Yes
HOST - Name eines Rechners.
Data type: PFEHOSTNAMOptional: Yes
Call by Reference: Yes
PORT - Service
Data type: MSSERVOptional: Yes
Call by Reference: Yes
PREFIX - Text, 255 Zeichen
Data type: TEXT255Optional: Yes
Call by Reference: Yes
URL - Text, 255 Zeichen
Data type: STRINGOptional: Yes
Call by Reference: Yes
SCENARIO_TYPE - GRMG: Type for type
Data type: GRMG_TYPE_TYPEDefault: C_SCENTYPE_HEAD_URL
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for GRMG_READ_WSIL_SERVICES
FM_OUT_ERROR - allgemeines flag
Data type: FLAGOptional: No
Call by Reference: Yes
FM_OUT_SCEN_ERROR -
Data type: GRMG_TYPE_TYPEOptional: No
Call by Reference: Yes
CHANGING Parameters details for GRMG_READ_WSIL_SERVICES
FM_CHG_ERROR_ITAB - GRMG: Table type for error log
Data type: GRMG_ERROR_ITABOptional: No
Call by Reference: Yes
FM_RESPONSE_HEADERS - HTTP Framework (iHTTP) Table Name/Value Pairs
Data type: TIHTTPNVPOptional: No
Call by Reference: Yes
FM_OUT_SERVICES_ITAB -
Data type: GRMG_WSIL_ST_TOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for GRMG_READ_WSIL_SERVICES 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_dialog_mode | TYPE FLAG, " 'X' | |||
lv_fm_out_error | TYPE FLAG, " | |||
lv_fm_chg_error_itab | TYPE GRMG_ERROR_ITAB, " | |||
lv_use_proxy_authentication | TYPE FLAG, " | |||
lv_proxy_host | TYPE STRING, " | |||
lv_proxy_service | TYPE STRING, " | |||
lv_proxy_logon_client | TYPE SYMANDT, " | |||
lv_proxy_logon_user | TYPE STRING, " | |||
lv_proxy_logon_password | TYPE STRING, " | |||
lv_ssl_client_id | TYPE SSFAPPLSSL, " | |||
lv_use_basic_authentication | TYPE FLAG, " | |||
lv_logon_client | TYPE SYMANDT, " | |||
lv_logon_user | TYPE XUBNAME, " | |||
lv_fm_trace | TYPE I, " | |||
lv_fm_out_scen_error | TYPE GRMG_TYPE_TYPE, " | |||
lv_fm_response_headers | TYPE TIHTTPNVP, " | |||
lv_logon_password | TYPE XUNCODE, " | |||
lv_get_run_time | TYPE FLAG, " | |||
lv_browser_string | TYPE STRING, " | |||
lv_abap_or_java | TYPE FLAG, " 'A' | |||
lv_fm_conn_timeout | TYPE I, " | |||
lv_fm_out_services_itab | TYPE GRMG_WSIL_ST_T, " | |||
lv_system_sid | TYPE SYSYSID, " | |||
lv_host | TYPE PFEHOSTNAM, " | |||
lv_port | TYPE MSSERV, " | |||
lv_prefix | TYPE TEXT255, " | |||
lv_url | TYPE STRING, " | |||
lv_scenario_type | TYPE GRMG_TYPE_TYPE. " C_SCENTYPE_HEAD_URL |
  CALL FUNCTION 'GRMG_READ_WSIL_SERVICES' "Verfügbarkeit einer Seite mit HTTP HEAD überprüfen |
EXPORTING | ||
DIALOG_MODE | = lv_dialog_mode | |
USE_PROXY_AUTHENTICATION | = lv_use_proxy_authentication | |
PROXY_HOST | = lv_proxy_host | |
PROXY_SERVICE | = lv_proxy_service | |
PROXY_LOGON_CLIENT | = lv_proxy_logon_client | |
PROXY_LOGON_USER | = lv_proxy_logon_user | |
PROXY_LOGON_PASSWORD | = lv_proxy_logon_password | |
SSL_CLIENT_ID | = lv_ssl_client_id | |
USE_BASIC_AUTHENTICATION | = lv_use_basic_authentication | |
LOGON_CLIENT | = lv_logon_client | |
LOGON_USER | = lv_logon_user | |
FM_TRACE | = lv_fm_trace | |
LOGON_PASSWORD | = lv_logon_password | |
GET_RUN_TIME | = lv_get_run_time | |
BROWSER_STRING | = lv_browser_string | |
ABAP_OR_JAVA | = lv_abap_or_java | |
FM_CONN_TIMEOUT | = lv_fm_conn_timeout | |
SYSTEM_SID | = lv_system_sid | |
HOST | = lv_host | |
PORT | = lv_port | |
PREFIX | = lv_prefix | |
URL | = lv_url | |
SCENARIO_TYPE | = lv_scenario_type | |
IMPORTING | ||
FM_OUT_ERROR | = lv_fm_out_error | |
FM_OUT_SCEN_ERROR | = lv_fm_out_scen_error | |
CHANGING | ||
FM_CHG_ERROR_ITAB | = lv_fm_chg_error_itab | |
FM_RESPONSE_HEADERS | = lv_fm_response_headers | |
FM_OUT_SERVICES_ITAB | = lv_fm_out_services_itab | |
. " GRMG_READ_WSIL_SERVICES |
ABAP code using 7.40 inline data declarations to call FM GRMG_READ_WSIL_SERVICES
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'. | |||
DATA(ld_abap_or_java) | = 'A'. | |||
DATA(ld_scenario_type) | = C_SCENTYPE_HEAD_URL. | |||
Search for further information about these or an SAP related objects