cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Multi Select

Former Member
0 Kudos

Hi All,

I am trying to set the property of MULTI SELECT of rows on a custom view. I have changed the 'DO_INIT_CONTEXT' of the IMPL class and on the view layout i have changed the 'selectionMode' as per required. Even after doing allt this, the Multi select is not working. I mean am not even able to do a single select, where as the single select is working properly.

Can anyone help me on this issue.

One more thing is my custom view is origination on an action that user performs on a custom popup.

I have gone through all the earlier posts in SDN also.

Regards,

Kavuri.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

HI Bhargava,

I face similar problem as you face for Multiple row selection. I have the Multiple Row button enabled, but when i click on it, no rows get selected. Can you please let me know how you have fixed this issue.

Regards,

Jagadish.G

Former Member
0 Kudos

Hi All,

I am using a popup on a value node. I want multi selection of rows to happen. Can someone suggest would it be possible to do it.

Thanks,

Kavuri

Former Member
0 Kudos

Hi,

When I debug... iam able to find out that multi select is set. But I am still not able to do multi selection.

I have one doubt, is multi selection possible on a popup.

Thanks,

Bhargava

Former Member
0 Kudos

Hi,

Check by using MULTI instead of MUTISELECT. In popup we were using multiselect but actually it worked with MULTI.

Hope it helps you.

Best regards

Pankaj Kumar

Edited by: pankaj kumar on Jul 22, 2009 12:14 PM

Former Member
0 Kudos

The build table is being called in the DO_PREPARE_OUTPUT method. Can you let me know wat should be done in the build_table method. As this method is standard.. it has the code for multi select with in itself. Do we need to change anything there.

Thanks,

Kavuri

former_member189678
Active Contributor
0 Kudos

U need to have this code in DO_PREPARE_OUTPUT( ).

me->typed_context->ctxtnodename->set_selection_mode( cl_bsp_wd_context_node_tv=>selmode_multi ).

Regards,

Harshit

Former Member
0 Kudos

I have done that and this is still not working.

former_member189678
Active Contributor
0 Kudos

Check for this then.

IF me->typed_context->ctxtnode->collection_wrapper->if_bol_bo_col~multi_select <> abap_true.

me->typed_context->ctxtnode->collection_wrapper->if_bol_bo_col~set_multi_select( ).

ENDIF.

Regards,

Harshit

Edited by: Harshit Kumar on Jul 22, 2009 12:32 PM

former_member189678
Active Contributor
0 Kudos

Check in DO_PREPARE_OUTPUT of the custom view if build_table is being called.

You have to set the multiselect option in this method apart from the view.htm

Regards,

Harshit