‎2007 Aug 15 10:33 PM
I would like to be able to resize the alv grid.
The abap program is executing in a MS-Windows environment
MS-window, with SAP session, can be re-sized yet alv grid stays same size
I would like to be able to re-size (make bigger or smaller) once the MS-window has been maximized
Using
CALL METHOD grid->set_table_for_first_display
EXPORTING
is_variant = w_hr_data_grid_layout_variants
i_save = w_hr_data_save_layout_option
is_layout = gs_layout
CHANGING
it_fieldcatalog = gt_fieldcat[]
it_outtab = t_reported_pos_std_table
it_sort = it_sort.
‎2007 Aug 16 5:52 AM
Hi,
It may not be possible to resize the ALV grid using the methods of the CL_GUI_ALV_GRID. It would be possible through the methods of the custom container class CL_GUI_CUSTOM_CONTAINER because the grid id attached to the container. There is an event SIZE_CONTROL in the CL_GUI_CUSTOM_CONTAINER class which may be useful for you.
regards,
Sharat.