‎2007 Apr 12 8:01 AM
Hi friends,
How can we add header in abap object
thanks,
Prashant
‎2007 Apr 12 8:06 AM
‎2007 Apr 12 8:06 AM
Hi Prashant ,
As to my knowledge , you don't have headers in ABAP Objects instead of that you can use work areas.
‎2007 Apr 12 10:39 AM
The statemant "with Header line' or Occurs are forbidden in OO.
You can use this.
DATA: ls_itab type kan1, "Strucktur
lt_iatb like table of ls_itab.
Select * from kna1
into table lt_itab
where ...
Loop at ls_itab into lt_itab.
....
endloop.
By Chris