cancel
Showing results for 
Search instead for 
Did you mean: 

selection cardinality does not allow multiple selection

former_member205624
Contributor
0 Kudos

Hi, friends

I am trying to select multiple rows in a table but getting that error.

<b>com.sap.tc.webdynpro.progmodel.context.ContextException: Node(ResultView.Bapi_Po_Getitemsrel_Input.Output.Po_Items): selection cardinality does not allow multiple selection</b>

I have set all the required properties. Like selectionMode = multi

cardinalty = 0..n

selection = 0..n

Please some one help me out.

Thanks in advance!

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Check the selection cardinality of all nodes from the table data source via mapped nodes etc.

Armin

former_member205624
Contributor
0 Kudos

hi, Armin

Please tell me how to check the selection cardinality of all nodes from the table data source via mapped nodes.

I new to the Web Dynpro and R/3. Prior to that i am in J2EE developement.

Thanks & Regards

Former Member
0 Kudos

Start with the node in the view controller. If it is a mapped node, go to the mapping origin in the custom/component controller etc.

Open the context editor for each controller and check the selection cardinality for the corresponding context node.

Armin

lajitha_menon
Contributor
0 Kudos

Hi Jitender,

I am not sure whether the Singleton property would change the behaviour. Please check..

Former Member
0 Kudos

Hai,

I tried this by changing the cardinality to o..n and selection mode multi.

but i dont get message as well as i dont get any effect of multi selection.

regards,

lajitha_menon
Contributor
0 Kudos

check also that the cardinality and selection properties (0..n and 0..1) are set for the corresponding controller context as well.

former_member205624
Contributor
0 Kudos

hi,

which BAPI you used for that. In my case i am using

BAPI_PO_GETITEMSREL

I think the Bapi not allow me to do the multiple selection. Please help me out.

Thanks & Regards

Former Member
0 Kudos

Hi

Have u binded the node to the datasource property of the table.

Regards

Rathna.

Former Member
0 Kudos

What is the node that you had bound the table to?

Make the "selectionMode" property to auto*.

When are you getting this error? while build/deploy/run?

Thanks and regards

RK

Former Member
0 Kudos

Hi

check if u have set the <b>selectionmode</b>property of ur Table to <b>multi</b>.

Regards,

Rathna.

former_member205624
Contributor
0 Kudos

hi, rathna

In my problum description i have clearly mentioned that the selectionmode property is multi. Please help me out.

Regards