P_ChmlCmplncMktCvrg
P_ChmlCmplncMktCvrg is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncMktCvrg) and exposes 6 fields with key field ChmlCmplncMktCvrgUUID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlCmplncMktCvrg | I_ChmlCmplncMktCvrg | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_ChmlCmplncPrimMatl | _MaterialDataPrimary | _MaterialDataPrimary.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCCMKTCVRG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncMktCvrgUUID | ChmlCmplncMktCvrgUUID | ||
| ChmlCmplncInfoUUID | ChmlCmplncInfoUUID | |||
| Country | Country | |||
| ChmlCmplncInfoCntryProdName | ||||
| _Country | _Country | |||
| _MaterialDataPrimary | _MaterialDataPrimary |
@AbapCatalog:
{
sqlViewName: 'PCCMKTCVRG',
compiler.compareFilter: true
}
--Access Control: Authorizations Checks
@AccessControl:
{
authorizationCheck: #NOT_REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view P_ChmlCmplncMktCvrg
as select from I_ChmlCmplncMktCvrg
association [0..1] to C_ChmlCmplncPrimMatl as _MaterialDataPrimary on _MaterialDataPrimary.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID
{
@ObjectModel.readOnly: true
key ChmlCmplncMktCvrgUUID,
@ObjectModel.readOnly: true
ChmlCmplncInfoUUID,
@ObjectModel.readOnly: true
Country,
@ObjectModel.readOnly: true
concat_with_space( concat_with_space( _Country._Text[1: Language = $session.system_language ].CountryName, '-', 1), _MaterialDataPrimary.ChmlCmplncInfoCombinedName, 1 ) as ChmlCmplncInfoCntryProdName,
_Country,
_MaterialDataPrimary
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"C_CHMLCMPLNCPRIMMATL",
"I_CHMLCMPLNCMKTCVRG",
"I_COUNTRY",
"I_COUNTRYTEXT"
],
"ASSOCIATED":
[
"C_CHMLCMPLNCPRIMMATL",
"I_COUNTRY"
],
"BASE":
[
"I_CHMLCMPLNCMKTCVRG"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"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