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 Split report without oops

Mayursatardekar
Explorer
0 Kudos

HI experts,

I want to create a ALV report with split screen(without OOPS concept), i mean its a FI report with two headings i.e Liabilities and Assets having the same item data, I tried using most of the function modules of ALV, but no use, I want Liabilities and Assets two headers.

6 REPLIES 6

Former Member
0 Kudos

Hi Mayur,

Classes can be instantiated more than once, and hence can display multiple ALV grids in a single screen. There are many advantages if you use OOPS method.

Only other way around is "ALV list".

WRITE: <<liabilities header>>

LOOP on your Liabilities internal table and use WRITE statement.

Similarly for Assets.

Regards,

Nisha Vengal.

rosenberg_eitan
Active Contributor
0 Kudos

Hi,

Can you explain why not use cl_gui_splitter_container ?

Here is some code and I promise that it will not bite you....

Regards.

0 Kudos

Hi Eitan Rosenberg,

                           Thank You, I Know it wont bite, but just was curious to know. If we can achieve it without using OOPS. Thanks for your help.

0 Kudos

Thank you for explaining it with the code.. Appreciate it.

Former Member
0 Kudos

Hi Nisha

If you are not using OOPS....

You can use ALV Blocked list, With in that you can call Two grids

Check the following thread..

Multiple ALV lists

.

Thanks Rajlaxmi.

0 Kudos

Hi Rajlaxmi,

                 Thankyou, I tried with blocked list it worked. Thank you.