Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table Type

Former Member
0 Likes
559

HI Experts,

What are Table types? I dont mean Transparet, Pooled or Cluster.....

Thanks.

Khan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
535

Table type

A table type is a type that describes the structure and functions of an internal table in the ABAP program. It can be used in the ABAP program analogously to types that are predefined in the ABAP program or defined directly in the ABAP program to define data objects and types.

Table types can be used in the ABAP Dictionary to define structures (structured types) and other table types:

  • A component of a structure can have a table type as type. This defines a structured type with a component that is a table.

  • A table type can be used as the row type of another table type. This defines a table of tables.

A table type describes the following attributes of an internal table:

  • The structure and data type attributes of the table row are defined by the row type.

  • The key definition describes the structure of the table key.

  • The key category defines whether the key is unique, that is if all the records of the table have different key values.

  • The access mode defines how the table is accessed and how its records are managed internally.

Reward if useful.

4 REPLIES 4
Read only

Former Member
0 Likes
536

Table type

A table type is a type that describes the structure and functions of an internal table in the ABAP program. It can be used in the ABAP program analogously to types that are predefined in the ABAP program or defined directly in the ABAP program to define data objects and types.

Table types can be used in the ABAP Dictionary to define structures (structured types) and other table types:

  • A component of a structure can have a table type as type. This defines a structured type with a component that is a table.

  • A table type can be used as the row type of another table type. This defines a table of tables.

A table type describes the following attributes of an internal table:

  • The structure and data type attributes of the table row are defined by the row type.

  • The key definition describes the structure of the table key.

  • The key category defines whether the key is unique, that is if all the records of the table have different key values.

  • The access mode defines how the table is accessed and how its records are managed internally.

Reward if useful.

Read only

0 Likes
535

hi sravan,

What I understand by Table Types is what V use to define the structure of Internal Table. Like:

**********************************************

TYPES : BEGIN OF CUSTOMER,

KUNNR LIKE KNA1-KUNNR,

NAME1 LIKE KNA1-NAME1,

KUNN2 LIKE KNVP-KUNN2,

END OF CUSTOMER.

DATA: ITAB_CUST TYPE CUSTOMER OCCURS 0 WITH HEADER LINE.

**********************************************

THANKS.

kHAN

Read only

0 Likes
535

Yes, That is true.

DATA:

The DATA Statement is used to create variables. Any variable that is used in the program need to be declared before it is used and is defined by the DATA Statement.

ex: DATA: STR1 TYPE CHAR10.

TYPES:

The statement TYPES defines either any independent data type or a structured data type struc_type.

ex: TYPES: CHAR10(10) TYPE C.

Regardsz.

Read only

Former Member
0 Likes
535