Menu

SAP Function Module EXPORT_TEXT

Text Conversion: Convert Text and Store on GUI File

The Function Module EXPORT_TEXT (Text Conversion: Convert Text and Store on GUI File) is a standard Function Module in SAP ERP and is part of the function group STXK within the package STXD.

Technical Information

Function Module EXPORT_TEXT
Short Text Text Conversion: Convert Text and Store on GUI File
Function Group STXK
Package STXD
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CODEPAGE LIKE TCP02-CPCODEPAGE '0000' Target character set
FILE LIKE RLGRAP-FILENAME Name of target file (with path!)
FORMATWIDTH LIKE ITCTK-TDLINESIZE 72 Line width of target file (40 to 132)
FORMAT_TYPE TYPE C 'RTF' Format of target files ('ITF','RTF'or'ASCII')
HEADER LIKE THEAD SPACE Text Header of Original Text
REPLACE_SAPCHARS TYPE TDBOOL 'X' Evaluate SAP Characters
REPLACE_SYMBOLS TYPE TDBOOL 'X' Evaluate symbols
SSHEET TYPE C SPACE Print format, only effective for print format conversion
TAB_SUBSTITUTE TYPE C 'X09 ' Replacement for Tab
WITH_TAB TYPE TDBOOL SPACE Print format conversion, 'X' - yes or ' ' - no

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ITF_LINES LIKE TLINE SAPscript text table to be exported

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
DOWNLOAD_ERROR Other error in downloading the file
FILE_OPEN_ERROR File cannot be opened
FILE_WRITE_ERROR Cannot Write to File