Menu

SAP Function Module WS_DOWNLOAD

OBSOLETE: File Transfer from Internal Table to Presentation Server 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 WS_DOWNLOAD (OBSOLETE: File Transfer from Internal Table to Presentation Server File) is a standard Function Module in SAP ERP and is part of the function group GRAP within the package SGRP.

Technical Information

Function Module WS_DOWNLOAD
Short Text OBSOLETE: File Transfer from Internal Table to Presentation Server File
Function Group GRAP
Package SGRP
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BIN_FILESIZE LIKE SPACE File length for binary files
CODEPAGE LIKE SPACE Code page for ASC, DBF and WK1 download
COL_SELECT LIKE SPACE Column selection: activate
COL_SELECTMASK LIKE SPACE Column selection: masking
FILENAME LIKE RLGRAP-FILENAME SPACE File name
FILETYPE LIKE RLGRAP-FILETYPE 'ASC' File type (ASCII, binary ...)
MODE LIKE SPACE Writing mode (overwrite, append)
WK1_N_FORMAT LIKE SPACE Format for value columns in files of the type WK1
WK1_N_SIZE LIKE SPACE Column width for value columns in files of the type WK1
WK1_T_FORMAT LIKE SPACE Format for text columns for files of the type WK1
WK1_T_SIZE LIKE SPACE Column width for text columns for files of the type WK1

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FILELENGTH LIKE Number of bytes transferred

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
DATA_TAB LIKE Transfer table
FIELDNAMES LIKE Field names for DAT file type

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CUSTOMER_ERROR Exception in customer exit
FILE_OPEN_ERROR Not used
FILE_WRITE_ERROR Cannot write to file
GUI_REFUSE_FILETRANSFER Incorrect front end, or error in front end
INVALID_FILESIZE Invalid parameter BIN_FILESIZE
INVALID_TABLE_WIDTH Not used
INVALID_TYPE Invalid value for parameter FILETYPE
NO_AUTHORITY No Download Authorization
NO_BATCH Front-End Function Cannot Be Executed in Backgrnd
UNKNOWN_ERROR Not Used