04-03-2007 10:39 AM
Hi friends,
Please tell me how to display 2 ALV list one above the other on the same report o/p.
04-03-2007 10:41 AM
Hi,
Use the Blocked ALV report fromat for your requirement.
Hope this resolves your query.
Reward all the helpful answers.
Regards
04-03-2007 10:45 AM
Can you please elaborate Blocked ALV report format, which function module?
04-03-2007 10:47 AM
HI
abaper
try this type
type pool-slis
initialization
at-selection-screen
perform ALV1
perform ALV2
form ALV1
form ALV2
04-03-2007 10:50 AM
04-03-2007 10:50 AM
Hi,
U can make use of following modules:
SALV SAP List Viewer
REUSE_ALV_BLOCK_LIST_APPEND Append Simple List in Block Mode
REUSE_ALV_BLOCK_LIST_DATA_GET Internal Use
REUSE_ALV_BLOCK_LIST_DATA_SET Internal Use
REUSE_ALV_BLOCK_LIST_DISPLAY Display a block table
REUSE_ALV_BLOCK_LIST_HS_APPEND
REUSE_ALV_BLOCK_LIST_INIT Initialization of Block List Output
REUSE_ALV_BLOCK_LIST_REFRESH
REUSE_ALV_BLOCK_STATUS_GET
Also,
refer program BCALV_TEST_BLOCK_LIST.
Hope this will help you, revert back if you want any more clarification.
04-03-2007 10:57 AM
Hi,
this is the structure of block alv display.
you can have separte header for each report. you can use pf-status & alv user command if interactive or dril down type of reqrment is thr.
you need to give layout and events for each LIST APPEND
-
CLEAR gt_events1.
gt_events1-form = 'TOP-OF-PAGE5'.
gt_events1-name = slis_ev_top_of_list.
APPEND gt_events1 TO gt_eventsop5.
gs_layout1-info_fieldname = ''.
-
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = 'ZRB'.
i_callback_pf_status_set = 'PF_STATUS_SET_SUM'
i_callback_user_command = 'ALV_USER_COMMAND'.
IT_EXCLUDING =
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = gs_layout1
it_fieldcat = itfld1[]
i_tabname = 'ITTEST'
it_events = gt_eventsop
TABLES
t_outtab = ittest.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
EXPORTING
IS_PRINT = GT_PRINT.
04-03-2007 11:03 AM
Hi vish,
U can try container for ur requirement of displaying both the ALV's.