‎2007 May 31 12:21 AM
hi guys!
I am loading a file and I want to know how can I ignore the fields in the file that is not in the table structure the program crashes everytime there is unnecessary fields in the file... hope you can help me out... thanks guys!
‎2007 May 31 12:26 AM
write simple query ,get the data from file(all data) using gu_upload function module or any other one,now you have one internal table and this internal table has all file data. build one more internal table what ever field you need.
move the data file internal table data to new internal table data.
Reward Points if it is helpful
Thanks
Seshu
‎2007 May 31 12:26 AM
write simple query ,get the data from file(all data) using gu_upload function module or any other one,now you have one internal table and this internal table has all file data. build one more internal table what ever field you need.
move the data file internal table data to new internal table data.
Reward Points if it is helpful
Thanks
Seshu
‎2007 May 31 12:27 AM
Hi Michael,
If there are not sufficient fields in the internal table to store the data coming from the file then it will definately crash.
There is no alternative to this. You need to define all the fields which are coming through the file. Later on you can just ignore those fields in your program.
Reward points if useful.
Regards,
Atish
‎2007 May 31 12:33 AM
I'll try it out guys..
more reward points if it works.. thanks!
‎2007 Jun 15 2:32 AM