I_ServicePerformerToSuplr

DDL: I_SERVICEPERFORMERTOSUPLR SQL: ISERVPERFTOSUPP Type: view COMPOSITE Package: VDM_SHCM_EMPLOYEE_V2

Service Performer to Supplier

I_ServicePerformerToSuplr is a Composite CDS View that provides data about "Service Performer to Supplier" in SAP S/4HANA. It has 2 associations to related views. Part of development package VDM_SHCM_EMPLOYEE_V2.

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartner _BusinessPartnerSupplier _BusinessPartnerSupplier.BusinessPartner = $projection.BusinessPartnerSupplier
[1..1] I_BusinessPartner _ServicePerformer _ServicePerformer.BusinessPartner = $projection.Person

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ISERVPERFTOSUPP view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Service Performer to Supplier view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.supportedCapabilities #CDS_MODELING_ASSOCIATION_TARGET view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartnerSupplier BusinessPartner1
KEY Person BusinessPartner2
KEY EndDate ValidityEndDate
StartDate ValidityStartDate
RelationshipCategory RelationshipCategory
_ServicePerformer _ServicePerformer
_BusinessPartnerSupplier _BusinessPartnerSupplier
DataControllerSet _BusinessPartnerSupplier DataControllerSet
@AbapCatalog.sqlViewName: 'ISERVPERFTOSUPP'
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@AccessControl.authorizationCheck:  #CHECK
@AbapCatalog.compiler.compareFilter:true
@AbapCatalog.preserveKey:true
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Service Performer to Supplier'
@Metadata.ignorePropagatedAnnotations:true
@ObjectModel.supportedCapabilities: #CDS_MODELING_ASSOCIATION_TARGET
@Consumption.dbHints:[ 'USE_HEX_PLAN' ]
define view I_ServicePerformerToSuplr
as select distinct from I_BPRelationship
  association [1..1] to I_BusinessPartner as _BusinessPartnerSupplier on _BusinessPartnerSupplier.BusinessPartner = $projection.BusinessPartnerSupplier
  association [1..1] to I_BusinessPartner as _ServicePerformer        on _ServicePerformer.BusinessPartner = $projection.Person
{
  key BusinessPartner1          as BusinessPartnerSupplier,
  key BusinessPartner2          as Person,
  key ValidityEndDate           as EndDate,
      ValidityStartDate         as StartDate,
      RelationshipCategory      as RelationshipCategory,

      /* Associations */  
        _ServicePerformer,
        _BusinessPartnerSupplier,

//BP Data controller adoption: Added only for DCL check

   @Consumption.hidden:true
   @UI.hidden:true
   _BusinessPartnerSupplier.DataControllerSet     
   
  }
  where  RelationshipCategory = 'BUR025'

/*// as select from WFD_TF_ServicePerformerToSuplr(p_client: $session.client)

 as select from P_WFD_TF_SERVICEPERFORMERSUPLR(p_client: $session.client)
 
  association [1..1] to I_BusinessPartner as _BusinessPartnerSupplier on _BusinessPartnerSupplier.BusinessPartner = $projection.BusinessPartnerSupplier
  association [1..1] to I_BusinessPartner as _ServicePerformer        on _ServicePerformer.BusinessPartner = $projection.Person
{
  key BusinessPartnerSupplier,
  key Person,
  key EndDate,
      StartDate,
      RelationshipCategory,
      
      /* Associations */  
/*        _ServicePerformer,
        _BusinessPartnerSupplier

  }
  /*
/*  
  select from but050
  association [1..1] to I_BusinessPartner as _BusinessPartnerSupplier on _BusinessPartnerSupplier.BusinessPartner = $projection.BusinessPartnerSupplier
  association [1..1] to I_BusinessPartner as _ServicePerformer        on _ServicePerformer.BusinessPartner = $projection.Person
{
  key partner1          as BusinessPartnerSupplier,
  key partner2          as Person,
  key date_to           as EndDate,
      date_from         as StartDate,
      reltyp            as RelationshipCategory,

      /* Associations */  /*
        _ServicePerformer,
        _BusinessPartnerSupplier

  }
  where
    reltyp = 'BUR025'

*/