Show TOC Start of Content Area

Background documentation DataSources to Access Entity Service Attributes   Locate the document in its SAP Library structure

You can create special DataSources to access language-dependent data of entity services that were modeled with language-dependent attributes. To do this, you use the DataSource name pattern CAF_BW_LD_DATASOURCE_NAME_PREFIX, plus the name of the entity service DataSource.

Example

For the service sap.com/caf.tc/CategoryValueService, the DataSource name used to extract language-dependent attributes could be:

LDE41CategoryValuecaftcfindByM  (CAF_BW_DATASOURCE_NAME_PREFIX = E41, CAF_BW_LD_DATASOURCE_NAME_PREFIX = LD).

This DataSource contains all language-dependent attribute fields: key (record key), parentKey, lastChangedAt (from parent entity object) and lang (locale of attributes text).

In the service sap.com/caf.tc/CategoryValueService, you have the following language-dependent attributes:

       shortText (com.sap.caf.core.shortText)

       longText (com.sap.caf.core.longText)

The resulting DataSource has the following structure:

Name

Description

SQL Type

Length

KEY

Record key

VARCHAR

36

PARENTKEY

Key of parent entity object

VARCHAR

36

LASTCHANGEDAT

Last changed date

VARCHAR

30

LANG

Locale (location)

VARCHAR

5

SHORTTEXT

Attribute value defined as shortText

VARCHAR

30

LONGTEXT

Attribute value defined as longText

VARCHAR

60

RECORDMODE

Technical field for generic extractor

VARCHAR

1

 

End of Content Area