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.
@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' ]defineview I_ServicePerformerToSuplr
asselectdistinctfrom 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'
/*// asselectfrom WFD_TF_ServicePerformerToSuplr(p_client: $session.client)
asselectfrom 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
}
/*
/*
selectfrom 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'
*/