Menu

SAP Function Module IMPORT_TEXT

Text Conversion: Read and Convert Text From GUI File

Unsere Literaturempfehlung

Kundeneigene Erweiterungen mit ABAP: User-Exits, klassische und neue BAdIs, Switch und Enhancement Framework

Alle Technologien in einem Band! Ob Sie zukunftssichere Erweiterungen programmieren oder mit den Modifikationen in Ihren SAP-Systemen aufräumen möchten – hier erhalten Sie das erforderliche Wissen. Jede Methode wird ausführlich und mit Codebeispielen erläutert: User-Exits, klassische und neue BAdIs, Business Transaction Events, implizite und explizite Erweiterungspunkte u. v. m.

Bei amazon.de ansehen →

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.

Technical Information

Function Module IMPORT_TEXT
Short Text Text Conversion: Read and Convert Text From 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 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

Exporting Parameters

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

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 Text table of resulting text

Exceptions

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