cancel
Showing results for 
Search instead for 
Did you mean: 

invisible the button on which the button as clicked.

Former Member
0 Kudos

Hi Experts,

i am working on webdynpro abap,I need some information on invisible the button.

my Requirement is there is one button (search) when i click on the search button the same button (search button) should be invisible.How to work on this scenario, please give me the requried information.

Thanks & Regards,

Bhushan.

Accepted Solutions (0)

Answers (1)

Answers (1)

saravanan_narayanan
Active Contributor
0 Kudos

Hello Bhushan,

Create an context attribute of type WDUI_VISIBILITY and set the default value to '02' (Visible). Bind this attribute to the Visible property of the Search button UI element. In the action eevent handler method of the button, set the context attribute value to '01' (None).

Once the value is set to '01' the button wont be visible in the UI.

BR, Saravanan