2006 May 24 9:41 AM
Hi all,
I want to upload a local CVS-file into a ZTABLE. How can I do this the easiest way?
Thanks and regards,
Stefan
2006 May 24 9:49 AM
Hi all,
I want to upload a local CVS-file into a ZTABLE. How can I do this the easiest way?
Thanks and regards,
Stefan
2006 May 24 9:43 AM
1) upload .csv file into internal table(using gui_upload function)
2) insert value of internal table into ztable
2006 May 24 9:46 AM
Hi,
upload that CSV file to itab using GUI_UPLOAD or some FM.
use Modify ZTABle From ITAB.
this is simpler one.
Regards
vijay
2006 May 24 9:47 AM
Hi Stefan,
You can upload data from presentation server to an internal table using gui_upload. Use gui_download to download from internal table to flat file.
Use fm ALSM_EXCEL_TO_INTERNAL_TABLE to upload data frm excel.
Use function module GUI_UPLOAD for .csv
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'C:\test.csv'
FILETYPE = 'ASC'
TABLES
DATA_TAB = itab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17.
Regards,
Anjali
2011 Feb 05 6:19 AM
how i should upload the flat file into ztable can u send the full code
2006 May 24 9:49 AM
2006 May 24 9:54 AM