R_SrvcOrdReferenceObjectTP

DDL: R_SRVCORDREFERENCEOBJECTTP Type: view_entity TRANSACTIONAL

Service Order Reference Object - TP

R_SrvcOrdReferenceObjectTP is a Transactional CDS View that provides data about "Service Order Reference Object - TP" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 8 fields with key fields ServiceOrder, ServiceRefObjectSequenceNumber.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentRefObject I_ServiceDocumentRefObject from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Service Order Reference Object - TP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrder ServiceDocument
KEY ServiceRefObjectSequenceNumber ServiceRefObjectSequenceNumber
SerialNumber SerialNumber
ServiceReferenceEquipment Equipment
ServiceRefFunctionalLocation
ServiceReferenceProduct ProductID
SrvcRefObjIsMainObject SrvcRefObjIsMainObject
_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 Reference Object - TP'
@ObjectModel: {
   semanticKey: ['ServiceOrder'],
   usageType: {dataClass:      #TRANSACTIONAL,
                serviceQuality: #B,
                sizeCategory:   #L}
}
define view entity R_SrvcOrdReferenceObjectTP

  as select from I_ServiceDocumentRefObject

  association to parent R_ServiceOrderTP as _ServiceOrderTP  on  $projection.ServiceOrder = _ServiceOrderTP.ServiceOrder

{

      @ObjectModel.foreignKey.association: '_ServiceOrderTP'
  key ServiceDocument                                                  as ServiceOrder,

  key ServiceRefObjectSequenceNumber                                   as ServiceRefObjectSequenceNumber,

      SerialNumber                                                     as SerialNumber,

      Equipment                                                        as ServiceReferenceEquipment,

      cast( FunctionalLocation as functionallocation preserving type ) as ServiceRefFunctionalLocation,

      ProductID                                                        as ServiceReferenceProduct,

      SrvcRefObjIsMainObject,

      // Associations

      _ServiceOrderTP

}

where
      ServiceObjectType   = 'BUS2000116'
  and ServiceDocumentItem is initial