Menu

SAP Function Module IMPORT_TEXT

Text Conversion: Read and Convert Text From GUI File

Unsere Literaturempfehlung

ABAP Workbench - 100 Tipps & Tricks

Es gibt 100 gute Gründe, warum Sie dieses Buch kaufen sollten. Doch die verraten wir Ihnen hier nicht. Nur so viel: Wenn Sie die ABAP Workbench als Ihr zweites Wohnzimmer begreifen, ist dieses Buch genau das richtige für Sie! Die Mini-Tutorials in diesem Buch unterstützen Sie dabei, Software in ABAP effizienter zu entwickeln. Tipps und Tricks, wie Sie sich bei der Bearbeitung von Quelltext das Leben leichter machen, wie Sie häufig wiederkehrende Programmieraufgaben automatisieren oder umständliches Vorgehen früherer Tage endlich über Bord werfen. Sie werden die ABAP Workbench in einem ganz neuen Licht erleben. Eine klare Sprache, Klick-für-Klick-Anleitungen, Zusammenfassungen und Hervorhebungen sorgen dabei für einen schnellen und unkomplizierten Lernerfolg.

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