04-01-2010 11:15 PM
Hi,
for example i have the following select statements:
SELECT ekbeebeln EKBEbelnr EKBEbewtp ekbebudat ekbedmbtr ekbewrbtr
from EKBE into CORRESPONDING FIELDS OF TABLE ITAB1
WHERE ekbeebeln IN s_ebeln AND ekbebelnr IN s_belnr AND EKBE~bewtp EQ 'E'.
SELECT ekbeebeln EKBEbelnr EKBEbewtp ekbebudat ekbedmbtr ekbewrbtr
from EKBE into CORRESPONDING FIELDS OF TABLE ITAB2
WHERE ekbeebeln IN s_ebeln AND ekbebelnr IN s_belnr AND EKBE~bewtp EQ 'Q'.
i can display ITAB1 in ALV list. but is it possible to display ITAB2 in another ALV List beside the first one?
if yes please give a hint how to do that. thaaaanks
04-02-2010 7:16 AM
Split container or docking containers are the answer for you. You can even display more then two ALV is single screen( docking container )
04-02-2010 12:12 AM
Hi,
You can display multiple lists using blocked ALV.
below are examples.
http://wiki.sdn.sap.com/wiki/display/Snippets/blockedalvwith6tables
04-02-2010 1:00 AM
Hi,
You can use ALV with Class Containers so that, you can split the container.
04-02-2010 7:16 AM
Split container or docking containers are the answer for you. You can even display more then two ALV is single screen( docking container )
04-02-2010 7:25 AM
04-02-2010 8:57 AM
04-07-2010 6:55 AM
Check this standard program BCALV_TEST_GRID_DRAG_DROP to get your logic for displaying two grids vertically.
04-07-2010 7:07 AM
Use the following piece of code
*Display error log.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = sy-repid
i_callback_user_command = c_usercmnd
i_callback_pf_status_set = c_pfstatus.
PERFORM f_create_fieldcatalog "Create field catalog for table ITAB1
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = i_fieldcat
i_tabname = 'ITAB1'
it_events = i_events
TABLES
t_outtab = itab1
EXCEPTIONS
program_error = 1
maximum_of_appends_reached = 2
OTHERS = 3.
FREE i_fieldcat.
PERFORM f_create_fieldcatalog. "Create field catalog for table ITAB2
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = i_fieldcat
i_tabname = 'ITAB2'
it_events = i_events
TABLES
t_outtab = itab2
EXCEPTIONS
program_error = 1
maximum_of_appends_reached = 2
OTHERS = 3.
FREE i_fieldcat.
04-07-2010 9:44 AM
Dear Abhisheksingh
can i use the same logic in the above code with the ALV Grid?
Regards
04-07-2010 9:53 AM
i dont think so .
As the name suggests it is for LIST only.
Havent tried that with ALV grid