on 10-20-2015 9:02 AM
Hi Dear Experts,
I have an issue that confused me so much. In CRM Web UI, there is a component to display some data, but it just allow us to select one row, the view has not yet been enhanced. I then re-define the method do_init_context to pass the 'MULTISELECT' as below:
typed_context->result->set_selection_mode(
iv_selection_mode = cl_bsp_wd_context_node_tv=>selmode_multi
).
But it is still could not work correctly. Please see the attachment. No.1 could choose muliple but No.2 could not.
BR
Jay
I think you need to write your code in DO_PREPARE_OUTPUT method. Not DO_INIT_CONTEXT.
Redefine DO_PREPARE_OUTPUT and try by writing the below code.
me->typed_context->result->set_selection_mode( cl_bsp_wd_context_node_tv=>selmode_multi ).
IF me->typed_context->result->collection_wrapper->if_bol_bo_col~multi_select ne abap_true.
me->typed_context->result->collection_wrapper->if_bol_bo_col~set_multi_select( ).
ENDIF.
typed_context->result->build_table( ).
R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.