I_ProdCmplncLegalAreaText
Language Dependent Description of Legal Area - Text
I_ProdCmplncLegalAreaText is a Basic CDS View that provides data about "Language Dependent Description of Legal Area - Text" in SAP S/4HANA. It reads from 1 data source (ehfndc_cmpstypet) and exposes 3 fields. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ehfndc_cmpstypet | LegalAreaText | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Language Dependent Description of Legal Area - Text | view | |
| AbapCatalog.sqlViewName | IPCLEGALAREAT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.representativeKey | ProdCmplncLegalArea | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| composition_typeasProdCmplncLegalArea | ||||
| languasLanguage | ||||
| _Language | _Language |
@EndUserText.label: 'Language Dependent Description of Legal Area - Text'
@AbapCatalog:
{
sqlViewName: 'IPCLEGALAREAT',
compiler.compareFilter: true,
preserveKey: true
}
// no authorization check required because view only reads customizing for which a check is not needed
@AccessControl.authorizationCheck: #NOT_REQUIRED
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@ObjectModel:
{
--Data category
dataCategory: #TEXT,
--Performance annotation
usageType:
{
dataClass: #CUSTOMIZING,
serviceQuality: #B,
sizeCategory: #S
},
--Representative Key
representativeKey: 'ProdCmplncLegalArea'
}
define view I_ProdCmplncLegalAreaText
--Select data from domain value description table
as select from ehfndc_cmpstypet as LegalAreaText
--association to I_Language
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
--Domain of Legal area
key LegalAreaText.composition_type as ProdCmplncLegalArea,
--Language
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key LegalAreaText.langu as Language,
--language-dependent description of domain value
@Semantics.text: true
cast( LegalAreaText.cmps_type_description as ehfnd_legal_area_name preserving type ) as ProdCmplncLegalAreaName,
/* Associations */
_Language
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EHFNDC_CMPSTYPET"
],
"ASSOCIATED":
[
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA