‎2007 Jun 11 1:16 PM
Hi,
<b>My requirement is:</b> I want to display two ALV in my report output.
I have two internal table. I want one ALV for each internal table.
It is almost same as that of Block list(can display multiple blocks in report output). But block list uses Function modules. I want same functionality but using Object oriented model.
Can any one help me please.
It will be great if you can give me ALV output in grid format
Warm Regards,
Izhar A Khan
‎2007 Jun 11 1:58 PM
‎2007 Jun 11 1:22 PM
Hi Izhar,
Create a dialog screen .
Put 2 subscreen on this screen.
In each of the subscreen PBO ,call ALV grid using OOP concept.
Hope that helps.
Regards
Mr Kapadia
Assigning points is the way to say thanks in SDN.
‎2007 Jun 11 1:31 PM
Thanx,
But friend my lead don't want to go for screen creation for this program. I had created my program the way only you suggested previously. But he want it to be normal report with Block list like functionality but not using normal FM but using object oriented classes.
‎2007 Jun 11 1:50 PM
hi
use
call screen 100. in the start-of-selection.
then in this screen use two custom control in the layout.
In PBO of this screen ,
create object of type CL_GUI_ALV_GRID and CL_GUI_CUSTOM_CONTAINER
and pass the internal table in the SET_TABLE_FOR_FIRST_DISPLAY method of the class CL_GUI_ALV_GRID.
this process has to be done for both the alv list output.
for reference see the Standard program: BCALV_GRID_01 OR BCALV_GRID_DEMO.
regards
Kothai
‎2007 Jun 11 1:58 PM
Thnx for the answer but I don't want to go for Screen creation as mention in my previous message.
Please refer to this link.
I want same functionality but using Object class rather then going for normal Function modules
‎2007 Jun 11 1:58 PM
‎2007 Jun 11 2:01 PM
‎2007 Jun 11 2:18 PM
Hi Rich!!
need one more help from u. In Block List we see the output in list formate. Is it possible to get the output in grid format ? (something like block grid ?)
‎2007 Jun 11 2:23 PM
‎2007 Jun 11 2:05 PM