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

Refresh ALV

Former Member
0 Likes
948

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
Read only

Former Member
0 Likes
883

Hi Aditya,

Check this one:

Regards,

Chandra Sekhar

7 REPLIES 7
Read only

Former Member
0 Likes
883

hi,

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

Regards,

Anirban

Read only

Former Member
0 Likes
883

<ignore this..repeat post>

Read only

Former Member
0 Likes
883
Read only

Former Member
0 Likes
884

Hi Aditya,

Check this one:

Regards,

Chandra Sekhar

Read only

Former Member
0 Likes
883

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

Read only

Former Member
0 Likes
883

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

Read only

Former Member
0 Likes
883

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