P_SRVCORDREFSERVICECONTRACT

CDS View

P_SRVCORDREFSERVICECONTRACT is a CDS View in S/4HANA. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
A_SrvcOrdRefServiceContract view from COMPOSITE Reference Service Contracts For Service Order
@AbapCatalog.sqlViewName: 'PSRVCORDREFCONTR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel: {
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #XL
   }
}

@VDM: {
    viewType: #COMPOSITE,
    private: true
}
define view P_SrvcOrdRefServiceContract
  as select from I_ServiceDocumentPredecessor
  association [0..1] to I_ServiceDocumentEnhcd as _ServiceOrder on $projection.ServiceOrderUUID = _ServiceOrder.ServiceDocumentUUID
{

  key _ServiceOrder.ServiceDocument as ServiceOrder,
  key _ServiceDoc.ServiceDocument   as ReferenceServiceContract,
      ServiceDocumentUUID           as ServiceOrderUUID,
      ServiceObjectType,
      _ServiceOrder.ServiceDocumentIsQuotation

}
where
      ServiceDocPrdcssrBusObjType              = 'BUS2000112'
  and ServiceObjectType                        = 'BUS2000116'
  and _ServiceOrder.ServiceDocumentIsQuotation is initial
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENTENHCD",
"I_SERVICEDOCUMENTPREDECESSOR"
],
"ASSOCIATED":
[
"I_SERVICEDOCUMENTENHCD"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/