SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | SAPscript(BC-SRV-SCR) SAP BC

RSTXHTML SAP ABAP Report - Conversion of SAPscript Texts (ITF) to HTML







RSTXHTML is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RSTXHTML into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RSTXHTML. "Basic submit
SUBMIT RSTXHTML AND RETURN. "Return to original report after report execution complete
SUBMIT RSTXHTML VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: ID = Text ID
Selection Text: INCLUDE = Include and Symbol Expansion
Selection Text: LANG = Language
Selection Text: MAP = Figure Table
Selection Text: NAME = Text Name
Selection Text: NOUT = File Name When Saved (*.HTM)
Selection Text: OBJ = Text Object
Selection Text: SYNTAX = Syntax Check
Selection Text: CMD = Output From Control Commands
Selection Text: HTML = HTML Header Output
Title: Conversion of SAPscript Texts (ITF) to HTML
Text Symbol: 001 = Conversion of a SAPscript Text (ITF) to HTML for the Web Browser
Text Symbol: 002 = Text Key Output
Text Symbol: 003 = Control Parameters
Text Symbol: 004 = Input Text in ITF Format
Text Symbol: 005 = HTML Document Generated From


INCLUDES used within this REPORT RSTXHTML

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

CONVERT_ITF_TO_HTML call function 'CONVERT_ITF_TO_HTML' exporting i_header = header i_syntax_check = syntax i_replace = include i_print_commands = cmd i_html_header = html * i_funcname = 'SAPSCRIPT_WWW_MAKE_LINK' * i_title = 'Dies ist mein Titel' i_background = '\images\background.gif'

READ_TEXT call function 'READ_TEXT' exporting id = id language = lang name = name object = obj importing header = header tables lines = itf_text exceptions id = 1 language = 2 name = 3 not_found = 4 object = 5 others = 8.

DOCU_GET call function 'DOCU_GET' exporting id = docu_id langu = lang object = docu_name typ = 'E' importing head = header * DOKTYP = tables line = itf_text exceptions no_docu_on_screen = 1 no_docu_self_def = 2 no_docu_temp = 3 ret_code = 4 others = 5.

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting filename = l_fullpath * append = l_append tables data_tab = l_dtab exceptions file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 others = 7.

SAVE_TEXT call function 'SAVE_TEXT' exporting header = header tables lines = itf_ntxt.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RSTXHTML or its description.