A_ServiceConfPriceElement
Price Element of Service Confirmation
A_ServiceConfPriceElement is a Composite CDS View that provides data about "Price Element of Service Confirmation" in SAP S/4HANA. It reads from 2 data sources (I_PricingElement, I_ServiceDocumentEnhcd) and exposes 9 fields with key fields ServiceConfirmation, PricingProcedureStep, PricingProcedureCounter. It has 1 association to related views. Part of development package ODATA_CRMS4_SERVICECONFIRM.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PricingElement | PricingElement | from |
| I_ServiceDocumentEnhcd | ServiceConfirmation | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_ServiceConfirmation | _ServiceConfirmation | $projection.ServiceConfirmation = _ServiceConfirmation.ServiceConfirmation |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Price Element of Service Confirmation | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceConfirmation | I_ServiceDocumentEnhcd | ServiceDocument | |
| KEY | PricingProcedureStep | I_PricingElement | PricingProcedureStep | |
| KEY | PricingProcedureCounter | I_PricingElement | PricingProcedureCounter | |
| ConditionType | I_PricingElement | ConditionType | ||
| ConditionRateValue | I_PricingElement | ConditionRateValue | ||
| ConditionCurrency | I_PricingElement | ConditionCurrency | ||
| ConditionQuantity | I_PricingElement | ConditionQuantity | ||
| ConditionQuantityUnit | I_PricingElement | ConditionQuantityUnit | ||
| _ServiceConfirmation | _ServiceConfirmation |
@EndUserText.label: 'Price Element of Service Confirmation'
@VDM: {
viewType: #COMPOSITE,
lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
createEnabled: true,
updateEnabled: true,
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #XXL
}
}
@Metadata.ignorePropagatedAnnotations: true
define view entity A_ServiceConfPriceElement
as select from I_PricingElement as PricingElement
inner join I_ServiceDocumentEnhcd as ServiceConfirmation on ServiceConfirmation.PricingDocument = PricingElement.PricingDocument
and ServiceConfirmation.ServiceObjectType = 'BUS2000117'
association [1..1] to A_ServiceConfirmation as _ServiceConfirmation on $projection.ServiceConfirmation = _ServiceConfirmation.ServiceConfirmation
{
@ObjectModel.readOnly: true
key ServiceConfirmation.ServiceDocument as ServiceConfirmation,
key PricingElement.PricingProcedureStep,
key PricingElement.PricingProcedureCounter,
PricingElement.ConditionType,
//@ObjectModel.readOnly: true
//PricingDateTime,
//@ObjectModel.readOnly: true
//ConditionCalculationType,
//@ObjectModel.readOnly: true
//ConditionBaseValue,
PricingElement.ConditionRateValue,
PricingElement.ConditionCurrency,
//PriceDetnExchangeRate,
@Semantics.quantity.unitOfMeasure: 'ConditionQuantityUnit'
PricingElement.ConditionQuantity,
PricingElement.ConditionQuantityUnit,
//Expose associations
_ServiceConfirmation
}
where
PricingElement.PricingDocumentItem = '000000' //Ignore Item conditions
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