RSTXPDFT6 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 RSTXPDFT6 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: TEXTNAME = D .
Selection Text: LANGUAGE = D .
Selection Text: ID = D .
Selection Text: _XSTRING = As Xstring
Selection Text: _TAB = As Table
Selection Text: LIST_PDF = List PDF Format
Selection Text: LIST_OTF = List OTF Format
Selection Text: DOWNLOAD = Download to PDF file
Title: Report RSTXPDFT6
Text Symbol: 023 = Download
Text Symbol: 022 = PDF Conversion
Text Symbol: 021 = Error
Text Symbol: 020 = ****************** PDF format *********************
Text Symbol: 019 = ****************** OTF format *********************
Text Symbol: 018 = CONVERT_OTF Error - Incorrect OTF Data
Text Symbol: 017 = The standard text specified does not exist
Text Symbol: 015 = Error when Downloading File
Text Symbol: 014 = GUI_DOWNLOAD successful in file
Text Symbol: 013 = CONVERT_OTF error - PDF conversion not possible
Text Symbol: 012 = CONVERT_OTF successful, file size
Text Symbol: 011 = Error at PRINT_TEXT, rc=
Text Symbol: 010 = Error at READ_TEXT, rc=
Text Symbol: 006 = CONVERT_OTF Return
Text Symbol: 004 = Adobe PDF Format and PDF File Download
Text Symbol: 003 = Control Parameters for List Output/Dwnld
Text Symbol: 002 = Param. for Standard Text
Text Symbol: 001 = Converting a SAPscript Standard Text to
INCLUDE RSTXDATA.
No SAP DATABASE tables are accessed within this REPORT code!
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING language = language name = textname object = 'TEXT' id = id IMPORTING header = header TABLES lines = textlines EXCEPTIONS not_found = 1 OTHERS = 2.
PRINT_TEXT CALL FUNCTION 'PRINT_TEXT' EXPORTING device = 'PRINTER' dialog = ' ' header = header options = options IMPORTING result = result TABLES lines = textlines otfdata = otf EXCEPTIONS canceled = 01 device = 02 form = 03 options = 04 unclosed = 05 unknown = 06 format = 07 textformat = 08 communication = 09.
CONVERT_OTF CALL FUNCTION 'CONVERT_OTF' EXPORTING format = 'PDF' IMPORTING bin_filesize = filesize TABLES otf = otf lines = lines EXCEPTIONS err_conv_not_possible = 1 err_bad_otf = 2.
CONVERT_OTF CALL FUNCTION 'CONVERT_OTF' EXPORTING format = 'PDF' IMPORTING bin_filesize = filesize bin_file = bin_file TABLES otf = otf lines = lines EXCEPTIONS err_max_linewidth = 1 err_format = 2 err_conv_not_possible = 3 err_bad_otf = 4 OTHERS = 5.
GET_TEXT_PRINT_PARAMETERS CALL FUNCTION 'GET_TEXT_PRINT_PARAMETERS' EXPORTING options = options format_itf = ' ' no_print_buttons = 'X' IMPORTING newoptions = options * PRINT_FORMAT = EXCEPTIONS canceled = 1.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING bin_filesize = bin_filesize filename = fullpath filetype = mode * APPEND = ' ' * CODEPAGE = ' ' * NO_BYTEORDER_MARK = ' ' * IMPORTING * FILELENGTH = c TABLES data_tab = datatab * FORMAT_TAB = EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.