Skip to Content
author's profile photo Former Member
Former Member

Table And Structure

Dear friends,

Please can any body datail about the purpose of table and structures and tell me the diff b/n each.

Regards

Balu

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 06:03 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 30, 2008 at 06:03 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 06:11 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 06:57 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.