Skip to Content
avatar image
Former Member

ALV: Repeating rows again

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 03, 2008 at 10:14 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 06, 2008 at 06:07 AM

    hi,

    you can use TREE Report

    Add comment
    10|10000 characters needed characters exceeded