The Function Module IMPORT_TEXT (Text Conversion: Read and Convert Text From GUI File) is a standard Function Module in SAP ERP and is part of the function group STXK within the package STXD.
Function Module | IMPORT_TEXT |
Short Text | Text Conversion: Read and Convert Text From GUI File |
Function Group | STXK |
Package | STXD |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
CODEPAGE | LIKE | TCP02-CPCODEPAGE | Character set of source file | |
FILE | LIKE | RLGRAP-FILENAME | Name of file to be imported (with path!) | |
FORMAT_TYPE | TYPE | C | 'ITF' | Format of file ('ITF', 'RTF', or 'ASCII') |
HEADER | LIKE | THEAD | SPACE | See gen.document., only important for ITF and RTF |
MASK_BRACKETS | TYPE | TDBOOL | 'X' | Mask special characters <..> |
SSHEET | TYPE | C | SPACE | Print format, only effective for print format conversion |
WITH_TAB | TYPE | TDBOOL | SPACE | Print format conversion, 'X' - yes or ' ' - no |
WORD_LANGU | TYPE | SPRAS | SY-LANGU | Only for RTF conversion: System language from Word |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
NEWHEADER | LIKE | THEAD | Text Header of SAPscript Result Text |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
ITF_LINES | LIKE | TLINE | Text table of resulting text |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
FILE_OPEN_ERROR | File cannot be opened |
FILE_READ_ERROR | File cannot be read (completely) |
UPLOAD_ERROR | Other error in uploading the file |