The Function Module TH_DOWNLOAD_TEXTFILE (Tracedatei auf lokale Datei herunterladen) is a standard Function Module in SAP ERP and is part of the function group THFB2 within the package STSK.
Function Module | TH_DOWNLOAD_TEXTFILE |
Short Text | Tracedatei auf lokale Datei herunterladen |
Function Group | THFB2 |
Package | STSK |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
APPEND_FILEXT | TYPE | C | 'X' | Dateiextension anfügen |
BUFLINES | TYPE | I | 1000 | Anzahl der Zeilen pro Download |
DIRECTORY | TYPE | C | Vorschlagswert für Verzeichnis | |
END_POSITION | TYPE | I | -1 | Endposition in der Datei |
FILENAME | TYPE | C | Vorschlagswert für Dateiname | |
START_POSITION | TYPE | I | 0 | Anfangsposition in der Datei |
WITH_DIALOG | TYPE | C | 'X' | Dialog führen |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
ACT_FILENAME | TYPE | C | tatsächlicher lokaler Dateiname | |
ACT_FILESIZE | TYPE | I | Anzahl der übertragenen Bytes |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
ACCESS_DENIED | Keine Berechtigung zum Anlegen der Datei |
CNTL_ERROR | Control-Fehler |
DISK_FULL | Lokales Speichermedium ist voll |
ERROR_NO_GUI | Kein GUI vorhanden |
FILE_OPEN_ERROR | Datei konnte nicht geöffnet werden |
FILE_WRITE_ERROR | Fehler beim Schreiben der Datei |
MISC_ERROR | Sonstiger Fehler |
NOT_SUPPORTED_BY_GUI | Aktion wird vom GUI nicht unterstützt |
NO_AUTHORITY | Keine Berechtigung zum Ausführen der Aktion |
POSITION_ERROR | Fehler beim Positionieren in der Datei |
USER_CANCELED | Abbruch durch Benutzer |