Hello,
I am using the function module GUI_UPLOAD as follows
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = str_file
filetype = 'ASC'
has_field_separator = '|'
TABLES
data_tab = it_upload.
The file is having the data as follows
0000001000083|0000010000029|200804|20080401|20080430|000000002857113.86|Z15|000000002857113.86
and the internal table is it_upload is as follows.
DATA:BEGIN OF it_upload OCCURS 0,
cn_no(13), " type RECNNUMBER,
cust_temp(13), " Customer number
Period_temp(6), " Period
report_from(8),
report_to(8),
net_sales TYPE resrsalesnet,
salestype(3),
sales_temp TYPE resrsalesnet,
END OF it_upload.
Here the problem is i am not getting the data into the fields appropriately.
Please suggest me where i had done mistake and it is urgent
Regards,
Radha.