R_SrvcOrdItemReferenceObjectTP
Service Order Item Reference Object - TP
R_SrvcOrdItemReferenceObjectTP is a Transactional CDS View that provides data about "Service Order Item Reference Object - TP" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 10 fields with key fields ServiceOrder, ServiceOrderItem, ServiceRefObjectSequenceNumber.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentRefObject | I_ServiceDocumentRefObject | from |
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 Order Item Reference Object - TP | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceOrder | ServiceDocument | ||
| KEY | ServiceOrderItem | ServiceDocumentItem | ||
| KEY | ServiceRefObjectSequenceNumber | ServiceRefObjectSequenceNumber | ||
| SerialNumber | SerialNumber | |||
| ServiceReferenceEquipment | Equipment | |||
| ServiceRefFunctionalLocation | ||||
| ServiceReferenceProduct | ProductID | |||
| SrvcRefObjIsMainObject | SrvcRefObjIsMainObject | |||
| _ServiceOrderItemTP | _ServiceOrderItemTP | |||
| _ServiceOrderTP | _ServiceOrderTP |
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@VDM: {
viewType: #TRANSACTIONAL,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@Metadata:
{
ignorePropagatedAnnotations: true
}
@EndUserText.label: 'Service Order Item Reference Object - TP'
@ObjectModel: {
usageType: {dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #L}
}
define view entity R_SrvcOrdItemReferenceObjectTP
as select from I_ServiceDocumentRefObject
association to parent R_ServiceOrderItemTP as _ServiceOrderItemTP on $projection.ServiceOrder = _ServiceOrderItemTP.ServiceOrder
and $projection.ServiceOrderItem = _ServiceOrderItemTP.ServiceOrderItem
//added for strict
association to R_ServiceOrderTP as _ServiceOrderTP on $projection.ServiceOrder = _ServiceOrderTP.ServiceOrder
{
key ServiceDocument as ServiceOrder,
key ServiceDocumentItem as ServiceOrderItem,
key ServiceRefObjectSequenceNumber as ServiceRefObjectSequenceNumber,
SerialNumber as SerialNumber,
Equipment as ServiceReferenceEquipment,
cast( FunctionalLocation as functionallocation preserving type ) as ServiceRefFunctionalLocation,
ProductID as ServiceReferenceProduct,
SrvcRefObjIsMainObject,
//Associations
_ServiceOrderItemTP,
_ServiceOrderTP //added for strict
}
where
ServiceObjectType = 'BUS2000116'
and ServiceDocumentItem is not initial
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENTREFOBJECT"
],
"ASSOCIATED":
[
"R_SERVICEORDERITEMTP",
"R_SERVICEORDERTP"
],
"BASE":
[],
"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