on 05-10-2016 7:43 AM
Hi All,
I am observing a peculiar Issue in Web UI, when working with service request search result view (SRQM_INCIDENT_S/IncidentSRL).
By standard,only single selection is allowed; so via custom enhancement we have enabled multiple selection.
It is working fine when search result displays.But, when user drills down to service request details page and navigates back using 'Back' button,user cannot make any selection (both Single & Multiple selection) from Table View.
But my custom code (redefined 'set_selection_mode 'method) always get triggered during these actions and setting the selection mode value as 'MULTISELECT'.In Html as well,my selection mode is always 'MULTISELECT'.
Could anyone please share your valuable inputs,if encountered this Issue earlier.Your response would be truly appreciated!!!
I have referred these SCN posts but no luck:-
Multi Row Selection in Table list | SCN
Row in table view can not be selected | SCN
Thanks in Advance!!!!
Warm regards,
Mukesh.L
Hi All,
Thanks for all of your responses.
I am able to resolve my issue with small piece of code in 'DO_VIEW_INIT_ON_ACTIVATION' method.
Seems like standard code is triggered and setting the selection mode to 'SelectSingle' and cleared my 'Selection_tab' values as well when I navigate back from service request detailed page to result list.
Hence there are inconsistency in 'Selection_tab' internal table values and Selection mode and thus no entries are selected from result list.
I redefined the 'DO_VIEW_INIT_ON_ACTIVATION', call the super class method and again pass the local impl ZXXXX_CN00 reference to standard impl CXXX_CN00.
Suggestions are most Welcome,if you have work-around!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Similar advice given in link i provided.
Hi Srinivas Karri,
Thanks,Appreciate your response!!
I have already redefined the 'set_selection mode' method of context node Implementation class to always set 'Multi Edit' Mode. In my view .html, I had set selection mode as MultiEdit always.When I navigate to service request details page and come back to result list;I am unable to select any entry from the list.
Warm regards,
Mukesh.L
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mukesh,
In this SRQM_INCIDENT_S/IncidentSRL go to do_init_context method here you can observe below code.
typed_context->SEARCHRESULT->set_selection_mode(
IV_SELECTION_MODE = CL_BSP_WD_CONTEXT_NODE_TV=>SELMODE_SINGLE
).
just change this selmode_singe to selmode_multiedit and the code reside in this view.htm
selectionMode = "<%= SEARCHRESULT->selection_mode %>" this should be same.
OR
you can directly write the logic in .htm of the same view as
selectionMode = "MULTILINEEDIT"
and rest of the code should be same..
Try this this will work out..
Regards,
Srinivas K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mukesh,
In this SRQM_INCIDENT_S/IncidentSRL go to do_init_context method here you can observe below code.
typed_context->SEARCHRESULT->set_selection_mode(
IV_SELECTION_MODE = CL_BSP_WD_CONTEXT_NODE_TV=>SELMODE_SINGLE
).
just change this selmode_singe to selmode_multiedit and the code reside in this view.htm
selectionMode = "<%= SEARCHRESULT->selection_mode %>" this should be same.
OR
you can directly write the logic in .htm of the same view as
selectionMode = "MULTILINEEDIT"
and rest of the code should be same..
Try this this will work out..
Regards,
Srinivas K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
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.