cancel
Showing results for 
Search instead for 
Did you mean: 

how to remove empty ALV table from view

Former Member
0 Kudos

Hi,

I have a WD application with ALV table. first. i'm giving some values in parameters and select options and based on this data is being displayed in ALV table just below in mu selection screen(in same view). then, i'm giving some wrong values which is raising an error message but an empty ALV table also being shown in the screen. Is there any way i can remove this empty table from screen and display just error msg at the top and selection screen to enable user to re-enter values.

please let me know.

Rgds

Sudhanshu

Accepted Solutions (1)

Accepted Solutions (1)

amy_king
Active Contributor
0 Kudos

Hi Sudhanshu,

One option is to bind the Visible property of the ALV's ViewContainerUIElement to a context attribute of type WDUI_VISIBILITY and set the attribute to Visible (02) or None (01) depending on whether your query is successful or produces an error.

Cheers,

Amy

Former Member
0 Kudos

that is correct Amy.

i will try this and update the forum accordingly.

Answers (0)