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: 

regarding alv report

Former Member
0 Kudos

hi all,

i have a requirement to keep a refresh button in application bar of alv output.after clicking on that refresh button if i need to go back to selection screen, iam needed to click on back button two times.

i have written tested like all leave screen,set screen 0 etc. but its not working properly.

urgent plz...

regards,

kiran

3 REPLIES 3

Former Member
0 Kudos

Hi kiran,

use leave to screen 0.

regards,

Prasanth

*reward if helpful

Message was edited by:

Prasanth Narayanasetty

Former Member
0 Kudos

Hi,

Write the corresponding code in AT EXIT-COMMAND and try.

Regards,

Former Member
0 Kudos

<b>How to Refresh ALV List/Grid once it is displayed? </b>

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).

reward points if it is usefull....

girish