I_ServiceDocumentFixedPrice
Service Document Fixed Price
I_ServiceDocumentFixedPrice is a Basic CDS View that provides data about "Service Document Fixed Price" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocument) and exposes 13 fields with key fields ServiceObjectType, ServiceDocument, PricingDocument. It has 2 associations to related views. Part of development package CRMS4_REPORT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocument | I_ServiceDocument | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_ServiceDocumentFixedPrice | _PricingElement | $projection.PricingDocument = _PricingElement.PricingDocument |
| [0..1] | I_Currency | _ConditionCurrency | $projection.conditioncurrency = _ConditionCurrency.Currency |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Service Document Fixed Price | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ISERVDOCFXDPRICE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.representativeKey | PricingDocument | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceObjectType | ServiceObjectType | ||
| KEY | ServiceDocument | ServiceDocument | ||
| KEY | PricingDocument | PricingDocument | ||
| PricingDocumentItem | _PricingElement | PricingDocumentItem | ||
| PricingProcedureStep | _PricingElement | PricingProcedureStep | ||
| PricingProcedureCounter | _PricingElement | PricingProcedureCounter | ||
| ConditionType | _PricingElement | ConditionType | ||
| ConditionCalculationType | _PricingElement | ConditionCalculationType | ||
| ConditionInactiveReason | _PricingElement | ConditionInactiveReason | ||
| ConditionCurrency | _PricingElement | ConditionCurrency | ||
| ConditionAmount | _PricingElement | ConditionAmount | ||
| _ServiceObjType | _ServiceObjType | |||
| _ConditionCurrency | _ConditionCurrency |
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM: {
viewType: #BASIC
}
@EndUserText.label: 'Service Document Fixed Price'
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@AbapCatalog: {
sqlViewName: 'ISERVDOCFXDPRICE',
compiler.compareFilter: true,
preserveKey: true
}
@ObjectModel: {
representativeKey: 'PricingDocument',
usageType: {
dataClass: #MIXED,
serviceQuality: #D,
sizeCategory: #XXL
}
}
define view I_ServiceDocumentFixedPrice
as select from I_ServiceDocument
association [0..1] to P_ServiceDocumentFixedPrice as _PricingElement on $projection.PricingDocument = _PricingElement.PricingDocument
association [0..1] to I_Currency as _ConditionCurrency on $projection.conditioncurrency = _ConditionCurrency.Currency
{
key ServiceObjectType,
key ServiceDocument,
key PricingDocument,
_PricingElement.PricingDocumentItem,
_PricingElement.PricingProcedureStep,
_PricingElement.PricingProcedureCounter,
_PricingElement.ConditionType,
_PricingElement.ConditionCalculationType,
_PricingElement.ConditionInactiveReason,
@ObjectModel.foreignKey.association: '_ConditionCurrency'
@Semantics.currencyCode:true
_PricingElement.ConditionCurrency,
@DefaultAggregation: #SUM
@Semantics: { amount : {currencyCode: 'ConditionCurrency'} }
_PricingElement.ConditionAmount,
_ServiceObjType,
_ConditionCurrency
}
//where
// (
// _PricingElement.ConditionType = 'PMV1'
// or _PricingElement.ConditionType = 'PMV0'
// )
// and _PricingElement.ConditionCalculationType = 'B'
// and _PricingElement.ConditionInactiveReason = ''
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