Would like to make the entire ALV Grid invisible.

Hello everyone,
I have a screen with 2 alv grids on a custom control.
Now when required I would like to hide one or both the alv grid. How can I do this?
Custom controls cannot be made invisible. Is there a method in alv which would make  the entire alv grid disappear?
Thanks in advance,
Karan

> Now when required I would like to hide one or both the alv grid. How can I do this?
> Custom controls cannot be made invisible. Is there a method in alv which would make  the entire alv
> grid disappear?
Custom Control we cannot see directly on the screen output. If one of the Grid you want to make invisible
then you can follw some thing similar approach ..
in PBO you will intialize the controls. while initalizing it you pass the wrong Custom control name then it will not display the ALV GRID.
Custom control name  is name of the Custom control of screen what ever you want to show.

Similar Messages

Maybe you are looking for