on 04-13-2018 11:59 AM
Requirement:
We have a webdynpro application where we need to enable label text and disable the label(Input) value.
Issue:Currently both label and it's value are getting disabled.
Properties for label:
Properties for input field:
code:
lv_input ?= view->get_element('INP_UNIT').
lv_input->set_enabled( abap_false ).
output:
Only UNIT should be enable.
What to achieve:
We need only label as enable and its value should be disable.
(Need to enable the label(UNIT)).
Attached the reference screenshots.
Any help should be much appreciated.
Thank you,
Yamini M.
Hi Yamini,
UI element Label is linked to its InputField, so you cannot disable the InputField while keeping its Label enabled (not grayed out). What you can do though is set the InputField as read-only rather than disabled. That setting will keep its Label enabled.
BTW, Web Dynpro ABAP questions should be directed to the UI Web Dynpro ABAP forum.
Cheers.
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.