SE_CONVERT_ITF_TO_HTML is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name SE_CONVERT_ITF_TO_HTML into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SEF1
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'SE_CONVERT_ITF_TO_HTML' "
* EXPORTING
* i_codepage = " cpcodepage Target character set
* is_header = " thead
* i_page = SPACE " itcth-tdpage Page specification for page window format
* i_window = SPACE " itcth-tdwindow Window specification for page window format
* i_syntax_check = SPACE " iwparams-flag Activating the ITF syntax check
* i_replace = 'X' " iwparams-flag Expanding symbols and includes
* i_print_commands = SPACE " iwparams-flag Outputting commands and text elements
* i_html_header = 'X' " iwparams-flag Output of the HTML header tag
* i_funcname = SPACE " tfdir-funcname Exit module for link interpretation
* i_title = SPACE " c Title in HTML header
* i_background = SPACE " c File name for HTML image as background
* i_bgcolor = SPACE " c Background color of text
* i_header_css_tdname = SPACE " thead-tdname
* i_escape_spaces = 'X' " c
TABLES
* it_itf_text = " tline Text lines in ITF (input)
it_html_text = " htmlline
* it_conv_charformats = " tline Table for character formats
* it_conv_parformats = " tline Table for paragraph formats
EXCEPTIONS
SYNTAX_CHECK = 1 "
REPLACE = 2 " Errors expanding includes and symbols
ILLEGAL_HEADER = 3 "
DOCUMENT_NOT_FOUND = 4 "
. " SE_CONVERT_ITF_TO_HTML
The ABAP code below is a full code listing to execute function module SE_CONVERT_ITF_TO_HTML including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_it_itf_text | TYPE STANDARD TABLE OF TLINE,"TABLES PARAM |
| wa_it_itf_text | LIKE LINE OF it_it_itf_text , |
| it_it_html_text | TYPE STANDARD TABLE OF HTMLLINE,"TABLES PARAM |
| wa_it_html_text | LIKE LINE OF it_it_html_text , |
| it_it_conv_charformats | TYPE STANDARD TABLE OF TLINE,"TABLES PARAM |
| wa_it_conv_charformats | LIKE LINE OF it_it_conv_charformats , |
| it_it_conv_parformats | TYPE STANDARD TABLE OF TLINE,"TABLES PARAM |
| wa_it_conv_parformats | LIKE LINE OF it_it_conv_parformats . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_i_codepage | TYPE CPCODEPAGE , |
| it_it_itf_text | TYPE STANDARD TABLE OF TLINE , |
| wa_it_itf_text | LIKE LINE OF it_it_itf_text, |
| ld_is_header | TYPE THEAD , |
| it_it_html_text | TYPE STANDARD TABLE OF HTMLLINE , |
| wa_it_html_text | LIKE LINE OF it_it_html_text, |
| ld_i_page | TYPE ITCTH-TDPAGE , |
| it_it_conv_charformats | TYPE STANDARD TABLE OF TLINE , |
| wa_it_conv_charformats | LIKE LINE OF it_it_conv_charformats, |
| ld_i_window | TYPE ITCTH-TDWINDOW , |
| it_it_conv_parformats | TYPE STANDARD TABLE OF TLINE , |
| wa_it_conv_parformats | LIKE LINE OF it_it_conv_parformats, |
| ld_i_syntax_check | TYPE IWPARAMS-FLAG , |
| ld_i_replace | TYPE IWPARAMS-FLAG , |
| ld_i_print_commands | TYPE IWPARAMS-FLAG , |
| ld_i_html_header | TYPE IWPARAMS-FLAG , |
| ld_i_funcname | TYPE TFDIR-FUNCNAME , |
| ld_i_title | TYPE C , |
| ld_i_background | TYPE C , |
| ld_i_bgcolor | TYPE C , |
| ld_i_header_css_tdname | TYPE THEAD-TDNAME , |
| ld_i_escape_spaces | TYPE C . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name SE_CONVERT_ITF_TO_HTML or its description.