Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Internal table, BDC

Hello Friends,

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

1. Plant

2. Material

3.Version

4. quantity1

5 Quantity2

6 Quantity3

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

Regards,

Ajay

Tags:
Former Member
Former Member replied

Hi Ajay.,

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

Thanks,

Naveen.I

Hey dont remember to get back hear after solving the problem.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question