on 04-08-2010 10:18 AM
HI Gurus,
I have an requirement, I am displaying one form, above the form I am displaying the link as Overview. if some conditions failed and the form is not displayed, I want to disable that link ' OVERVIEW" should be in disable mode.
Please provide the code how to approach this.
Thanks
Rahul
Thanks You very much
The problem is resolved now...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bind the visible property of that uiemelent with an attribute of type boolean and whever you want to hide set that attribute to abap_false.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Radhika,
Thanks for the Response.
I wrote the below code for making the link disable.
data lv_link_disable like ls_context-link_disable.
get element via lead selection
lo_el_context = wd_context->get_element( ).
get element via lead selection
lo_el_context = wd_context->get_element( ).
fill attribute
lv_link_disable = abap_false.
set single attribute
lo_el_context->set_attribute(
name = `LINK_DISABLE`
value = lv_link_disable ).
But unfortunately its not wokring.
Can you please let me know what I need to add to this.
Thanks
Rahul
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.