SAP S_XML_EBP_GET_TEMPLATE_SOURCE Function Module for XML Parser for Workbench









S_XML_EBP_GET_TEMPLATE_SOURCE is a standard s xml ebp get template source SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for XML Parser for Workbench 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 s xml ebp get template source FM, simply by entering the name S_XML_EBP_GET_TEMPLATE_SOURCE into the relevant SAP transaction such as SE37 or SE38.

Function Group: S_XML_PARSER
Program Name: SAPLS_XML_PARSER
Main Program: SAPLS_XML_PARSER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function S_XML_EBP_GET_TEMPLATE_SOURCE 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 'S_XML_EBP_GET_TEMPLATE_SOURCE'"XML Parser for Workbench
EXPORTING
* SERVICE = 'XML_DTD_01' "Service name of Internet Application Component
* THEME = '99' "Theme of Internet Application Component
* DYNPRO = ' ' "Screen number of IAC template
* MODULPOOL = 'START' "Web object name of Internet Application Component

IMPORTING
TEMPLATE_SOURCE = "ITS: Table Type for HTML Source

EXCEPTIONS
ERROR_READING_TEMPLATE_SOURCE = 1
.



IMPORTING Parameters details for S_XML_EBP_GET_TEMPLATE_SOURCE

SERVICE - Service name of Internet Application Component

Data type: IACIKEYT-SERVICE
Default: 'XML_DTD_01'
Optional: Yes
Call by Reference: No ( called with pass by value option)

THEME - Theme of Internet Application Component

Data type: IACIKEYT-THEME
Default: '99'
Optional: Yes
Call by Reference: No ( called with pass by value option)

DYNPRO - Screen number of IAC template

Data type: IACIKEYT-DYNPRO
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

MODULPOOL - Web object name of Internet Application Component

Data type: IACIKEYT-MODULPOOL
Default: 'START'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for S_XML_EBP_GET_TEMPLATE_SOURCE

TEMPLATE_SOURCE - ITS: Table Type for HTML Source

Data type: W3HTMLTABTYPE
Optional: No
Call by Reference: Yes

EXCEPTIONS details

ERROR_READING_TEMPLATE_SOURCE -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for S_XML_EBP_GET_TEMPLATE_SOURCE 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_service  TYPE IACIKEYT-SERVICE, "   'XML_DTD_01'
lv_template_source  TYPE W3HTMLTABTYPE, "   
lv_error_reading_template_source  TYPE W3HTMLTABTYPE, "   
lv_theme  TYPE IACIKEYT-THEME, "   '99'
lv_dynpro  TYPE IACIKEYT-DYNPRO, "   SPACE
lv_modulpool  TYPE IACIKEYT-MODULPOOL. "   'START'

  CALL FUNCTION 'S_XML_EBP_GET_TEMPLATE_SOURCE'  "XML Parser for Workbench
    EXPORTING
         SERVICE = lv_service
         THEME = lv_theme
         DYNPRO = lv_dynpro
         MODULPOOL = lv_modulpool
    IMPORTING
         TEMPLATE_SOURCE = lv_template_source
    EXCEPTIONS
        ERROR_READING_TEMPLATE_SOURCE = 1
. " S_XML_EBP_GET_TEMPLATE_SOURCE




ABAP code using 7.40 inline data declarations to call FM S_XML_EBP_GET_TEMPLATE_SOURCE

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 SERVICE FROM IACIKEYT INTO @DATA(ld_service).
DATA(ld_service) = 'XML_DTD_01'.
 
 
 
"SELECT single THEME FROM IACIKEYT INTO @DATA(ld_theme).
DATA(ld_theme) = '99'.
 
"SELECT single DYNPRO FROM IACIKEYT INTO @DATA(ld_dynpro).
DATA(ld_dynpro) = ' '.
 
"SELECT single MODULPOOL FROM IACIKEYT INTO @DATA(ld_modulpool).
DATA(ld_modulpool) = 'START'.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!