cancel
Showing results for 
Search instead for 
Did you mean: 

how to display flds and corresponding values in column?

Former Member
0 Kudos

how to display flds and corresponding values in column?

my itab values are not displaying under the same name? can we specify the positions?

please help me

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Do u want print them in a report or forms???

In report...

the best way is , maintain the heading in text elements...say text-001, text-002..etc..

then print the text elements with proper distances ..

For printing line item, loop the table and

write : / itab-field1 under text-001.

itab-field2 under text-002....etc....

In smartforms ... its very easy....

Just while creating table crates line types...

use the same loine types for the headsings and line items.. it will work..

In SAP scripts..

create paragaraph format and use similar paragraph for header and line items..

these will work...

Award if useful..

Cheers

Rajiv

former_member181962
Active Contributor
0 Kudos

Hi Sri,

YOu can specify the positions.

Refer the sample program demo_list_position_relative_1.

Regards,

Ravi