P_ChmlProdCatztnReuseText
P_ChmlProdCatztnReuseText is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key field ProdCmplncPhrs. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | P_ChmlProdCatztnText | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCHMLPRDCZREUSET | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.representativeKey | ProdCmplncPhrs | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProdCmplncPhrs | dd07t | domvalue_l | |
| ddlanguageasLanguage | ||||
| ddtextasProdCmplncPhrsText | ||||
| _Language | _Language |
@AbapCatalog:
{
sqlViewName: 'PCHMLPRDCZREUSET',
compiler.compareFilter: true,
preserveKey: true
}
// authorization check not required as view only reads domain values
@AccessControl.authorizationCheck: #NOT_REQUIRED
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@VDM.private: true
@ObjectModel:
{
--Performance annotation
usageType:
{
dataClass: #META,
serviceQuality: #B,
sizeCategory: #S
},
--Representative Key
representativeKey: 'ProdCmplncPhrs'
}
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view P_ChmlProdCatztnReuseText
--Select data from domain value description table
as select from dd07t as P_ChmlProdCatztnText
--association to I_Language
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
--Domain Value of Basic Data Status
key hextobin('00000000000000000000000000000000') as ProdCmplncPhrsUUID,
key P_ChmlProdCatztnText.domvalue_l as ProdCmplncPhrs,
--Language
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key P_ChmlProdCatztnText.ddlanguage as Language,
--language-dependent description of domain value
@Semantics.text: true
P_ChmlProdCatztnText.ddtext as ProdCmplncPhrsText,
/* Associations */
_Language
}
where
P_ChmlProdCatztnText.domname = 'EHFND_CHM_PROD_CATZTN_PH_REUSE'
and P_ChmlProdCatztnText.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