R_BusSolnOrdAppointmentTP

DDL: R_BUSSOLNORDAPPOINTMENTTP Type: view_entity TRANSACTIONAL Package: CRMS4_SOLUTION_ORDER_RAP

Business Solution Order Appointment - TP

R_BusSolnOrdAppointmentTP is a Transactional CDS View that provides data about "Business Solution Order Appointment - TP" in SAP S/4HANA. It reads from 2 data sources (R_BusinessSolutionOrderTP, I_SrvcDocAppointment) and exposes 6 fields with key fields BusinessSolutionOrder, SrvcDocAppointmentType. It has 1 association to related views. Part of development package CRMS4_SOLUTION_ORDER_RAP.

Data Sources (2)

SourceAliasJoin Type
R_BusinessSolutionOrderTP BusinessSolutionOrder inner
I_SrvcDocAppointment ServiceAppointment from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_SrvcDocAppointmentTypeText _SrvcDocAppointmentTypeText $projection.SrvcDocAppointmentType = _SrvcDocAppointmentTypeText.SrvcDocAppointmentType

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Business Solution Order Appointment - TP view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY BusinessSolutionOrder R_BusinessSolutionOrderTP BusinessSolutionOrder
KEY SrvcDocAppointmentType I_SrvcDocAppointment SrvcDocAppointmentType
SrvcDocApptStartDateTime I_SrvcDocAppointment SrvcDocApptStartDateTime
SrvcDocApptEndDateTime I_SrvcDocAppointment SrvcDocApptEndDateTime
_BusinessSolutionOrderTP _BusinessSolutionOrderTP
_SrvcDocAppointmentTypeText _SrvcDocAppointmentTypeText
@AccessControl: {
  authorizationCheck: #MANDATORY,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@VDM: {
  viewType: #TRANSACTIONAL,
  lifecycle.contract.type: #SAP_INTERNAL_API
}

@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #C,
     sizeCategory:   #L
   }
}

@EndUserText.label: 'Business Solution Order Appointment - TP'

define view entity R_BusSolnOrdAppointmentTP
  as select from I_SrvcDocAppointment      as ServiceAppointment
    inner join   R_BusinessSolutionOrderTP as BusinessSolutionOrder on ServiceAppointment.SrvcMgmtObjectUUID = BusinessSolutionOrder.BusinessSolutionOrderUUID

  association        to parent R_BusinessSolutionOrderTP as _BusinessSolutionOrderTP    on $projection.BusinessSolutionOrder = _BusinessSolutionOrderTP.BusinessSolutionOrder

  association [1..*] to I_SrvcDocAppointmentTypeText     as _SrvcDocAppointmentTypeText on $projection.SrvcDocAppointmentType = _SrvcDocAppointmentTypeText.SrvcDocAppointmentType

{

  key BusinessSolutionOrder.BusinessSolutionOrder as BusinessSolutionOrder,
      @ObjectModel.text.association: '_SrvcDocAppointmentTypeText'
  key ServiceAppointment.SrvcDocAppointmentType   as SrvcDocAppointmentType,
      ServiceAppointment.SrvcDocApptStartDateTime as SrvcDocApptStartDateTime,
      ServiceAppointment.SrvcDocApptEndDateTime   as SrvcDocApptEndDateTime,

      _BusinessSolutionOrderTP,
      _SrvcDocAppointmentTypeText
}
where
     ServiceAppointment.SrvcDocApptStartDateTime is not initial
  or ServiceAppointment.SrvcDocApptEndDateTime   is not initial