Show TOC Start of Content Area

Procedure documentation DataSources for Business Object Associations  Locate the document in its SAP Library 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/Teacher and sap.com/school/Subject 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.

End of Content Area