2007 Aug 08 11:17 PM
HI All,
I am using UPLOAD FM like this:
CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = FILE
FILETYPE = 'ASC'
ITEM = 'xyz'
FILEMASK_MASK = ',.,..'
IMPORTING
CANCEL = V_CANCEL
TABLES
DATA_TAB = I_DATA
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
OTHERS = 6.
Using this FM I am trying to upload comma seperated file. But Internal table is not getting filled properly because of which program is giving dump. Could you guys please let me know which should be the format of the file and what mask ',.,..' means?
regards
Saurabh
HI All,
I am using UPLOAD FM like this:
CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = FILE
FILETYPE = 'ASC'
ITEM = 'xyz'
FILEMASK_MASK = ',.,..'
IMPORTING
CANCEL = V_CANCEL
TABLES
DATA_TAB = I_DATA
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
OTHERS = 6.
Using this FM I am trying to upload comma seperated file. But Internal table is not getting filled properly because of which program is giving dump. Could you guys please let me know which should be the format of the file and what mask ',.,..' means?
regards
Saurabh
2007 Aug 08 11:20 PM
Don't use UPLOAD....Use GUI_UPLOAD instead...Or even better...The OO upload service...
Greetings,
Blag.
2007 Aug 08 11:21 PM
2007 Aug 08 11:33 PM
I can not change the Function module. As this program is being used for years. Please let me know which file format should be used.
2007 Aug 08 11:55 PM
Hi Saurabh,
Using GUI_UPLOAD will not affect the code in any way. you can just go ahead and use the same.
Regards,
Atish
2011 Jul 19 9:39 AM
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |