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

column data into row

Former Member
0 Likes
500

hi all,

plz help me this,

how to convert the data in internal table column into row....?

thanx..

2 REPLIES 2
Read only

Former Member
0 Likes
477

Hi Nilesh,

Remove the / symbol in the write statement where you can get the output in row format for example.

Tables: mkpf.

Data itab like mkpf occurs 0 with header line.

select * from mkpf into table itab.

append itab.

loop at itab.

write: itab-bldat.

endloop.

Output will be in row wise.

Tables: mkpf.

Data itab like mkpf occurs 0 with header line.

select * from mkpf into table itab.

append itab.

loop at itab.

write:/ itab-bldat.

endloop.

Output will be in column wise.

Cheers!!

VEnk@

Read only

Former Member
0 Likes
477

ok