on 07-12-2010 8:44 AM
Hi experts,
I used Method UPD_SELECTION_FIELD to update the Settings of selection field during runtime. the code is like this:
wd_comp_controller->mi_add_sel_handler->upd_selection_field(
EXPORTING
i_id = 'LAND1'
i_read_only = lv_read_only ).
But this didn't work.
Have you met this problem? what can I do to solve this?
Best regards
Julia
Hi,
instead of the upd_selection_field method , use the method add_selection_field .
Initially , for the parameter i_read_only use the attribute created under ATTRIBUTE's tab and set it to abap_false.
In the OnAction of the checkbox, set the variable under the ATTRIBUTE's tab to abap_true.
regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please refer the below threads. The below post says that UPD_SELECTION_FIELD is not working in similar cases.
The below post gives an alternate solution for this. In the last reply, you can find the actual steps.
If you still have difficulty, please post.
Edited by: Mohamed Aslam on Jul 12, 2010 10:59 AM
Edited by: Mohamed Aslam on Jul 12, 2010 11:00 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.