Menu

SAP Function Module DOWNLOAD

OBSOLETE: Save Internal Table as Presentation Server File with File Length

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module DOWNLOAD (OBSOLETE: Save Internal Table as Presentation Server File with File Length) is a standard Function Module in SAP ERP and is part of the function group GRAP within the package SGRP.

Technical Information

Function Module DOWNLOAD
Short Text OBSOLETE: Save Internal Table as Presentation Server File with File Length
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 ASCII download
COL_SELECT LIKE SPACE Column selection: activate
COL_SELECTMASK LIKE SPACE Column selection: masking
FILEMASK_ALL LIKE SPACE File mask such as FM 'WS_FILENAME_GET'
FILEMASK_MASK LIKE SPACE Mask for file selection (e.g., '*.txt' )
FILEMASK_TEXT LIKE SPACE Mask for file selection (help text)
FILENAME LIKE RLGRAP-FILENAME SPACE Name of the file (default value)
FILETYPE LIKE RLGRAP-FILETYPE SPACE File type (ASCII, binary, ...)(default value)
FILETYPE_NO_CHANGE LIKE SPACE 'x' prevents change to the file format
FILETYPE_NO_SHOW LIKE SPACE 'x' prevents display of the file format
ITEM LIKE SPACE Header for file dialog
MODE LIKE RLGRAP-FILEMODE SPACE Writing mode (overwrite, append)
SILENT LIKE 'S' 'x' suppresses the success screen
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
ACT_FILENAME LIKE RLGRAP-FILENAME Name of the file (entered value)
ACT_FILETYPE LIKE RLGRAP-FILETYPE File type (entered value)
CANCEL LIKE Is set on 'cancel'
FILESIZE 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
INVALID_FILESIZE Invalid parameter BIN_FILESIZE
INVALID_TABLE_WIDTH Invalid table structure
INVALID_TYPE Invalid value for parameter FILETYPE
NO_BATCH Front-End Function Cannot Be Executed in Backgrnd
UNKNOWN_ERROR Not Used