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

Re: splitting columns of an internal table

$
0
0

Hi Tharun,

Declare your second internal table with the same column names of 3rd column and 4th column.

 

types : begin of ty_table2,

           col3 type ...   " Field name and data type must be same of 3rd column of first internal table

           col4 type ... " similarly 4th column

end of ty_table2.

 

data : ls_table2 type ty_table2,

         lt_table2 type table of ty_table2.

 

loop at lt_table1 into ls_table1.

move-corresponding ls_table1 to ls_table2.

append ls_table2 to lt_table2.

endloop.

 

 

 

Regards,

Ravikiran.K


Viewing all articles
Browse latest Browse all 8937

Trending Articles



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