A_ServiceQtanItemRefObject

DDL: A_SERVICEQTANITEMREFOBJECT Type: view COMPOSITE

Reference Object of Srvc Quotation Item

A_ServiceQtanItemRefObject is a Composite CDS View that provides data about "Reference Object of Srvc Quotation Item" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 7 fields with key fields ServiceQuotation, ServiceQuotationItem, ServiceReferenceEquipment, ServiceRefFunctionalLocation. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentRefObject I_ServiceDocumentRefObject from

Associations (2)

CardinalityTargetAliasCondition
[1] A_ServiceQuotation _ServiceQuotation $projection.ServiceQuotation = _ServiceQuotation.ServiceQuotation
[1] A_ServiceQuotationItem _Item $projection.ServiceQuotation = _Item.ServiceQuotation and $projection.ServiceQuotationItem = _Item.ServiceQuotationItem

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Reference Object of Srvc Quotation Item view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ASRVQTANITMREFOB view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.preserveKey true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ServiceQuotation ServiceDocument
KEY ServiceQuotationItem ServiceDocumentItem
KEY ServiceReferenceEquipment Equipment
KEY ServiceRefFunctionalLocation FunctionalLocation
SrvcRefObjIsMainObject SrvcRefObjIsMainObject
_ServiceQuotation _ServiceQuotation
_Item _Item
@ClientHandling.algorithm:#SESSION_VARIABLE
@EndUserText.label: 'Reference Object of Srvc Quotation Item'

@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AbapCatalog: {
  sqlViewName: 'ASRVQTANITMREFOB',
  compiler.compareFilter: true
}
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
   createEnabled: true,
   deleteEnabled: true,
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #C,
     sizeCategory:   #L
   }
}
@Metadata.ignorePropagatedAnnotations: true
@AbapCatalog.preserveKey:true 

define view A_ServiceQtanItemRefObject
  as select from I_ServiceDocumentRefObject

 association [1] to A_ServiceQuotation as _ServiceQuotation on $projection.ServiceQuotation = _ServiceQuotation.ServiceQuotation
 association [1] to A_ServiceQuotationItem  as _Item on  $projection.ServiceQuotation = _Item.ServiceQuotation
                                                             and $projection.ServiceQuotationItem =  _Item.ServiceQuotationItem
{

  key ServiceDocument     as ServiceQuotation,
  key ServiceDocumentItem as ServiceQuotationItem,
  key Equipment           as ServiceReferenceEquipment,
  key FunctionalLocation  as ServiceRefFunctionalLocation,
      SrvcRefObjIsMainObject,

      //Associations

      _ServiceQuotation,
      _Item
}

where
  ServiceObjectType = 'BUS2000116'
  and ServiceDocumentItem is not initial
  and _Item.ServiceDocumentItemIsQuotation = 'X'
and ( Equipment is not initial 
or  FunctionalLocation is not initial )