Fonction SAP UPLOAD - OBSOLETE: Transfer Presentation Server File to Internal Table with Length

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CODEPAGE 0 SPACE X Code page during ASC upload
FILEMASK_ALL 0 SPACE X File mask as under FM 'WS_FILENAME_GET'
FILEMASK_MASK 0 SPACE X Mask for file selection (e.g., '*.txt' )
FILEMASK_TEXT 0 SPACE X Mask for file selection (help text)
FILENAME RLGRAP-FILENAME C 128 SPACE X Default value for file name
FILETYPE RLGRAP-FILETYPE C 3 SPACE X Default value for file type (ASCII, binary )
FILETYPE_NO_CHANGE 0 SPACE X 'x' prevents change to the file format
FILETYPE_NO_SHOW 0 SPACE X 'x' prevents displaying the file format
ITEM 0 SPACE X Text for upload pop-up
LINE_EXIT 0 SPACE X INTERNAL USE ONLY
SILENT 0 'S' X 'x' suppresses the success screen
USER_FORM 0 SPACE X INTERNAL USE ONLY
USER_PROG 0 SPACE X INTERNAL USE ONLY

Paramètre Reférence Type Long. Description
ACT_FILENAME RLGRAP-FILENAME C 128 Name of the file (entered value)
ACT_FILETYPE RLGRAP-FILETYPE C 3 File type (entered value)
CANCEL 0 Is set on 'cancel'
FILESIZE 0 File length (return)

Paramètre Reférence Long. Facultatif Description
DATA_TAB 0 Transfer table for file contents

Exception Description
CONVERSION_ERROR Data conversion error
GUI_REFUSE_FILETRANSFER
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


Data which is available in a file on the presentation server istransferred in an internal table. ASCII and binary files can betransferred.
Obsolete. Use class CL_GUI_FRONTEND_SERVICES.

Description
The user can change the file type in the dialog. The changed value isreturned.
Length of the uploaded file
'IBM' : Make conversion from IBM code page (DOS)
File name
'ASC' : Upload of ASCII data, optionally with code page conversion
'BIN' : Upload of binary data
'DAT' : Upload of data as from 'DAT' download
Text for the upload dialog

Description
Suppressing success screens

Value range
SPACE : Screen is displayed
'x', 'X': Screen is not displayed
'm', 'M': Success message is displayed in the status line
(disappears in the next interactive step)
's', 'S': Success message as S-message on the next screen

Default
SPACE
The data from the file is stored in this table.
A one column table of the type 'X' should be used for 'BIN' upload. Alltable lines are completely filled with data except for the last one.The last line may not be filled with valid data, therefore the currentfile length must be taken into account.
For 'ASC' upload, lines in the file that are too long are cut, if thetable has not been defined widely enough. A one column table of thetype 'C' should always be used. A new table line is created for everyline in the outbound file.

1265603Test Plan Step Description is cut during upload
1457322Dump when uploading long text infotype
988594Missing SAP_SOL_RE_COMP/SAP_BW_SOLUTION_MANAGER roles
1053895UpgradeComparer and Upload/DownloadComparer changes
777332BE:Changes to initial data transfer for Project Integration
700761Error uploading mime objects
667583Upgrade to 4.0: Termination during upload
549792BW-EKS| Incorr. post. date during recompilat. of statistics
452111Upload-flag transfer does not work