cancel
Showing results for 
Search instead for 
Did you mean: 

lead selection has not been set

Former Member
0 Kudos

Hi,

I have some error in webdynpro :The lead selection has not been set. MAIN

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

If the cardinality of your node is 1..N or 1..1, then the runtime expects your context to have atleast one element. In this case, if you have no elements and the check box "Initialize lead selection" is set to true, then it will fail because there is no element to be selected. Instead, if the cardinality is 0..N or 0..1, then it is possible that the context node can be empty. And when there are elements, the first one will be selected if the lead selection check box is checked.

So if you will have an empty context node initially (i.e if you do not do a bind_table in wddoinit), then select the cardinality of your node as 0..N. This will avoid such a dump.

Regards,

Nithya

Former Member
0 Kudos

hi,

Try to change your cardinality to 1..n or 1..1 .U will get it

Former Member
0 Kudos

Hi,

MAKE THE CARDINALITY OF CONTEXT NODE SET TO 1..N

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

In your Context Node make sure that the context node you have used in the layout have the property

Initial Lead Selection check box ticked.

And

Also the Context Nod is not Empty.

Abhi

Former Member
0 Kudos

Hi Abhi,

My context node already ticked.

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

So, your context node is empty.

Make the cardinality to 1..n

Abhi