on 01-30-2008 5:57 AM
Dear friends,
Please can any body datail about the purpose of table and structures and tell me the diff b/n each.
Regards
Balu
Structure is a blueprint or skeleton it won't hold values it is aline type of table.Defining a single structure we can create multiple number of tables.These can't be created but defined since these don't have any memory pointers.
Table is an abject it points to memory it holds values u can Define a structure with the linetype of the table.Tables are physical existing entities.
structure forms the skeleton of the table.
A structure comprises components i.e., fields. Types are defined for the components A component can refer to an elementary type (via a data element or by directly specifying the data type and length in the structure definition), another structure or a table type. A structure can therefore be nested to any depth
Tables can be defined independently of the database in the ABAP Dictionary. The fields of the table are defined with their (database-independent) data types and lengths.
When the table is activated, a physical table definition is created in the database for the table definition stored in the ABAP Dictionary. The table definition is translated from the ABAP Dictionary to a definition of the particular database.
Reward if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Balu,
Table:
1.It can store the record.
2.It has associated with database table.
3.It has a primary key.
4.It has a techincal attributes(size,data class,buffering)
Structure:
1.It can not store the record.
2.It has not associated with database table.
3.It doesnt contain a primary key.
4.It doesnt contain a techincal attributes(size,data class,buffering)
Rewrad points pls.
Regards,
Govind.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Table.
Tables are using to store the constant values suppose if ur creating sales order all the values are upadated in respective tables.Tables hold data.
Structure.
whereas structure in runtime thay r using to pass values, suppose in sales order creation lot of structures are used like XKOMV they do carries the standard values from the standard tables for execution of pricing and they cannot hold data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Balu
1) Tables
Tables can be defined independently of the database in the ABAP Dictionary. The fields of the table are defined with their (database-independent) data types and lengths.
When the table is activated, a physical table definition is created in the database for the table definition stored in the ABAP Dictionary. The table definition is translated from the ABAP Dictionary to a definition of the particular database.
2) Structure
A structure (structured type) comprises components (fields). Types are defined for the components A component can refer to an elementary type (via a data element or by directly specifying the data type and length in the structure definition), another structure or a table type. A structure can therefore be nested to any depth.
Structures are used to define the data at the interface of module pools and screens and to define the parameter types of function modules.
Thanks
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.