I_CompanyCodeHierarchyT
Company Code Hierarchy - Text
I_CompanyCodeHierarchyT is a Basic CDS View that provides data about "Company Code Hierarchy - Text" in SAP S/4HANA. It reads from 1 data source (hrrp_dirt_n) and exposes 6 fields with key fields CompanyCodeHierarchy, ValidityEndDate, Language. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| hrrp_dirt_n | hrrp_dirt_n | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Company Code Hierarchy - Text | view | |
| ObjectModel.representativeKey | CompanyCodeHierarchy | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | IFICOCODEHT | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Search.searchable | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCodeHierarchy | |||
| KEY | ValidityEndDate | |||
| KEY | Language | spras | ||
| ValidityStartDate | ||||
| CompanyCodeHierarchyName | hrytxt | |||
| _Language | _Language |
@EndUserText.label: 'Company Code Hierarchy - Text'
@ObjectModel.representativeKey: 'CompanyCodeHierarchy'
@Analytics: { dataExtraction.enabled: true }
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IFICOCODEHT'
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.supportedCapabilities: [ #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #LANGUAGE_DEPENDENT_TEXT, #EXTRACTION_DATA_SOURCE ]
@AbapCatalog.compiler.compareFilter:true
@AbapCatalog.preserveKey:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations:true
@ObjectModel.usageType: {
dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #XL
}
@Search.searchable: true
define view I_CompanyCodeHierarchyT
as select from hrrp_dirt_n
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
key cast(hrrp_dirt_n.hryid_42 as fis_hryid_ccode_42 preserving type ) as CompanyCodeHierarchy,
@Semantics.businessDate.to: true
key cast(hrrp_dirt_n.hryvalto as fis_datbi preserving type ) as ValidityEndDate,
@Semantics.language
key spras as Language,
@Semantics.businessDate.from: true
cast(hrrp_dirt_n.hryvalfrom as fis_datab preserving type ) as ValidityStartDate,
@Semantics.text
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #LOW
hrytxt as CompanyCodeHierarchyName,
_Language
}where
hrrp_dirt_n.hrytyp = 'COCD';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"HRRP_DIRT_N"
],
"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