Skip to Content
0
Former Member
May 25, 2009 at 04:36 PM

Reg: Creation of Dynamic Internal table

94 Views

Hi All,

I got a requirement which should be handled by creating dynamic internal table.

*Scenario: *

1.First I will fetch data from one table into an internal table.

Let suppose I am fetching the fieldnames of the table MAKT from DD03l. Then I will having following records in my internal table.

MANDT

MATNR

SPRAS

MAKTX

MAKTG

2.Now I need to download these fields into an excel file with same field names as headings as shown below

| MANDT | MATNR | SPRAS | MAKTX | MAKTG |

3.Later User will enter data for all those fields in the downloaded excel file and again upload the file. Here I need to create dynamic internal table because the table name is dynamic. Based on the table name, field names will be varying..

Please provide me solution for the above..

Thanks,

Ravee