We have a program that uses the CL_GUI_ALV_GRID and the events user_command and context_menu_request. The program functions by selecting an option for the context menu on an ALV grid which will then take you to another screen with another ALV grid.
The issue is on the second screen where the user clicks the back button to return to the first ALV Grid. For some reason, the functionality of Method user_command is triggered twice preventing the user from returning to the initial screen. Once when the menu option is selected and again when the Back button on the second screen is selected. If the user clicks the Back button again it will return to the initial ALV grid. We need to have the program go to the initial ALV grid after the Back button is clicked the first time not the second.
Does anyone have any suggestions on how to correct this? Thanks in advance for your help.