P_MDGovRollNameText
P_MDGovRollNameText is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (dd04t) and exposes 4 fields with key fields Rollname, Language. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd04t | DataElementText | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMDGROLLNAMETEXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | Rollname | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Rollname | dd04t | rollname | |
| KEY | Language | ddlanguage | ||
| rollnameendasDescription | ||||
| _Language | _Language |
@AbapCatalog.sqlViewName: 'PMDGROLLNAMETEXT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'Rollname'
@AbapCatalog.preserveKey: true
@VDM.viewType: #BASIC
@VDM.private: true
define view P_MDGovRollNameText
as select from dd04t as DataElementText
association [1..1] to I_Language as _Language on $projection.Language = _Language.Language
{
key DataElementText.rollname as Rollname,
key ddlanguage as Language,
case when DataElementText.scrtext_l <> '' then DataElementText.scrtext_l
when DataElementText.scrtext_m <> '' then DataElementText.scrtext_m
when DataElementText.scrtext_s <> '' then DataElementText.scrtext_s
when DataElementText.ddtext <> '' then DataElementText.ddtext
when DataElementText.reptext <> '' then DataElementText.reptext
else DataElementText.rollname
end as Description,
_Language
}
where
as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD04T"
],
"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