Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Header in Objects

former_member386202
Active Contributor
0 Likes
451

Hi friends,

How can we add header in abap object

thanks,

Prashant

3 REPLIES 3
Read only

Former Member
0 Likes
406

Hi...

Can u be more specific....?

Suresh....

Read only

Former Member
0 Likes
406

Hi Prashant ,

As to my knowledge , you don't have headers in ABAP Objects instead of that you can use work areas.

Read only

Former Member
0 Likes
406

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