P_ChmlCompositionOverallStatus
P_ChmlCompositionOverallStatus is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_ChmlCmpstnOverallStsCritlty) and exposes 3 fields with key field ChmlCmplncInfoUUID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ChmlCmpstnOverallStsCritlty | OverallStsCritlty | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ChmlCmpstnOverallStatus | _StatusText | $projection.ChmlCompositionStatus = _StatusText.ChmlCmpstnOverallStatus -- Constants |
| [1..1] | P_ChmlCmplConstants | _Constants | _Constants.Constant1 = _Constants.Constant1 |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCCMPSTNALLSTS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #B | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncInfoUUID | ChmlCmplncInfoUUID | ||
| ChmlCompositionStsCriticality | ChmlCmpstnTotlStsCriticality | |||
| _StatusText | _StatusText |
@AbapCatalog.sqlViewName: 'PCCMPSTNALLSTS'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.private: true
@ObjectModel:
{
resultSet.sizeCategory: #XS,
--Performance Annotations
usageType:
{
dataClass: #META,
sizeCategory: #S,
serviceQuality: #B
}
}
define view P_ChmlCompositionOverallStatus
as select from P_ChmlCmpstnOverallStsCritlty as OverallStsCritlty
-- Status Text
association [0..1] to I_ChmlCmpstnOverallStatus as _StatusText on $projection.ChmlCompositionStatus = _StatusText.ChmlCmpstnOverallStatus
-- Constants
association [1..1] to P_ChmlCmplConstants as _Constants on _Constants.Constant1 = _Constants.Constant1
{
key ChmlCmplncInfoUUID,
ChmlCmpstnTotlStsCriticality as ChmlCompositionStsCriticality,
case
when ChmlCmpstnTotlStsCriticality = 1
then _Constants[inner].ConstantMissing
when ChmlCmpstnTotlStsCriticality = 2
then _Constants[inner].ConstantInProgress
when ChmlCmpstnTotlStsCriticality = 3
then _Constants[inner].ConstantReleased
end as ChmlCompositionStatus,
_StatusText
}
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