Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference table type and structure?

Answer Posted / i.srikanth

Structures (structured types)
Structured types describe the structure and functions of any
structured data objects, that is of data structures with
components of any type.
A component can be a field with an elementary type or can
itself be a structure. A table can also be used as a
component in a structure.
A database table always has a structure and is therefore
implicitly a structured type. However, the fields of a
database table can only have an elementary type.

Table types
Table types describe the structure and functions of internal
tables in the ABAP program. Their rows can have any row
type. Table types with elementary row type therefore can be
defined just the same as multi-dimensional table types
(table types with a table type as row type) or table types
using structures with table-like components.

In a simple words,
Structure is just a flat structure but Table type is an
internal table.

Sample code how to use them to create internal table:
* Create Internal table from a structure:
DATA: IT_DATA TYPE STANDART TABLE OF Structure.

* Create Internal table from a table type:
DATA: IT_DATA TYPE table_type.

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the step-by-step process to create a table in data dictionary?

1127


What are the two different ways of building a match code object? : abap data dictionary

1126


Difference between Read and Get cursor?

2065


what is diff between idocs,bdc,rfc and bapi. give real time answer

19611


How will you read from internal table records in a given value range (without using loop)

1486


What will happen when we use fully buffered in abap?

1058


How many default tab strips are there?

1021


Does sap handle multiple currencies?

1017


What is example class

1333


What is tcode se16?

985


How do you display a data in a detail list?

988


State the differences between database view & projection view? : abap data dictionary

1089


Define database layer?

1036


What are the check tables?

1091


How the at-user command serves mainly in lists?

1089