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

Mayursatardekar
Explorer
0 Likes
1,304

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
Read only

Former Member
0 Likes
1,262

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.

Read only

rosenberg_eitan
Active Contributor
0 Likes
1,262

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.

Read only

0 Likes
1,262

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.

Read only

0 Likes
1,262

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

Read only

Former Member
0 Likes
1,262

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.

Read only

0 Likes
1,262

Hi Rajlaxmi,

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