Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dynamic internal table declaration

Former Member
0 Likes
331

Hi Experts,

Can any one suggest me how to declare of dynamic internal table for below given scenario.

Text file upload:

Text file upload shall allow u201C;u201D and tab seperated fields.

Fields shall be always in this order Location, Product, Version, followed by the fields to be changed. It shall be possible to change only a few fields, e.g. only the safety stock.

Therefore the column header for the fields to change will be the technical field name.

To give an example the file could look in this way:

Location Product Version SAFTYC SHIPH

0032 504 YWSIM 12345 4

V120 60482 YWSIM 4578 2

Regards,

Jayaram

1 REPLY 1
Read only

Former Member
0 Likes
294

Hi,

One option is that for uploading purpose, an itab can be defined having the first three fields as Location Product Version.

The other fields, instead of dynamic, can be built upon a limit

eg.

F01, F02,F03,F04..... till. F20. eg.

These Fnn fields can be Charcater with length say 40.

So this itab will help to upload the data in the first place.

Later on, reading the first record of this itab, and determining which kind of field it is (eg. numeric, text) , logic can be written.

Regards,

Amit Mittal.