‎2007 Nov 10 3:20 PM
1)what is TABLE TYPE which i can create thru SE11
can i select statement to write data into it??
2) What is Line type ?
‎2007 Nov 10 5:54 PM
Hi
Table types are DDIC objects which are used to create internal tables, they act as data type for creating internal tables. Line type means one record of that Table, nothing but a structure having one record of that table.
suppose SPFLI_T is a table type then if you use
DATA: it_spfli type spfli_t.
this creates a internal table to be used with in your program.
Table types does not have a physical table in the database.(They dont occupy memory in the database)
Structure is just set of fields.. it contains no data. The fields in structure can be viewed in SE11 transaction
Refer this for TABLE TYPE
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm
STRUCTURE
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2d74358411d1829f0000e829fbfe/content.htm
Regards
Anji