SAP Reports / Programs

RSTXCNVR SAP ABAP Report - Converting SAPscript standard text to RAW format (ASCII)







RSTXCNVR 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 RSTXCNVR 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 RSTXCNVR. "Basic submit
SUBMIT RSTXCNVR AND RETURN. "Return to original report after report execution complete
SUBMIT RSTXCNVR 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: CNV_RAW = Convert to RAW Format
Selection Text: CNV_ITF = Convert to ITF Format
Selection Text: DOWNLOAD = Download to File
Selection Text: TEXTNAME = Text Name
Selection Text: LIST_RAW = List RAW Data
Selection Text: LIST_OTF = List OTF Data
Selection Text: LANGUAGE = Text Language
Selection Text: ID = Text ID
Title: Converting SAPscript standard text to RAW format (ASCII)
Text Symbol: 012 = CONVERT_OTF successful, file size
Text Symbol: 013 = CONVERT_OTF error - RAW conversion not possible
Text Symbol: 014 = WS_DOWNLOAD successful in file
Text Symbol: 015 = Error in GUI_DOWNLOAD of file
Text Symbol: 017 = The standard text specified does not exist
Text Symbol: 011 = Error at READ_TEXT, rc=
Text Symbol: 001 = Converting a SAPscript Standard Text to
Text Symbol: 002 = Param. for Standard Text
Text Symbol: 003 = Control Parameters for List Output/Dwnld
Text Symbol: 004 = RAW or ITF Format and File Download
Text Symbol: 010 = Error at READ_TEXT, rc=
Text Symbol: 019 = ****************** OTF format *********************
Text Symbol: 020 = ****************** RAW format *********************
Text Symbol: 021 = ****************** ITF format *********************


INCLUDES used within this REPORT RSTXCNVR

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:

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING LANGUAGE = LANGUAGE NAME = TEXTNAME OBJECT = 'TEXT' ID = ID IMPORTING HEADER = HEADER TABLES LINES = LINES 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 = LINES 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 = 'ASCII' IMPORTING BIN_FILESIZE = FILESIZE TABLES OTF = OTF LINES = LINES EXCEPTIONS ERR_CONV_NOT_POSSIBLE = 1.

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.



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 RSTXCNVR or its description.