R_SrvcQtanReferenceObjectTP
Service Quotation Reference Object - TP
R_SrvcQtanReferenceObjectTP is a Transactional CDS View that provides data about "Service Quotation Reference Object - TP" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocumentRefObject, I_ServiceDocumentEnhcd) and exposes 8 fields with key fields ServiceQuotation, ServiceRefObjectSequenceNumber. Part of development package CRMS4_SERVICE_QUOTATION_RAP.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentRefObject | I_ServiceDocumentRefObject | 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 Reference Object - TP | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceQuotation | I_ServiceDocumentRefObject | ServiceDocument | |
| KEY | ServiceRefObjectSequenceNumber | I_ServiceDocumentRefObject | ServiceRefObjectSequenceNumber | |
| SerialNumber | I_ServiceDocumentRefObject | SerialNumber | ||
| ServiceReferenceEquipment | I_ServiceDocumentRefObject | Equipment | ||
| ServiceRefFunctionalLocation | ||||
| ServiceReferenceProduct | I_ServiceDocumentRefObject | ProductID | ||
| SrvcRefObjIsMainObject | I_ServiceDocumentRefObject | SrvcRefObjIsMainObject | ||
| _ServiceQuotationTP | _ServiceQuotationTP |
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@VDM: {
viewType: #TRANSACTIONAL,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@Metadata:
{
ignorePropagatedAnnotations: true
}
@EndUserText.label: 'Service Quotation Reference Object - TP'
@ObjectModel: {
usageType: {dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #L}
}
define view entity R_SrvcQtanReferenceObjectTP
as select from I_ServiceDocumentRefObject
inner join I_ServiceDocumentEnhcd as ServiceQuotation on ServiceQuotation.ServiceDocument = I_ServiceDocumentRefObject.ServiceDocument
and ServiceQuotation.ServiceObjectType = 'BUS2000116'
and ServiceQuotation.ServiceDocumentIsQuotation is not initial
association to parent R_ServiceQuotationTP as _ServiceQuotationTP on $projection.ServiceQuotation = _ServiceQuotationTP.ServiceQuotation
{
@ObjectModel.foreignKey.association: '_ServiceQuotationTP'
key I_ServiceDocumentRefObject.ServiceDocument as ServiceQuotation,
key I_ServiceDocumentRefObject.ServiceRefObjectSequenceNumber as ServiceRefObjectSequenceNumber,
I_ServiceDocumentRefObject.SerialNumber as SerialNumber,
I_ServiceDocumentRefObject.Equipment as ServiceReferenceEquipment,
cast( I_ServiceDocumentRefObject.FunctionalLocation as functionallocation preserving type ) as ServiceRefFunctionalLocation,
I_ServiceDocumentRefObject.ProductID as ServiceReferenceProduct,
I_ServiceDocumentRefObject.SrvcRefObjIsMainObject,
// Associations
_ServiceQuotationTP
}
where
I_ServiceDocumentRefObject.ServiceObjectType = 'BUS2000116' // Service Process
and I_ServiceDocumentRefObject.ServiceDocumentItem is initial
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