Skip to Content
0
Former Member
Oct 19, 2007 at 10:09 AM

ALV Grid never refreshs after calling dynpro again

13 Views

Hi,

I have a tabstrip dynpro 2000. On each tab, I have an alv grid...

For the first tab (2010), I have made a doubleclick event on that grid. When a line is going to be double clicked, a new Dynpro (2015) is going to be called. On that dynpro, there is another ALV, which shows the detailed information for the double clicked line. On this screen, there is a button to close that screen and go back to the chosen tabstrip.

That is working, but only once... If I double click a line, the Screen 2015 shows the right data in an ALV. If I close now, got back to the main alv (2010) and I double click another line, originally the same data is going to be displayed on the popup screen 2015.

I have tried to clear the grid and container objects and I have checked all in the debugger. The table is going to be filled with the right data, the fieldcat is going to be rebuilt... all is alright, but it ever shows the data, which has been selected before...

I´m calling the screen like this:

CALL SCREEN 2015 STARTING AT 10 10.

And I leave it in the pai like this:

IF sy-ucomm = 'CLOSE'.
    LEAVE TO SCREEN 0.
ENDIF.

Does anybody know, what the problem is?

Thank you!

Reward points guaranteed