I_EHSRisk2TypeText
EHS Risk 2 Type - Text
I_EHSRisk2TypeText is a Basic CDS View that provides data about "EHS Risk 2 Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields EHSRiskType, Language. It has 1 association to related views. Part of development package EHHSS_BO_RAS2_IMPL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | EHS Risk 2 Type - Text | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | EHSRiskType | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSRiskType | |||
| KEY | Language | dd07t | ddlanguage | |
| EHSRiskTypeName | ||||
| _Language | _Language |
@EndUserText.label: 'EHS Risk 2 Type - Text'
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'EHSRiskType'
@ObjectModel.usageType:{ serviceQuality: #X, sizeCategory: #S, dataClass: #MIXED }
@ObjectModel: {resultSet.sizeCategory: #XS}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
define view entity I_EHSRisk2TypeText
as select from dd07t
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
key cast(dd07t.domvalue_l as ehhss_risk2_type) as EHSRiskType,
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key dd07t.ddlanguage as Language,
@Semantics.text:true
cast ( dd07t.ddtext as ehhss_risk2_type_name preserving type ) as EHSRiskTypeName,
_Language
}
where
dd07t.domname = 'EHHSS_RISK2_TYPE'
and dd07t.as4local = 'A'
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