Internal table, BDC
i have to upload data into MD61. for that i will upload 'N' number of months. number of months will be given on the selection screen. so i dont have information regarding num of quantity fields. depending on the selection screen i may upload 10 quantitites or 20 quantites.......
what i need is i have to increase the number of columns of same type in an internal table .
Ex: my internal table has fields
here i have 3 quantity fields , but i may upload 10 quantities. how to increase the number of quantity columns dynamically ???
Please let me know how to do this ?
Thanks in Advance
I Dont think it is possible to fill internal table directly from XLS file as we are using function module for this.
So you have try this after populating the internal table once.
i.e. you have to pass this internal table into one dynamic table..
Link: [Dynamic table creation|Dynamic internal table;
But this procedure is make some meaning less development is n't it?
So approach your work assigner once, becoz you have to take decision at XLS file level.
Otherwise go ahead with your same logic, It has no alternate as of my knowledge on data transfers.
All the best
Hey dont remember to get back hear after solving the problem.