ALV - Changing GUI Status On Back Button

Question: I call the REUSE_ALV_GRID_DISPLAY function module to display a summary grid with a modified GUI status (additional buttons to view detail). When I click on my custom "View detail" button, I call the function module again to display all of the detail records for the row selected in the first grid. This new grid also has its own GUI status.

When I press the back button, how can I change back to the original GUI status without completely refreshing the grid ? Any ideas?

Thanks,
Roger

Answer:
hi,
when user hit 'BACK' or 'CANCEL' button on the second ALV, and in your USER COMMAND, can you say, SET PF_STATUS 'status1'?

Bill
_________________
WF

Answer:
I tried that, but for whatever reason it doesn't work....not sure why.

Answer:
Not entirely a solution, but I decided to use the same status for all screens and only process certain commands based on which view was currently active.
Copyright ?2007 - 2008 www.jt77.com