I am using the function module GUI_UPLOAD as follows
CALL FUNCTION 'GUI_UPLOAD'
filename = str_file
filetype = 'ASC'
has_field_separator = '|'
data_tab = it_upload.
The file is having the data as follows
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
net_sales TYPE resrsalesnet,
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