I_WBSElementHierarchyText
WBS Element Hierarchy Text
I_WBSElementHierarchyText is a Basic CDS View that provides data about "WBS Element Hierarchy Text" in SAP S/4HANA. It reads from 2 data sources (dd04t, hrrp_directoryt) and exposes 11 fields with key fields WBSElementHierarchy, Language, ValidityEndDate, WBSElementHierarchy, Language. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| dd04t | dd04t | union_all |
| hrrp_directoryt | hrrp_directoryt | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IWBSHIERT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | WBS Element Hierarchy Text | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.representativeKey | WBSElementHierarchy | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| VDM.lifecycle.status | #DEPRECATED | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WBSElementHierarchy | |||
| KEY | Language | spras | ||
| KEY | ValidityEndDate | hrrp_directoryt | hryvalto | |
| ValidityStartDate | hrrp_directoryt | hryvalfrom | ||
| WBSElementHierarchyText | hrytxt | |||
| KEY | WBSElementHierarchy | |||
| KEY | Language | |||
| KEY | ValidityEndDate | |||
| ValidityStartDate | ||||
| WBSElementHierarchyText | ||||
| _Language | _Language |
@AbapCatalog.sqlViewName: 'IWBSHIERT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'WBS Element Hierarchy Text'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.representativeKey: 'WBSElementHierarchy'
@VDM.viewType: #BASIC
@ObjectModel.dataCategory: #TEXT
//@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
//Deprecated - Do not use this view
@VDM.lifecycle : {
status: #DEPRECATED
}
define view I_WBSElementHierarchyText
as
select from hrrp_directoryt
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
//key hrrp_directoryt.hryid as WBSElementHierarchy,
key cast ( hrrp_directoryt.hryid as wbshierarchy preserving type ) as WBSElementHierarchy,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language
key spras as Language,
@Semantics.businessDate.to: true
key hrrp_directoryt.hryvalto as ValidityEndDate,
@Semantics.businessDate.from: true
hrrp_directoryt.hryvalfrom as ValidityStartDate,
@Semantics.text
hrytxt as WBSElementHierarchyText,
_Language
}
union all
select from dd04t
//I_DataElementLabelText
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
key $session.client as mandt,
key 'WBSELEMENTHIERARCHY ' as WBSElementHierarchy,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language: true
key cast( ddlanguage as spras ) as Language,
//key cast (Language as spras) as Language,
@Semantics.businessDate.to: true
key '99991231' as ValidityEndDate,
@Semantics.businessDate.from: true
'19720101' as ValidityStartDate,
@Semantics.text: true
cast(ddtext as fis_val_text) as WBSElementHierarchyText,
//cast(ABAPDataElementDescription as fis_val_text) as WBSElementHierarchyText,
_Language
}
where
rollname = 'PS_WBSH'
//ABAPDataElement = 'PS_WBSH'
and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD04T",
"HRRP_DIRECTORYT"
],
"ASSOCIATED":
[
"I_LANGUAGE"
],
"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