on 03-01-2005 7:12 AM
Hi,
i need to display 2 ALV´s on the same screen.
How can i do it?
Regards.
Hi calsadillo,
it is possible. You must use "ALV Blocks". Pls have a look into demo programs BALVBT01 and BALVBT02.
The point is, you must call FM 'REUSE_ALV_BLOCK_LIST_INIT' in order to initialize. Then call 'REUSE_ALV_BLOCK_LIST_APPEND' or 'REUSE_ALV_BLOCK_LIST_HS_APPEND' for every ALV list you want to display (the former for plain ALV, the latter for hierarchical ALV). Finally, call 'REUSE_ALV_BLOCK_LIST_DISPLAY' to display the whole result.
Please let us know if it helped. BR,
Alvaro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alvaro,
The program examples you have mentioned is for the List display, how does it work if I want 2 ALVs grid display on the same screen. Could you brifly tell me the step-wise FM that needs to be called for it.I have a scenario, like I have a selection screen with checkbox, if it's unchecked then it should display 1 ALV grid display and if it's checked then it should display me 2 ALVs grid display on the screen. Hope you got what I'm looking for.
Best Regards,
Mira
I can understand but then again that would need effort to re-structure the program.Can I do one thing, if I have to display one GRid...I could use REUSE_GRID_DISPLAY. And when I need to display 2 ALV's on the screen....could I use using REUSE_LIST_DISPLAY. the one you have given above the sequences of FM to be used. Could you give the FM sequence for LIST_DISPLAY of 2 ALV's on the screen as event wise.Please suggest
Thanks
Mira
Are you using CL_GUI_ALV_GRID or the function module?
if its CL_GUI_ALV_GRID then you can achieve the same by having splitter container, or two custom containers.
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I recently wrote a program that has 1 to 3 ALVs on one screen. They are determined by selections on the front screen and then setup using an HTML header, splitter containers and ALVs using field symbols.
These are obviously setup using the classes rather the function modules.
Let me know if you want further details.
Ian
User | Count |
---|---|
75 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.