cancel
Showing results for 
Search instead for 
Did you mean: 

Cardinality of a Form and a Table

Former Member
0 Kudos

Hi,

anyone please tell me What is Cardinality of a Form and a Table ?

Thanks,

kiran.

Accepted Solutions (1)

Accepted Solutions (1)

pravesh_verma
Active Contributor
0 Kudos

Hi,

For a form you can put the node cardinaility as 1:. As the form will include only one value to be inputed therefore only one element per attribute is required in the node.

However for a table you have to put its cardinality as 0:n OR 1:n. 0:n means that there can be either 0 elements or n elements which can be created for a node. So can have a scenario that there are no values in the table OR n values in the table.

1:n gaurantees you that you will always have atleast 1 element in the table and then you can create upto n elements in the table at runtime.

I hope that helps. Please revert back in case you need miore information.

Thanks and Regards

Pravesh

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi ravi,

Form cardinality 0:1

Table Cardinality 0:n

Regards,

Sunaina Reddy T

Former Member
0 Kudos

Hi Kiran,

Cardinality contians the Minimum& Max number of elements may context node contains at runtime.

0:1 minum 0 &max 1

0:n

1:1

1:n

if you try to delete last element from a node of cardinality 1:n it gives the Exception at runtime.which means it must contain atleast one element.

Regards,

Sandeep Reddy.

Former Member
0 Kudos

cardinality of form is 0:1 either no value or atleast one value.

Cardinality of a table is 0:n either no value or it can hold upto n records

Former Member
0 Kudos

Hi K Ravi

Form. ... DataSource of cardinality 1..1,

For more info check this link

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e...

Regards

Ruturaj

Former Member
0 Kudos

Cardinality is the minimum-maximum number of elements possible for a node at runtime.

Hope this helps.