cancel
Showing results for 
Search instead for 
Did you mean: 

what are the cardinality in web dynpro.

Former Member
0 Kudos

Hi Expert,

actual i want to know to different kind of cardnality and explain each of them and where it will use and how to use in diffferent situation

please tell me

thanks

subodha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Expert,

actualy cardinality is nothing but it is selection of value as well as instatiation of node..

4 type of cardinality are there....

0:1----it behaves as not instatiated but may be created upto 1 element...

1:1-beahaves as it is instatiated but will create upto 1 element.

0:n--as it is not intatiated and will create upto nth element

1:n--as it is instatiated but will create upto nth element..

Actualy it is used in Value node at time of creation of any collection of data...it is one of the property of value node in contetx...before doing any thng of node..you have to set cardinality value as above....

thanks

jati

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Subhoda,

CARDINALITY tells the min. and max. numbers of elements a node may contain.

Theare are 4 properties for this.

0:1 - The node contains zero or one element.

1:1 - The node contains only one element.

0:n - The node contains n elements

1:n - The node contains one or n elements.

In webdynpro the context node act as an Internal table. To control the number of elements in the context node, the cardinality properties are used. If you want to store only one element, use 1:1, the same way with others.

Hope this answers your query. If not reply back...

Regards,

Naresh

matteo_fusi2
Participant
0 Kudos

Hi,

look this documentation

[http://help.sap.com/saphelp_nw04s/helpdata/en/47/45641e80f81962e10000000a114a6b/frameset.htm]

Regards

Matteo