on 06-06-2011 11:44 AM
Hi all ,
I have designed a screen with Inputfields as UI elements.
On a button click , i need to display the same screen in DISPLAY mode .
Is there any solution other than making a copy of the same screen ?
Thanks
Supriya
Hi supriya,
Create Transparent Container or Tray to place all your input fields.
Create one attribute of type WDY_BOOLEAN and bind it to enable property of your TC or Tray.
On action of button click enable that property using set_attribute.
get single attribute
lo_el_context->set_attribute(
EXPORTING
name = `ENABLED` // your attribute
value = ABAP_FALSE ).
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Put all the elements in a Transparrent container and disable the containcer in the event handler.
To disable, create a context attribute of type wdy_boolean and set the values as needed.
Do not forget to bind the enabled property of the transparent container to the context attribute.
Thanks,
Aditya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.