Skip to Content
0
Former Member
Jun 30, 2009 at 12:36 PM

Hide a custom control with an ALV in a dynpro

392 Views

Hi everybody,

I am trying to hide a custom control that has and ALV in a dynpro that I have created. Fisrt I tried to hide this using the loop at screen but after I realised that this CCtrl are not listed in this screen table where all the elements are, so it is not possible to hide it, something that with the buttons I have it works perfectly. After that what I did was to deleted the container using

CALL METHOD container4->free( ).

FREE container4.

And the weird part is that sometimes is working and sometimes not. What my program does is to show one of this alv, you can navigate by pressing a button and another alv will be shown in another container, and like this till I have 4 alv in the screen. But what I can do also is to navigate backwards, and then the alv should be remove from the screen. I can go back and one will be deleted, and like that till I just have one. The problem is that sometimes it doesn't work. I have like two or three containers there when they were supposed not to be there.

Anybody know the reason or any solution to hide this ALV that are in those custome containers?

Thanks very much