Page 1 of 1

ALV Refresh button messes up grouping

PostPosted: Wed Apr 19, 2017 7:57 am
by RGoeken
Hi all,

I need a refresh button in ALV. I use REUSE_ALV_GRID_DISPLAY for the ALV.
When I set gs_fieldcat-edit = 'X' on any field, the refresh button is showing but then my grouping on a column is gone.
Before the change the output was like:
ORDER MATERIAL
1 11111111
22222222
2 33333333
After activation of the refresh button it is like:
1 11111111
1 22222222
2 33333333

Any ideas how to activate the refresh button without messing up the grouping?

Re: ALV Refresh button messes up grouping

PostPosted: Wed Jul 19, 2017 9:09 am
by Rich
A refresh basically reads and redisplays your data.

I would define a user command callback (se the documentation for the FM) and handle it all yourself, where you could redo the groupings etc etc

Rich