Menu

SAP Function Module WS_UPLOAD

OBSOLETE: Transfer Presentation Server File to Internal Table

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 WS_UPLOAD (OBSOLETE: Transfer Presentation Server File to Internal Table) 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_UPLOAD
Short Text OBSOLETE: Transfer Presentation Server File to Internal Table
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 for ASC upload
DAT_D_FORMAT TYPE DATEFORMAT SPACE Date format, for example DD.MM.YYYY
FILENAME LIKE RLGRAP-FILENAME SPACE File name
FILETYPE LIKE RLGRAP-FILETYPE 'ASC' File type (ASCII, binary ...)
HEADLEN LIKE SPACE DO NOT USE: SAP INTERNAL USE ONLY !!
LINE_EXIT LIKE SPACE DO_NOT_USE
TRUNCLEN LIKE SPACE DO NOT USE: SAP INTERNAL USE ONLY !!
USER_FORM LIKE SPACE DO NOT USE: SAP INTERNAL USE ONLY !!
USER_PROG LIKE SPACE DO NOT USE: SAP INTERNAL USE ONLY !!

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FILELENGTH LIKE File length

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
CUSTOMER_ERROR Error in customer exit
FILE_OPEN_ERROR Not used in Release 4.6A
FILE_READ_ERROR File read error
GUI_REFUSE_FILETRANSFER Incorrect front end, or error in front end
INVALID_TABLE_WIDTH Not used
INVALID_TYPE Incorrect parameter FILETYPE
NO_AUTHORITY No Upload Authorization
NO_BATCH Front-End Function Cannot Be Executed in Backgrnd
UNKNOWN_ERROR Not Used