Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9269

Re: Dynamic Query

$
0
0

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.


Viewing all articles
Browse latest Browse all 9269

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>