I_PCPrptyRootType
Property Root Type
I_PCPrptyRootType is a Basic CDS View that provides data about "Property Root Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07l | PCPrptyRootType | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_PCPrptyRootTypeText | _Text | $projection.DomainValue = _Text.DomainValue |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Property Root Type | view | |
| AbapCatalog.sqlViewName | IPCPRPTYROOT | 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.usageType.dataClass | #META | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.representativeKey | DomainValue | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| domvalue_lasDomainValue | ||||
| _Text | _Text |
--Label of view
@EndUserText.label: 'Property Root Type'
@AbapCatalog:
{
-- SQL view name (16 characters)
sqlViewName: 'IPCPRPTYROOT',
--If it's true, the filter conditions are compared and, if they match, the associated join expression is evaluated only once
compiler.compareFilter: true,
preserveKey: true
}
--Access Control: Authorizations Checks
@AccessControl:
{
// authorization check not required as view only reads domain values
authorizationCheck: #NOT_REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #BASIC
@ObjectModel:
{
--Performance Annotations
usageType:
{
dataClass: #META,
sizeCategory: #S,
serviceQuality: #B
},
representativeKey: 'DomainValue'
}
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view I_PCPrptyRootType
--Select data from domain value table
as select from dd07l as PCPrptyRootType
--Text association
association [0..*] to I_PCPrptyRootTypeText as _Text on $projection.DomainValue = _Text.DomainValue
{
--Domain Value of Property root type
@ObjectModel.text.association: '_Text'
key PCPrptyRootType.domvalue_l as DomainValue,
-- translate shortened fix values to correct ones
cast( case PCPrptyRootType.domvalue_l
when 'EHFNDD_PHY' then 'EHFNDD_PHYSCHEM'
when 'EHFNDD_PH2' then 'EHFNDD_PHYSCHEM2'
when 'EHFNDD_ECT' then 'EHFNDD_ECTX'
else PCPrptyRootType.domvalue_l
end as ehfnd_prop_property_root ) as PCPrptyRootType,
/*Association*/
_Text
}
where
PCPrptyRootType.domname = 'EHFND_PROP_PROPERTY_ROOT'
and PCPrptyRootType.as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_PCPRPTYROOTTYPETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"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