Show TOC

DataSources for Business Object AssociationsLocate this document in the navigation structure

Use

CAF provides special DataSources representing associations between business object nodes. Each DataSource represents one association between two business object nodes.

Example
If we have two business object nodes:
sap.com/school/Teachersap.com/school/Subject
and where the business object node Teacher has one-to-many relation with Subject called subjects.
The DataSource that CAF would provide for the association between these two business object nodes contains the following characteristics: (assume that CAF_BI_DATASOURCE_NAME_PREFIX =
E41)

DataSource name: E41subjectsTeacherschoolfindBy

Name

SQL Type

KEY

CHAR(36)

SOURCEKEY

CHAR(36)

TARGETKEY

CHAR(36)

Here SOURCEKEY is the key of a Teacher and TARGETKEY is the key of a Subject that this teacher is associated with.