SAP /SDF/WEBADMIN_GET_SELFCHECK Function Module for Read data from WEBADMIN -> Selfcheck
/SDF/WEBADMIN_GET_SELFCHECK is a standard /sdf/webadmin get selfcheck SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read data from WEBADMIN -> Selfcheck 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 /sdf/webadmin get selfcheck FM, simply by entering the name /SDF/WEBADMIN_GET_SELFCHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: /SDF/CCMS_DL
Program Name: /SDF/SAPLCCMS_DL
Main Program: /SDF/SAPLCCMS_DL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function /SDF/WEBADMIN_GET_SELFCHECK 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 '/SDF/WEBADMIN_GET_SELFCHECK'"Read data from WEBADMIN -> Selfcheck.
EXPORTING
* SHOW_RESULTS = "
* I_INSTNR = '0000123456' "10 digit number
* I_SID = '602' "Character field, 8 characters long
* I_DATATYPE = 'SELFCHECK' "Char20
IMPORTING
E_RC = "Single-character flag
E_RC_MSG = "Character 1024
TABLES
E_XML_FILE = "Content of the result table...
IMPORTING Parameters details for /SDF/WEBADMIN_GET_SELFCHECK
SHOW_RESULTS -
Data type: /SDF/DATA_RZ20-NAME1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_INSTNR - 10 digit number
Data type: /SDF/TEMPCOMP-CCMS_INSTNRDefault: '0000123456'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SID - Character field, 8 characters long
Data type: /SDF/TEMPCOMP-DWNLD_SIDDefault: '602'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DATATYPE - Char20
Data type: /SDF/DATA_RZ20-NAME20Default: 'SELFCHECK'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for /SDF/WEBADMIN_GET_SELFCHECK
E_RC - Single-character flag
Data type: /SDF/TEMPCOMP-AUTO_ENTRYOptional: No
Call by Reference: No ( called with pass by value option)
E_RC_MSG - Character 1024
Data type: /SDF/WEBADMIN_XML_FILE-LINEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for /SDF/WEBADMIN_GET_SELFCHECK
E_XML_FILE - Content of the result table...
Data type: /SDF/WEBADMIN_XML_FILEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for /SDF/WEBADMIN_GET_SELFCHECK 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_e_rc | TYPE /SDF/TEMPCOMP-AUTO_ENTRY, " | |||
| lt_e_xml_file | TYPE STANDARD TABLE OF /SDF/WEBADMIN_XML_FILE, " | |||
| lv_show_results | TYPE /SDF/DATA_RZ20-NAME1, " | |||
| lv_e_rc_msg | TYPE /SDF/WEBADMIN_XML_FILE-LINE, " | |||
| lv_i_instnr | TYPE /SDF/TEMPCOMP-CCMS_INSTNR, " '0000123456' | |||
| lv_i_sid | TYPE /SDF/TEMPCOMP-DWNLD_SID, " '602' | |||
| lv_i_datatype | TYPE /SDF/DATA_RZ20-NAME20. " 'SELFCHECK' |
|   CALL FUNCTION '/SDF/WEBADMIN_GET_SELFCHECK' "Read data from WEBADMIN -> Selfcheck |
| EXPORTING | ||
| SHOW_RESULTS | = lv_show_results | |
| I_INSTNR | = lv_i_instnr | |
| I_SID | = lv_i_sid | |
| I_DATATYPE | = lv_i_datatype | |
| IMPORTING | ||
| E_RC | = lv_e_rc | |
| E_RC_MSG | = lv_e_rc_msg | |
| TABLES | ||
| E_XML_FILE | = lt_e_xml_file | |
| . " /SDF/WEBADMIN_GET_SELFCHECK | ||
ABAP code using 7.40 inline data declarations to call FM /SDF/WEBADMIN_GET_SELFCHECK
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 AUTO_ENTRY FROM /SDF/TEMPCOMP INTO @DATA(ld_e_rc). | ||||
| "SELECT single NAME1 FROM /SDF/DATA_RZ20 INTO @DATA(ld_show_results). | ||||
| "SELECT single LINE FROM /SDF/WEBADMIN_XML_FILE INTO @DATA(ld_e_rc_msg). | ||||
| "SELECT single CCMS_INSTNR FROM /SDF/TEMPCOMP INTO @DATA(ld_i_instnr). | ||||
| DATA(ld_i_instnr) | = '0000123456'. | |||
| "SELECT single DWNLD_SID FROM /SDF/TEMPCOMP INTO @DATA(ld_i_sid). | ||||
| DATA(ld_i_sid) | = '602'. | |||
| "SELECT single NAME20 FROM /SDF/DATA_RZ20 INTO @DATA(ld_i_datatype). | ||||
| DATA(ld_i_datatype) | = 'SELFCHECK'. | |||
Search for further information about these or an SAP related objects