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: 

ALV Block in 3 lines

Former Member
0 Kudos
102

Hi all,

I have a very specific need and really don't have any ideas on how to solve it.

I have a report with 9 different ALV blocks on the same screen (same execution), using REUSE_ALV_BLOCK_LIST_APPEND.

The users are complaining that since this report has so many columns, they have to scroll all the way to the right in order to view it. They would like to have a single line broke down into 3 lines fitting the "first" screen.

This would be simple if I were using REUSE_ALV_LIST_DISPLAY, where I could have saved a layout using 3 lines. But the block FM doesn't have the layout parameter, so I don't know how this can be achieved.

Do you guys have any suggestion/examples on how to create a ALV Block output with a line broken down into 3 lines ?

Thanks,

Alex.

1 ACCEPTED SOLUTION

naimesh_patel
Active Contributor
0 Kudos
65

Hello Alex,

Whenever you fill the fieldcatalog for the ALV, which has long lines (more columns) then Set the

Catalog-ROW_POS = 1 (for First Line)

Catalog-ROW_POS = 2 (for Second Line) and so on....

Hope this will solve your problem.

Regards,

Naimesh Patel

PS : If it is helpful then please give points.

1 REPLY 1

naimesh_patel
Active Contributor
0 Kudos
66

Hello Alex,

Whenever you fill the fieldcatalog for the ALV, which has long lines (more columns) then Set the

Catalog-ROW_POS = 1 (for First Line)

Catalog-ROW_POS = 2 (for Second Line) and so on....

Hope this will solve your problem.

Regards,

Naimesh Patel

PS : If it is helpful then please give points.