P_CnsldtnHierDir
P_CnsldtnHierDir is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (hrrp_directory) and exposes 5 fields with key field AdditionalMasterDataHierarchy.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| hrrp_directory | hrrp_directory | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCNSLDTNHRDIR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | AdditionalMasterDataHierarchy | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AdditionalMasterDataHierarchy | |||
| ValidityEndDate | ||||
| ValidityStartDate | ||||
| LastChangedByUser | upduser | |||
| LastChangeDateTime | updtime |
@AbapCatalog.sqlViewName: 'PCNSLDTNHRDIR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'AdditionalMasterDataHierarchy'
@ObjectModel.usageType: { dataClass: #MASTER, sizeCategory: #S, serviceQuality: #A }
@VDM.private: true
@VDM.viewType: #BASIC
define view P_CnsldtnHierDir
as select from hrrp_directory
{
key cast(hryid as fincs_hryid) as AdditionalMasterDataHierarchy,
@Semantics.businessDate.to: true
cast(hryvalto as fis_datbi) as ValidityEndDate,
@Semantics.businessDate.from: true
cast(hryvalfrom as fis_datab) as ValidityStartDate,
@Semantics.user.lastChangedBy: true
upduser as LastChangedByUser,
@Semantics.systemDateTime.lastChangedAt: true
updtime as LastChangeDateTime
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"HRRP_DIRECTORY"
],
"ASSOCIATED":
[],
"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