SAP /SDF/WEBADMIN_COUNTER Function Module for Read data from WEBADMIN
/SDF/WEBADMIN_COUNTER is a standard /sdf/webadmin counter 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 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 counter FM, simply by entering the name /SDF/WEBADMIN_COUNTER 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_COUNTER 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_COUNTER'"Read data from WEBADMIN.
EXPORTING
* SHOW_RESULTS = "
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_COUNTER
SHOW_RESULTS -
Data type: /SDF/DATA_RZ20-NAME1Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for /SDF/WEBADMIN_COUNTER
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_COUNTER
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_COUNTER 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. " |
|   CALL FUNCTION '/SDF/WEBADMIN_COUNTER' "Read data from WEBADMIN |
| EXPORTING | ||
| SHOW_RESULTS | = lv_show_results | |
| IMPORTING | ||
| E_RC | = lv_e_rc | |
| E_RC_MSG | = lv_e_rc_msg | |
| TABLES | ||
| E_XML_FILE | = lt_e_xml_file | |
| . " /SDF/WEBADMIN_COUNTER | ||
ABAP code using 7.40 inline data declarations to call FM /SDF/WEBADMIN_COUNTER
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). | ||||
Search for further information about these or an SAP related objects