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

regarding TABLE TYPE

hi guys,

can any body plzz tell me why exactly do u use these TABLE types, and what is the exact necessity of TABLE TYPEs in business scenario.

When u create a table type and select tab named: key - you find four options:

1) standard key

2) key component

3) line type

can any one plzz tell me what is the use of these.

thanks very much

pavan.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 03, 2006 at 05:07 PM

    TABLE Types come in handy when working with ABAP OO. Since you can not use the OCCURS 0, or HEADER LINEs in ABAP OO, you need a way to create tables, you can do this using the regular DATA statement, but sometimes it is a good idea to create these table types in the ABAP dicitionary. This way you don't have to code the TYPES statement for the structure and the DATA statement to create the internal table. They are also used when defining importing exporting parameters for methods. You can also use them in the importin/exporting parameters in function calls instead of the TABLES parameter section.

    http://help.sap.com/saphelp_nw2004s/helpdata/en/90/8d7304b1af11d194f600a0c929b3c3/frameset.htm

    Regards,

    Rich Heilman

    Add comment
    10|10000 characters needed characters exceeded