Hello,
I have a simple reporting web dynpro component. I am using the ALV functionality. The ALV output can be quite long and the user must scroll up & down the list when investigating list. When the user finds something interesting from the list, he will click a button in the ALV row, and this will open a popup window (=another web dynpro component).
The user can then do certain operations in the popup and click a button and this will update the data in the main component (the button will trigger an event, the event handler is in the main component, etc.). In other words the data in the ALV node will be updated. Now the user will close the popup, and here is the problem: the focus of the ALV is returned to the top of the list. So now the user needs to find again the same position in the report where he was before he opened the popup, and this is not user-friendly at all. I want to return the focus of the screen back to the same position where the users was before opening the popup.
Yes, I know that there is the method SET_FOCUS in the interface controller of the ALV component. Basically this methods does exactly what I am looking for. So basically if I was on row 50, I can set the focus back to row 50. Unfortunately SET_FOCUS method does not seem to be working properly when there is a popup window in use:
Can you suggest any workarounds for my problem? How to set the focus to certain row of an ALV after a popup window is closed?
Kind regards,
Karri