I tried this code and it worked but it is taking a very long time to execute.Is there a better way to bring data in rows from these columns?
they are all under one column so I have to do like this
IF first internal table's work area-charac = 'MATERIAL'.
MOVE: FIRST INTERNAL TABLE's work area-VAL TO SECOND Internal table's work area-Material.
ENDIF.
and so on.
I have 6 fields like this which means each record will have to loop through 6 times. I am bringing about 100,000 records. so you see it will never finish.
Please let me know if there is a better way of doing this.
Thanks.