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 grid again.

Former Member
0 Likes
960

Hi,

I am displaying the internal table data in a ALV grid using "REUSE_ALV_GRID_DISPLAY'. The ALV has some records that will be updated to database. I am having an Update button.

After i click on that button, the entries will try to get saved in DB. For some reasons if it fails, there is a green traffic light that will be set to RED.

My problem is I need the ALV to get refreshed and display the internal table again. If i use reuse_alv_grid, a new screen is getting displayed. But i need it in the same screen.

Please note it is not a Module pool and i am not using a factory class.

Any Help ?

Thanks,

Karthik

4 REPLIES 4
Read only

deepan_v_s
Active Participant
0 Likes
884

Hi Karthi,

If you need to display the updated table entries from DB table, then the program should run again.

I you should have to select the data from the table again and call the FM to display ALV.

This can be done by creating a refresh button, (Which will go through the program flow again) or by using auto refresh.

Hope it helps!!!

Regards,

Deepan Swaminathan.

Read only

0 Likes
884

Solved my self.. Thanks

Read only

0 Likes
884

Would you care to share how you solved it ?

Did you use the Refresh field of the return parameter for the User command callback in conjunction with a refresh button ?

Regards

Read only

0 Likes
884

Yeah Richard. You are correct ! Sorry for the late reply