With Header & Without Header
Internal Table
You can define internal tables either with (WITH HEADER LINE addition) or without header lines. An internal table with header line consists of a work
area (header line) and the actual table body. You address both objects
To avoid confusion, you are recommended to use internal
tables without header lines. This is particularly important when you use
nested tables. However, internal tables with header line do offer a shorter
syntax in several statements
Within ABAP Objects, you can only use internal tables without a header line. You can always address the body of an internal table <itab> explicitly by using the following syntax: <itab>[]. This syntax is always valid, whether the internal table has a header line or not. Example DATA itab1 TYPE TABLE OF i WITH HEADER LINE. DATA itab2 TYPE TABLE OF i WITH HEADER LINE. itab1 = itab2. " Only header lines will be copied
*-- RachelArun
Get help for your ABAP problems
ABAP Books
More ABAP Tips
SAP Basis, ABAP Programming and Other IMG Stuff http://www.erpgreat.com All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|