on 12-18-2012 12:11 PM
cant we show visibility on button in webdynpro?
Hi Ankita,
From your question it seem like you wanted to display whether the visibility of the button is set or not. If I am correct then.
Suppose my_attribute is with which visibility is bind.
then all you need to do is create a ref type of IF_WD_CONTEXT_ELEMENT.
data : lo_el_context type ref of IF_WD_CONTEXT_ELEMENT.
data : value type boolean.
lo_el_context = wd_context->get_element( ).
lo_el_context->get_attribute(
exporting
name = `my_attribute`
importing
value = value ).
if value is not initial.
"bind here text of your context button
endif.
Hope It Helps
HAPPY ABAPing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you want to display visibility text as button text then yes you can do
if you want to change visbility on pressing button then also you can do
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.