Refresh after sorting column in ALV GRID

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
agenten
Posts: 8
Joined: Sun Oct 16, 2011 11:20 pm

Refresh after sorting column in ALV GRID

Post by agenten » Sun Nov 06, 2011 11:58 pm

i have a ALV GRID report with Hotspot event on click.
My problem is:

When i go in the report mark a column,
presses the sorting button.
Then when i presses a field the hotspot is activating . BUT the hotspot is
now triggered for the field that was on the same place before sorting. So its like
the hotspot is not "refreshed and not getting updated with the sorting and thinks it is like before sorting.

Its hard to approach it because you cant get in the pai and pbo when pressing alv toolbar.

Please help

DeathAndPain
Posts: 85
Joined: Wed Oct 06, 2004 12:49 am

Re: Refresh after sorting column in ALV GRID

Post by DeathAndPain » Mon Nov 07, 2011 1:08 am

Care to provide the relevant portion of the code?
Image

Rich
Posts: 7116
Joined: Thu Oct 31, 2002 4:47 pm
Location: Liverpool
Contact:

Re: Refresh after sorting column in ALV GRID

Post by Rich » Mon Nov 07, 2011 11:02 pm

That's strange behaviour. I think you may be accessing a table that does not reflect the current sort order of your display.

As D&P said. Show us your code.
Regards

Rich

Image
Abap KC:http://www.richard-harper.me.uk/Kb
SFMDR:http://www.se37.com

Post Reply