Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 26, 2006 at 06:05 AM

    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...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 26, 2006 at 06:22 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded