Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Refreshing alv output

Former Member
0 Likes
467

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

2 REPLIES 2
Read only

Former Member
0 Likes
444

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

Read only

Former Member
0 Likes
444