on 08-31-2016 2:14 PM
Hello,
I have define a dropdownbox in WDODOMODIFYVIEW with ...cl_wd_Dropdown_by_key=>new_Dropdown_by_key...
The selected value can I get with
DATA: lv_test type ref to cl_wd_Dropdown_by_key,
lv_test1 type string.
lv_test ?= view->getelement( id = 'drop1').
lv_test1 = lv_test->get_selected_key().
With ?= view... Comes an error in WDDOBEFOREACTION. What can I do in this method?
Thanks Kerim
Create a new attribute in your view( for example G_MAIN) of type IF_WD_VIEW. Assign this variable with View in WDDOMODIFYVIEW. Use this new variable in WDDOBEFOREACTION.
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.