Menu

SAP Function Module UPLOAD

OBSOLETE: Transfer Presentation Server File to Internal Table with Length

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module UPLOAD (OBSOLETE: Transfer Presentation Server File to Internal Table with 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 UPLOAD
Short Text OBSOLETE: Transfer Presentation Server File to Internal Table with 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
CODEPAGE LIKE SPACE Code page during ASC upload
FILEMASK_ALL LIKE SPACE File mask as under 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 Default value for file name
FILETYPE LIKE RLGRAP-FILETYPE SPACE Default value for file type (ASCII, binary )
FILETYPE_NO_CHANGE LIKE SPACE 'x' prevents change to the file format
FILETYPE_NO_SHOW LIKE SPACE 'x' prevents displaying the file format
ITEM LIKE SPACE Text for upload pop-up
LINE_EXIT LIKE SPACE INTERNAL USE ONLY
SILENT LIKE 'S' 'x' suppresses the success screen
USER_FORM LIKE SPACE INTERNAL USE ONLY
USER_PROG LIKE SPACE INTERNAL USE ONLY

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 File length (return)

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 for file contents

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CONVERSION_ERROR Data conversion error
INVALID_TABLE_WIDTH Invalid table structure
INVALID_TYPE Incorrect parameter FILETYPE
NO_BATCH Front-End Function Cannot Be Executed in Backgrnd
UNKNOWN_ERROR Not Used