Application Development 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: 

Refresh ALV

Former Member
0 Kudos

HI

I am using REUSE_ALV_GRID_DISPLAY and after some changes in data i want to refresh it. is there any function module to refresh it or i have to call that FM again.

Thanks and Regards

Aditya

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Aditya,

Check this one:

Regards,

Chandra Sekhar

7 REPLIES 7

Former Member
0 Kudos

hi,

You better refresh the internal table you are passing to the ALV and call REUSE_ALV_GRID_DISPLAY again.

Regards,

Anirban

Former Member
0 Kudos

<ignore this..repeat post>

Former Member
0 Kudos

Former Member
0 Kudos

Hi Aditya,

Check this one:

Regards,

Chandra Sekhar

Former Member
0 Kudos

Hi,

could you please elaborate the changes in data,

if the data (obtained from database) is changed ,then refresh the internal table and call the perform (consisting of FM REUSE_ALV_GRID_DISPLAY) again..

if you are using select all/deselct all then use

rs-selfield-refresh = X

Regards,

Rohan

Former Member
0 Kudos

Hi,

The following method call is used to refresh the data displayed within an ALV object grid:

CALL method gd_tree->REFRESH_TABLE_DISPLAY.

CALL METHOD gd_tree->set_table_for_first_display

EXPORTING

is_layout = gd_layout

CHANGING

it_fieldcatalog = gd_fieldcat

it_sort = it_sortcat

it_outtab = it_report.

CALL method gd_tree->REFRESH_TABLE_DISPLAY.

CALL METHOD cl_gui_cfw=>flush.

Hope this helps.

Regards,

Sipra

Former Member
0 Kudos

Demo program BCALV_GRID_03 in development class SLIS uses this method to refresh the output table after a new selection.

Features

CALL METHOD <ref.var. to CL_GUI_ALV_GRID>->refresh_table_display

EXPORTING

IS_STABLE = <structure of type LVC_S_STBL >

I_SOFT_REFRESH = <variable of type CHAR01 >.

regards

anil chaudhary