Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

field symbol assigning a table type

$
0
0

hi

i dont understand creating a data object with create data type ref to and assigning the same to fieldsymbol?i can create a internal table type and using assign statement i can assign it to fieldsymbol but what is the advantage of assigning the same using type ref to :

1)

2)

DATA: <lfs> TYPE ANY TABLE.

 

data: it_table type table of ty_table.

assign (it_table) to <lfs>.

 

what is the difference between the above two types of assignments?

i am unable to figure out which is better and why...


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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