Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Visible Property of lable in Webdynpro

Hi all,

I have a lable and a inputfield which are hide. I want that when a select something in my dropdownbykey, this two objects get visible.

How can i do that?



Former Member

Hi Nirali,

Try creating a visibility simple data type with Boolean data type. Now assign this variable to the input field for visibility property. Then set the visibility manually using the following code.

wdContext.currentContextElement.setVisibility(Visible.<boolean data type>);

this code has to be written within the onAction event of dropdownbykey.

Hope it helps.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question