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

ALV: Repeating rows again

Former Member
0 Likes
650

Hello All,

My requirement in ALV is to avoid horizontal scrolling. I have 150 fields in my internal table and 90 fields represent same data but for different dates. I want data output in following format:

Header Information

Columns Name Material A B C D..........Z

Values Mat1 A1 B1 C1 D1.........Z1

Values Mat2 A2 B2 C2 D2.........Z2

........................

Header Information

Columns Name Material A B C D..........Z

Values Mat1 A2 B2 C2 D2.........Z2

Values Mat2 A3 B3 C3 D3.........Z3

....................................

.

.

Header Information

Columns Name Material A B C D..........Z

Values Mat2 A2 B2 C2 D2.........Z2

I can repeat header information through Top-of-Page but how to to repeat header information between ALV lines and how to split large ALV rows into multiple rows.

Please help.

2 REPLIES 2
Read only

Former Member
0 Likes
496

Hey Vikas,

You cannot split a grid. However, you can achieve your requirement in ALV List display.

In SORT options there is a property called GROUP. Setting that to '*' will separate the ALV into separate blocks.

And as you are familiar with the top of page repeating, you can achieve your soln through ALV list.

Do some research on it or let me know for an example or a sample code.

Regards,

SV,

Deloitte, India.

Read only

Former Member
0 Likes
496

hi,

you can use TREE Report