P_ChmlProdCatztnReuse
P_ChmlProdCatztnReuse is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 4 fields with key fields ProdCmplncPhrsUUID, ProdCmplncPhrs. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07l | P_ChmlProdCatztn | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | P_ChmlProdCatztnReuseText | _Text | $projection.ProdCmplncPhrs = _Text.ProdCmplncPhrs |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCHMLPRDCZREUSE | 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.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.representativeKey | ProdCmplncPhrs | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProdCmplncPhrsUUID | |||
| KEY | ProdCmplncPhrs | dd07l | domvalue_l | |
| ProdCmplncPhrsText | ||||
| _Text | _Text |
@AbapCatalog:
{
-- SQL view name (16 characters)
sqlViewName: 'PCHMLPRDCZREUSE',
--If it's true, the filter conditions are compared and, if they match, the associated join expression is evaluated only once
compiler.compareFilter: true,
preserveKey: true
}
--Access Control: Authorizations Checks
@AccessControl:
{
// authorization check not required as view only reads domain values
authorizationCheck: #NOT_REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #BASIC
@VDM.private: true
@ObjectModel:
{
--Performance Annotations
usageType:
{
dataClass: #META,
sizeCategory: #S,
serviceQuality: #B
},
representativeKey: 'ProdCmplncPhrs'
}
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view P_ChmlProdCatztnReuse
--Select data from domain value table
as select from dd07l as P_ChmlProdCatztn
--Text association
association [0..*] to P_ChmlProdCatztnReuseText as _Text on $projection.ProdCmplncPhrs = _Text.ProdCmplncPhrs
{
key hextobin('00000000000000000000000000000000') as ProdCmplncPhrsUUID,
@ObjectModel.text.association: '_Text'
key P_ChmlProdCatztn.domvalue_l as ProdCmplncPhrs,
_Text[1: Language = $session.system_language].ProdCmplncPhrsText as ProdCmplncPhrsText,
/*Association*/
_Text
}
where
P_ChmlProdCatztn.domname = 'EHFND_CHM_PROD_CATZTN_PH_REUSE'
and P_ChmlProdCatztn.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