I_EHSAgentTypeText
Agent Type Text
I_EHSAgentTypeText is a Basic CDS View that provides data about "Agent Type Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields EHSAgentType, Language. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
| [1..1] | I_EHSAgentType | _EHSAgentType | $projection.EHSAgentType = _EHSAgentType.EHSAgentType |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Agent Type Text | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | EHSAgentType | view | |
| ObjectModel.compositionRoot | false | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | IEHSAGTTYPETXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #META | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSAgentType | |||
| KEY | Language | dd07t | ddlanguage | |
| EHSAgentTypeName | ||||
| _EHSAgentType | _EHSAgentType | |||
| _Language | _Language |
@EndUserText.label: 'Agent Type Text'
@VDM.viewType: #BASIC
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'EHSAgentType'
@ObjectModel.compositionRoot: false
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'IEHSAGTTYPETXT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
// Client handling by session
@ClientHandling.algorithm: #SESSION_VARIABLE
// used for BOBF Master Data Object
@ObjectModel.usageType:{ serviceQuality: #C, // < 15 msec
sizeCategory: #XL, // < 100.000.000
dataClass: #META }
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view I_EHSAgentTypeText
as select from dd07t
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
association [1..1] to I_EHSAgentType as _EHSAgentType on $projection.EHSAgentType = _EHSAgentType.EHSAgentType
{
@ObjectModel.foreignKey.association: '_EHSAgentType'
key cast(substring(dd07t.domvalue_l, 1, 2 ) as ehhss_agent_source preserving type ) as EHSAgentType,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language: true
key dd07t.ddlanguage as Language,
@Semantics.text:true
cast( dd07t.ddtext as ehhss_agent_type_text ) as EHSAgentTypeName,
@ObjectModel.association.type: [#TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT]
_EHSAgentType,
_Language
}
where
dd07t.domname = 'EHHSS_AGENT_SOURCE'
and dd07t.as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_EHSAGENTTYPE",
"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