on 03-06-2007 1:53 PM
Hi,
I have one view where I want to set different UI-Elements visible/invisible. Therefore I have an context-attribute of the type wdy_boolean. This attribute should be set only once for the whole wd right at the start. Its value depends on sy-uname.
CASE SY-UNAME.
WHEN 'USER'.
Item_Visible = abap_true.
...set-Methode...
I've placed this code in the WDDOINIT-Method.
Now, at the start, the variable has the right value, but if I click a button, which changes the visibility of other ui-elements in this view, my variable is set to "false" everytime. I really don't know why. Its only referenced in the WDDOINIT-Method an bound from the context to the designated ui-elements
Regards
Torsten
Hi,
you should do this action in de wddomodifyview
you can use the first_time parameter to limit the adaptations of parameters once
or on every page refresh
grtz
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.