How to Refresh ALV List/Grid
once it is displayed?
This mean to say that if you have a 'refresh' push button in your gui status, every time you press the button, the list should get refreshed. In ALV, to refresh the table you have to call the method "refresh_table_display". It has the syntax very similar to creating the table. It has two parameters. In the first one, you can mention if you want to refresh only the data (the icons are not refreshed) or if you want to refresh only the icons around the grid (the data is not refreshed - this option is mostly not used in day to day applications). the synatx is :- call method grid (name of grid )->refresh_table_display exporting IS_STABLE = <STRUCT OF TYPE LVC_S_STBL> (THIS IS FOR DATA REFRESHING) I_SOFT_REFRESH = <VARIABLE OF CHAR 01> (THIS IS FOR ICON REFRESHING).
Questions
Best regards,
All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|