on 11-13-2012 8:46 PM
Hello,
I want to set the selectedKey Property of the DropDownByKey UI Element dynamically in wdDoModifyView() method, what code can be used for the same?
Any help would be highly Appreciated.
Hi Rohit,
CL_FITV_WD_UTIL can be used to access UI Elements and set their properties. In wddomodifyview I think you can use template below for setting selectedKey property:
CL_FITV_WD_UTIL=>ui_set_property(
EXPORTING
iv_property_name = 'selectedKey'
iv_value = " Value for property that you want to set it to
iv_id = " ID of view-element
io_view = view "view is alwasys a parameter to wddomodifyview so leave as view
RECEIVING
* rv_successful = " Supplement for True Boolean Type: 'X' == True '' == False
).
I have not used the ui_set_property method but know that for example ui_set_visible works like this:
cl_fitv_wd_util=>ui_set_visible( io_view = view iv_id = 'xyz'' iv_visible = abap_false ).
BR Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohit ,
Could you please elaborate your question more specific, pls describe your scenario ?
Regards
Aravindan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.