Paramètre | Reférence | Type | Long. | Valeur par déf. | Facultatif | Description |
---|---|---|---|---|---|---|
CODEPAGE | 0 | SPACE | X | Code page for ASC upload | ||
DAT_D_FORMAT | DATEFORMAT | C | 10 | SPACE | X | Date format; for example DD.MM.YYYY |
FILENAME | RLGRAP-FILENAME | C | 128 | SPACE | X | File name |
FILETYPE | RLGRAP-FILETYPE | C | 3 | 'ASC' | X | File type (ASCII, binary ...) |
HEADLEN | 0 | SPACE | X | DO NOT USE: SAP INTERNAL USE ONLY !! | ||
LINE_EXIT | 0 | SPACE | X | DO_NOT_USE | ||
TRUNCLEN | 0 | SPACE | X | DO NOT USE: SAP INTERNAL USE ONLY !! | ||
USER_FORM | 0 | SPACE | X | DO NOT USE: SAP INTERNAL USE ONLY !! | ||
USER_PROG | 0 | SPACE | X | DO NOT USE: SAP INTERNAL USE ONLY !! |
Paramètre | Reférence | Type | Long. | Description |
---|---|---|---|---|
FILELENGTH | 0 | File length |
Paramètre | Reférence | Long. | Facultatif | Description |
---|---|---|---|---|
DATA_TAB | 0 | Transfer table for file contents |
Exception | Description |
---|---|
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 |
Uploads a file from the presentation server into an internal table. Obsolete. Use class CL_GUI_FRONTEND_SERVICES. If the upload is successful, the size of the file is returned inthis parameter. It need not be evaluated for the formats (FILETYPE)'ASC' and 'DAT', but this is necessary for 'BIN'. For this, please refer to the description of the parameter FILETYPE 'IBM' : Conversion from code page IBM (DOS) Description Value range Default |