2008 Jun 16 10:37 AM
Hi gurus,
My requirement is that i want to refresh my alv output when i click a particular button. and all the data displayed should be deleted and empty lines should be there.
i have done till the refreshement but i am not getting empty lines. i am not getting any line . i have to click insert row everytime i need a new entry.
i have written this code:
REFRESH gt_output.
CALL METHOD gv_grid->set_table_for_first_display
EXPORTING
i_structure_name = 'V_T001B'
i_save = 'A'
it_toolbar_excluding = lt_exclude
CHANGING
it_outtab = gt_output
it_fieldcatalog = gt_fieldcat[].
DO anyone have the answer
Hi gurus,
My requirement is that i want to refresh my alv output when i click a particular button. and all the data displayed should be deleted and empty lines should be there.
i have done till the refreshement but i am not getting empty lines. i am not getting any line . i have to click insert row everytime i need a new entry.
i have written this code:
REFRESH gt_output.
CALL METHOD gv_grid->set_table_for_first_display
EXPORTING
i_structure_name = 'V_T001B'
i_save = 'A'
it_toolbar_excluding = lt_exclude
CHANGING
it_outtab = gt_output
it_fieldcatalog = gt_fieldcat[].
DO anyone have the answer
2008 Jun 16 11:22 AM
Hi,
Refersh
-
call the method gv_grid->refresh_table_display
Delete
-
clear your final internal table gt_output which is displaying the data in the grid
refersh gt_output.
Refersh the grid using the method refresh_table_display.
Reward if found helpful.
Regards,
Boobalan Suburaj
2008 Jun 16 12:48 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |