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

simple query(cleassical report)

former_member97974
Participant
0 Likes
393

i have an internal table itab in which i have some enteries like

col1 col2 col3

1 s j

1 d h

1 h

2

2

2

3

3

now i want to displaythe records like

col1 col2 col3

1 s j

1 d h

1 h

col1 col2 col3

2 l f

2 p h

2 k

plz giv me code.

thanx

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
375

loop at itab.

at new col1.

write 😕 'col1' , 'col2','col3'.

endat.

write 😕 itab-col1,itab-col2,itab-col3.

endloop.

i have an internal table itab in which i have some enteries like

col1 col2 col3

1 s j

1 d h

1 h

2

2

2

3

3

now i want to displaythe records like

col1 col2 col3

1 s j

1 d h

1 h

col1 col2 col3

2 l f

2 p h

2 k

plz giv me code.

thanx

1 REPLY 1
Read only

Former Member
0 Likes
376

loop at itab.

at new col1.

write 😕 'col1' , 'col2','col3'.

endat.

write 😕 itab-col1,itab-col2,itab-col3.

endloop.