Hi All,
I have used the reuse_alv_grid_display function module to display the ALV.
The layout is created this way
g_layout-box_fieldname = 'CHECK'.
g_layout-box_tabname = 'GI_CONDENSE'.
g_layout-zebra = 'X'.
CHECK is the first field in the internal table GI_CONDENSE and is of type char1.
My call to the function module is
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_pf_status_set = g_pf_status
i_callback_user_command = g_usr_cmd
i_grid_title = sy-title
i_grid_settings = g_grid
is_layout = g_layout
it_fieldcat = gi_fieldcat
it_events = gi_events
it_sort = gi_sort
TABLES
t_outtab = gi_condense
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
The alv display is fine.
When i select multiple rows and click on print preview, all the rows present in the alv come, not just the selected rows.
Can anyone help me out of this?
Edited by: Ashwin Ramachandran on May 19, 2010 6:23 PM