03-31-2006 7:59 PM
Hi Guys,
I am stuck up in a very funny situation.I have to display an alv in a loop, i.e. alv(with same field catalog) with different set of data.And i just found that it is not possible to do so using...
REUSE_ALV_BLOCK_LIST_APPEND
and then
REUSE_ALV_BLOCK_LIST_DISPLAY
can anyone help...
thanx a loooooooooot in advance.
03-31-2006 8:07 PM
Hi,
if you want to call different alv lists then you need to use these FM's.
REUSE_ALV_BLOCK_LIST_INIT
REUSE_ALV_BLOCK_LIST_APPEND
REUSE_ALV_BLOCK_LIST_DISPLAY
and refer this simple alv Program <b>BALVBT01</b>
Regards
Vijay
04-02-2006 2:54 AM
Hi,
I am not very clear what exactly you want to do.
You are saying that its the same Field catalog, but a different set of data.
1. You can append the data in the same table, and show it together. If you want to differentiate the data, then you can probably colour the data differently.
2. What you can also do is to have two grids on the same screen. Have a container (CL_GUI_CUSTOM_CONTAINER_, split it into two containers (CL_GUI_SPLIT_CONTAINER), create two ALV Grids (CL_GUI_ALV_GRID). Now, use each of the grids to display the data with the same field catalog.
If you requirements are different please explain in detail.
Regards,
Ravi
Note : Please mark the helpful answers.