A_ServiceConfItmRefObject

DDL: A_SERVICECONFITMREFOBJECT Type: view_entity COMPOSITE Package: ODATA_CRMS4_SERVICECONFIRM

Reference Obj. of Srvc Confirmation Item

A_ServiceConfItmRefObject is a Composite CDS View that provides data about "Reference Obj. of Srvc Confirmation Item" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 8 fields with key fields ServiceConfirmation, ServiceConfirmationItem, ServiceReferenceEquipment, ServiceRefFunctionalLocation. It has 1 association to related views. Part of development package ODATA_CRMS4_SERVICECONFIRM.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentRefObject I_ServiceDocumentRefObject from

Associations (1)

CardinalityTargetAliasCondition
[1] A_ServiceConfirmation _ServiceConfirmation $projection.ServiceConfirmation = _ServiceConfirmation.ServiceConfirmation

Annotations (10)

NameValueLevelField
EndUserText.label Reference Obj. of Srvc Confirmation Item view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ServiceConfirmation ServiceDocument
KEY ServiceConfirmationItem ServiceDocumentItem
KEY ServiceReferenceEquipment Equipment
KEY ServiceRefFunctionalLocation FunctionalLocation
SrvcRefObjIsMainObject SrvcRefObjIsMainObject
SerialNumber SerialNumber
ReferenceProduct ReferenceProduct
_ServiceConfirmation _ServiceConfirmation
@EndUserText.label: 'Reference Obj. of Srvc Confirmation Item'
@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
   createEnabled: true,
   deleteEnabled: true,
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #L
   }
}
@Metadata.ignorePropagatedAnnotations: true

define view entity A_ServiceConfItmRefObject
  as select from I_ServiceDocumentRefObject

  association [1] to A_ServiceConfirmation as _ServiceConfirmation on $projection.ServiceConfirmation = _ServiceConfirmation.ServiceConfirmation
{

  key ServiceDocument     as ServiceConfirmation,
  key ServiceDocumentItem as ServiceConfirmationItem,
  key Equipment           as ServiceReferenceEquipment,
  key FunctionalLocation  as ServiceRefFunctionalLocation,
      // key ProductID           as ServiceReferenceProduct,

      SrvcRefObjIsMainObject,
      SerialNumber,
      ReferenceProduct,
      

      //Associations

      _ServiceConfirmation

}

where
       ServiceObjectType  = 'BUS2000117' // Service Confirmation

  and  ServiceDocumentItem is not initial     
  and(
       Equipment          is not initial
    or FunctionalLocation is not initial
  )
  and ServiceReferenceObjectType != 'E'