I_SrvcDocAppointment

DDL: I_SRVCDOCAPPOINTMENT Type: view BASIC Package: CRMS4_REPORT

Appointments of Service Transaction

I_SrvcDocAppointment is a Basic CDS View that provides data about "Appointments of Service Transaction" in SAP S/4HANA. It reads from 1 data source (scapptseg) and exposes 6 fields with key fields SrvcMgmtObjectUUID, SrvcDocAppointmentType. It has 1 association to related views. Part of development package CRMS4_REPORT.

Data Sources (1)

SourceAliasJoin Type
scapptseg scapptseg from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_SrvcDocAppointmentTypeText _DateText $projection.SrvcDocAppointmentType = _DateText.SrvcDocAppointmentType and _DateText.LanguageCode = $session.system_language

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Appointments of Service Transaction view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AbapCatalog.sqlViewName ISERVDOCAPPT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY SrvcMgmtObjectUUID appl_guid
KEY SrvcDocAppointmentType appt_type
SrvcDocApptStartDateTime tst_from
SrvcDocApptEndDateTime tst_to
SrvcDocAppointmentTypeText _DateText SrvcDocAppointmentTypeText
_DateText _DateText

@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Appointments of Service Transaction'
@VDM: {
  viewType: #BASIC,
  lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AbapCatalog: {
  sqlViewName: 'ISERVDOCAPPT',
  compiler.compareFilter: true,
  preserveKey: true
}
@ObjectModel: {

  usageType: {serviceQuality: #A, sizeCategory: #XXL, dataClass: #TRANSACTIONAL}
}
@Metadata.ignorePropagatedAnnotations: true 


define view I_SrvcDocAppointment as select from scapptseg 
association [0..1] to I_SrvcDocAppointmentTypeText as _DateText   on  $projection.SrvcDocAppointmentType = _DateText.SrvcDocAppointmentType
                                                                     and _DateText.LanguageCode      = $session.system_language
{
    key appl_guid as SrvcMgmtObjectUUID,
    key appt_type as SrvcDocAppointmentType,
        tst_from  as SrvcDocApptStartDateTime,
        tst_to    as SrvcDocApptEndDateTime,
        
        @ObjectModel.text.association: '_DateText'
      
        @Semantics.text: true
        _DateText.SrvcDocAppointmentTypeText,
       
        
        //Associations

        _DateText
        
}