cancel
Showing results for 
Search instead for 
Did you mean: 

standard view element visibility change

Former Member
0 Kudos

hi experts,

In a standard component, i need to change the toolbar button visibility property at runtime,

i have written code in post-exit of doint method,but changes are not repflecting in the portal sceen. in the button properties visibility is selected directly.

i have created attribute in the context and changed the value to abap_false.but how to bind this attribute to the button visibility propert. when i directly tried to bind, as this is standard, it is not allowing me to change. when i use replace property attribute..it is showing error that method is protected, so it cannot be used. please advice.

regards,

suneetha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

In post exit of doinit method you can change the binding of visible property by using attribute you have created

Method is BIND_VISIBLE.

Alternatively instead of post exit of init try your code of setting visible property to false in post exit of domodifyview.

Hope this helps

Regards

Manas Dua