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.
Function Module | UPLOAD |
Short Text | OBSOLETE: Transfer Presentation Server File to Internal Table with Length |
Function Group | GRAP |
Package | SGRP |
Module Type | Normal Module |
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 |
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) |
This function module does not define any CHANGING 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 |
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 |