‎2014 Dec 17 8:09 AM
Hello experts,
I have some problem with Filter Function on cl_gui_alv_grid.
This is my main screen(9000)
Every alv_grid has its own container, instance, fieldcatalog, layout, exclude functions and variant.
Right bottom alv_grid(Detail List) is changing according hotspots in left bottom alv_grid(Summary).
For now, everything works fine.
After hotspot click in Difference Column of Summary alv_grid Popup Screen shows up:
(In Production System its filled up corectly, no problem here)
The problem happens after Popup Screen is closed:
Now when i click on Filter button of any of these alv_grids, wrong Filter Criteria shows up.
Instead propper Filter Screen shows up Popup ALV with same structure as structure in popup on Difference HotSpot.
Any idea how to fix it?
Thanks in advance.
Jakub Misiarz
‎2015 Mar 05 11:39 AM
Well, solution is very simple....it makes me even little bit ashamed
After closing popup window with ALV object, just use CALL METHOD g_alv_grid->free.
‎2014 Dec 17 8:48 AM
‎2014 Dec 17 9:47 AM
Yes i did. VARIANT handle is different for each instance of cl_gui_alv_grid. VARIANT is not the problem - same problem appears also when I completly remove variant option from program.
Each Grid has its own internal table, no sharing data. Only LEFT BOTTOM GRID(Summary) and RIGHT BOTTOM GRID(Detail) has same class for Event Reciever, but this isn't the source of the problem neither.
Thanks for idea though.
Regards,
Jakub
‎2015 Mar 05 11:39 AM
Well, solution is very simple....it makes me even little bit ashamed
After closing popup window with ALV object, just use CALL METHOD g_alv_grid->free.