2010 Jul 09 10:24 AM
Hi Freinds,
Please let me know how to display two grids in same screen using SALV Method.
Thank you
Regards,
SDV
2010 Jul 09 10:31 AM
Catch is to split the container. Once you split it & get the container instance you can pass it to the FACTORY method of CL_SALV_TABLE.
Do you face any specific problem while doing this ?
BR,
SUhas
PS: You can refer to the program RSDEMO_SPLITTER_CONTROL to check how to split a container.
Hi Freinds,
Please let me know how to display two grids in same screen using SALV Method.
Thank you
Regards,
SDV
2010 Jul 09 10:31 AM
Catch is to split the container. Once you split it & get the container instance you can pass it to the FACTORY method of CL_SALV_TABLE.
Do you face any specific problem while doing this ?
BR,
SUhas
PS: You can refer to the program RSDEMO_SPLITTER_CONTROL to check how to split a container.
2010 Jul 09 10:39 AM
Using the same concept as described in .
All you need to add is passing your new containers as r_container parementer of factory method.
"1st one
cl_salv_table=>factory(
EXPORTING
R_CONTAINER = g_top_container
....
"2nd one
cl_salv_table=>factory(
EXPORTING
R_CONTAINER = g_bottom_container
....
Regards
Marcin
2010 Jul 09 10:42 AM
You can use split container as mentioned above
or just use old technique of ALV:
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
...
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
I used it recently as the output needed to be displayed in job spool.
sample code BALVBT01.
2010 Jul 09 10:55 AM
Thanks for points, but I believe Suhas also deserve some as he is the first who gave you the overall idea.
Chers
Marcin
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |