09-16-2008 1:08 PM
Hi...
I have a subscreen in tabstrip where i am using
CALL METHOD C_ALV_RATE_ANL->SET_TABLE_FOR_FIRST_DISPLAY
to display a alv......
I want to add a button the tabstrip which will aloow user to add lines in alv and user should be able to save it
regards
vivek
09-16-2008 1:20 PM
Hi,
Why cant you use set_table_for_first_display of class cl_gui_alv_grid ?
DATA: go_grid_ctrl TYPE REF TO cl_gui_alv_grid.
CALL METHOD go_grid_ctrl->set_table_for_first_display
This will automatically have a APPEND ROW button in the tabstrip which will automatically add one new line
Cheers,
Kothand
09-16-2008 1:20 PM
Hi,
Why cant you use set_table_for_first_display of class cl_gui_alv_grid ?
DATA: go_grid_ctrl TYPE REF TO cl_gui_alv_grid.
CALL METHOD go_grid_ctrl->set_table_for_first_display
This will automatically have a APPEND ROW button in the tabstrip which will automatically add one new line
Cheers,
Kothand
09-16-2008 1:23 PM
hi
i have set_table_for_first_display of class cl_gui_alv_grid only..
but that doest give new row in alv
can u plz explain???
regards
vivek
09-17-2008 5:18 AM
Hi,
Can't you see the CREATE icon button in the toolbar?
Else i think you have not enabled the EDIT mode for the display
check lvc_s_fcat-edit flag is set
Cheers,
Kothand