‎2015 Aug 14 8:26 AM
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
‎2015 Aug 14 8:41 AM
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.
‎2015 Aug 14 8:44 AM
‎2015 Aug 14 8:53 AM
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
‎2015 Aug 31 10:52 AM