Skip to Content
0
Nov 08, 2007 at 07:30 PM

CL_GUI_ALV_GRID before_user_command event

111 Views

Hi guys, I am using the CL_GUI_ALV_GRID class to display a report in SAP 4.7

When the user click on refresh, on the standard ALV toolbar, I need to delete some entries in my table. Also, I'm displaying the total number of lines in my GUI title.

I'm using the event before_user_command to catch the refresh click then I delete some entries in my internal table but after I need to refresh my GUI title. The event does not call back the PBO, I need to retrigger the PBO to redisplay the GUI title correctly.

Another way of doing it, is to remove the refresh button of the standard alv, add a refresh button to the gui status, then delete my entries in the user_command PAI then after the PBO will kick and the gui title will be redisplay correctly.

But I want to know if it's possible with the first solution to redisplay my gui title.

thanks

Alex