Skip to Content
-1
Dec 15, 2020 at 01:18 AM

ALV report with variable rows

88 Views

Hi All,

I have a requirement to display an alv report for below scenario.

Header1

Details

Footer

---

Header2

Details

Footer.

--

The above no. of blocks may vary based on report selection.

I need to know how can we build multiple field catalogs and pass field catalog and data from my internal table to build the above scenario.

Note: My Internal table is having data in below format and I am using the same to generate output txt file. I need to show the similar details in alv.

Internal Table Data:

Header1

Details Record 1

Details Record 2

Details Record 3

Footer ( remains constant )

Header2

Details Record 1

Details Record 2

Details Record 3

Footer ( remains constant )

and so on..

Thankyou for all your help.

Regards

Dheeraj