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
what is code to upload cost centers through call trans. and procedure
What is the difference between a structure and a table?
How do you restrict the data to be entered in the payroll area? : sap abap hr
What is a table pool? : abap data dictionary
What is the difference between sum and collect?
In the `select' statement what is group by ?
what is sales order confirmation and how can do design it in webdynpro. what is Tcode for the same?
When value table becomes check table?
How can a lock object be called in the transaction?
Explain what are interactive reports?
Difference between Read and Get cursor?
What are the dynapro keywords?
What are the types of the software component being deployed in the sap?
What are the parameter types for a method?
when run my program in se38 it was showing output, when i take background execution and giving printer details it was shoing out put. but in SP01 when i give the Spool Request Number it was showing not yet processed entire page why it happens i dont know please give me a solution.