Application Development 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: 

How to Display Multiple Field Values in Report....

Former Member
0 Kudos

Hi All,

I want to Display Multiple Field values in one column

but in different line..like

struct-vbeln

struct-posnr

strcut-matnr

pls help...

Thanks & Regards,

yunus

3 REPLIES 3

Former Member
0 Kudos

Hi !

WRITE:/ 10 struct-vbeln.

WRITE:/ 10 struct-posnr.

WRITE:/ 10 strcut-matnr.

will place any field in a new line to column 10.

Regards

Rainer

Points would be nice if that helped...

0 Kudos

Thanks for reply,

but i want fire a loop and

in loop i m paasing this field,

regards,

yunus

Former Member
0 Kudos

Hi yunus,

1. We can also use ASSIGN COMPONENT

to print all fields.

2. like this (just copy paste in new program)

3.

report abc.

*----


data : itab like table of t001 with header line.

field-symbols : <WA> type any.

data : wa like t001.

*----


select * from t001 into table itab where bukrs = '1000'.

*----


loop at itab.

while sy-subrc = 0.

assign COMPONENT sy-index of structure itab to <wa>.

write 😕 <wa>.

endwhile.

endloop.

regards,

amit m.