R_SrvcQtanPriceElementTP
Service Quotation Price Element - TP
R_SrvcQtanPriceElementTP is a Transactional CDS View that provides data about "Service Quotation Price Element - TP" in SAP S/4HANA. It reads from 2 data sources (I_PricingElement, I_ServiceDocumentEnhcd) and exposes 14 fields with key fields ServiceQuotation, PricingProcedureStep, PricingProcedureCounter.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PricingElement | PricingElement | from |
| I_ServiceDocumentEnhcd | ServiceQuotation | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Service Quotation Price Element - TP | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceQuotation | 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 | ||
| ConditionAmount | I_PricingElement | ConditionAmount | ||
| TransactionCurrency | I_PricingElement | TransactionCurrency | ||
| ConditionInactiveReason | I_PricingElement | ConditionInactiveReason | ||
| _ServiceQuotationTP | _ServiceQuotationTP | |||
| _ConditionQuantityUnit | I_PricingElement | _ConditionQuantityUnit | ||
| _ConditionInactiveReason | I_PricingElement | _ConditionInactiveReason |
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@VDM: {
viewType: #TRANSACTIONAL,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@Metadata:
{
ignorePropagatedAnnotations: true
}
@EndUserText.label: 'Service Quotation Price Element - TP'
@ObjectModel: {
usageType: {dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #L}
}
define view entity R_SrvcQtanPriceElementTP
as select from I_PricingElement as PricingElement
inner join I_ServiceDocumentEnhcd as ServiceQuotation on ServiceQuotation.PricingDocument = PricingElement.PricingDocument
and ServiceQuotation.ServiceObjectType = 'BUS2000116'
and ServiceQuotation.ServiceDocumentIsQuotation is not initial
association to parent R_ServiceQuotationTP as _ServiceQuotationTP on $projection.ServiceQuotation = _ServiceQuotationTP.ServiceQuotation
{
key ServiceQuotation.ServiceDocument as ServiceQuotation,
key PricingElement.PricingProcedureStep as PricingProcedureStep,
key PricingElement.PricingProcedureCounter as PricingProcedureCounter,
PricingElement.ConditionType as ConditionType,
PricingElement.ConditionRateValue as ConditionRateValue,
PricingElement.ConditionCurrency as ConditionCurrency,
@Semantics.quantity.unitOfMeasure: 'ConditionQuantityUnit'
PricingElement.ConditionQuantity as ConditionQuantity,
@ObjectModel.foreignKey.association: '_ConditionQuantityUnit'
PricingElement.ConditionQuantityUnit as ConditionQuantityUnit,
@DefaultAggregation:#NONE
@Semantics.amount.currencyCode: 'TransactionCurrency'
PricingElement.ConditionAmount as ConditionAmount,
PricingElement.TransactionCurrency as TransactionCurrency,
@ObjectModel.foreignKey.association: '_ConditionInactiveReason'
PricingElement.ConditionInactiveReason as ConditionInactiveReason,
//Associations
_ServiceQuotationTP,
PricingElement._ConditionQuantityUnit as _ConditionQuantityUnit,
PricingElement._ConditionInactiveReason as _ConditionInactiveReason
}
where
ServiceQuotation.ServiceObjectType = 'BUS2000116'
and PricingElement.PricingDocumentItem is initial
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRICINGELEMENT",
"I_SERVICEDOCUMENTENHCD"
],
"ASSOCIATED":
[
"I_CONDITIONINACTIVEREASON",
"I_UNITOFMEASURE",
"R_SERVICEQUOTATIONTP"
],
"BASE":
[
"I_PRICINGELEMENT"
],
"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