Former Member

cardinality

hi to all ,

what is cardinality ? what is cardinality for text table ? what is texttable ?

what is base table ?

can i pls expailn in detail . points will berewarded .

10|10000 characters needed characters exceeded

Related questions

• Posted on Sep 23, 2007 at 04:39 AM

Hi Hari,

You store the text based on the language key....

When you assign a key for the field you define it as text table for the field...

and the cardinality tell you for each record in check table how many dependent records should be....

ex (MARA & MAKT)

10|10000 characters needed characters exceeded
• Former Member
Posted on Sep 23, 2007 at 06:42 AM

HI

Cardinality indicates the primary and foriegn key ratio.

Cardinallity defines in what way the indexes are goign to be made on the dimenasion for which you define it.

Basically if you define a dimension as high cardinallity then B tree index used during the drill downns and data access for the faster access of data.

If this option si not used then they are trated as normal dimesions and no new index are created.

The cardinality (n:m) describes the foreign key relationship with regard to the number of possible dependent records (records of the foreign key table) or referenced records (records of the check table).

The left side (n) of the cardinality is defined as follows:

n=1: There is exactly one record assigned to the check table for each record of the foreign key table.

n=C: The foreign key table may contain records which do not correspond to any record of the check table because the foreign key field is empty. This can occur for example if the field of the foreign key table is optional, in which case it does not have to be filled.

The right side (m) of the cardinality is defined as follows:

m=1: There is exactly one dependent record for each record of the check table.

m=C: There is at most one dependent record for each record of the check table.

m=N: There is at least one dependent record for each record of the check table.

m=CN: There may be any number of dependent records for each record of the check table.

A foreign key describes a relationship between two tables. You can define this relationship more precisely by specifying the cardinality and type of foreign key fields.

The following types of foreign key field can be defined:

1.No key fields/candidates: The foreign key fields are neither primary key fields of the foreign key table nor do they uniquely identify a record of the foreign key table (key candidates). For this reason, the foreign key fields do not (partially) identify the foreign key table.

2.Key fields/candidates: The foreign key fields are either primary key fields of the foreign key table or they already uniquely identify a record of the foreign key table (key candidates). The foreign key fields therefore (partially) identify the foreign key table.

3.Key fields of a text table: The foreign key table is a text table for the check table, that is the key of the foreign key table only differs from the key of the check table in that it has an additional language key field. This is a special case of the type Key fields/candidates.

Here is the example with screen shots

http://help.sap.com/saphelp_nw04/helpdata/en/b2/fbb859c64611d295dd00a0c929b3c3/frameset.htm