‎2008 Feb 24 9:56 AM
‎2008 Feb 24 12:10 PM
for table type memory allocates.
for structure type memory not allocates.
‎2008 Feb 24 2:23 PM
lt_filetable will be act as a Internal table...can hold multiple records....
ls_file will be act as a workarea...which will helps you to do the process (read, append, modify, insert) in the lt_filetable...because it can hold only one record...
Structures
A structure is a sequence of any other data types from the ABAP Dictionary, that is, data elements, structures, table types, or database tables. When you create a structure in the ABAP Dictionary, each component must have a name and a data type.
Table types
Table types are construction blueprints for internal tables that are stored in the ABAP Dictionary. When you create a table type in the ABAP Dictionary, you specify the line type, access type, and key. The line type can be any data type from the ABAP Dictionary, that is, a data element, a structure, a table type, or the type of a database table. You can also enter a predefined Dictionary type directly as the line type, in the same way that you can with a domain.
‎2008 Feb 25 3:12 AM
1.The basic difference between Structure and the Table is that the Structure does not exist at the underlying data base level. Structure exists as Definition in the Dictionary.
2.. Structure will hold only one record at a time but table will hold n no of records.
3.. When u activate the table, this will created in undeylying data base but this not in structure.
Structure and table both are 2/2 matrices but there are many differences between table and structure..........like for example -
1. Table can store the data physically but a structure dose not store.
2. Table can have primary key but a structure dose not have.
3. Table can have the technical attribute but a structure dose not have.
Structure doesn't contain technical attributes.
Structure doesn't contain primary key.
structure doesn't stores underline database level.
‎2008 Feb 25 4:29 AM
Hi Kiran,
Struture : A field called mandt is not used that makes it client dependent. It allows reusability.
Table: A table is a metadata which is client dependent.
Thanks
Mohinder Singh Chauhan