v_dpr_bp_entity_view

DDL: V_DPR_BP_ENTITY SQL: V_DPR_BP_ENTITY Type: view

Generic entities for business partner guid

v_dpr_bp_entity_view is a CDS View that provides data about "Generic entities for business partner guid" in SAP S/4HANA. It reads from 4 data sources (cgpl_hierarchy, dpr_bupa_link, dpr_entity_link, dpr_entity_link) and exposes 13 fields.

Data Sources (4)

SourceAliasJoin Type
cgpl_hierarchy ch inner
dpr_bupa_link dp from
dpr_entity_link el inner
dpr_entity_link el inner

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName V_DPR_BP_ENTITY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
EndUserText.label Generic entities for business partner guid view

Fields (13)

KeyFieldSource TableSource FieldDescription
entity_guid dpr_entity_link entity_guid
responsible dpr_entity_link responsible
bupa_guid dpr_bupa_link bupa_guid
entity_type dpr_entity_link entity_type
client dpr_entity_link client
planstart dpr_bupa_link planstart
entity_guid dpr_entity_link entity_guid
responsible dpr_entity_link responsible
bupa_guid dpr_bupa_link bupa_guid
entity_type dpr_entity_link entity_type
client dpr_entity_link client
planstart dpr_bupa_link planstart
planfinish dpr_bupa_link planfinish
@AbapCatalog.sqlViewName: 'V_DPR_BP_ENTITY'

@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MASTER

@EndUserText.label: 'Generic entities for business partner guid'
define view v_dpr_bp_entity_view as
  
  --Abstract Role logic
  select from dpr_bupa_link   as dp
   inner join cgpl_hierarchy  as ch on dp.participant_guid = ch.guid
   inner join dpr_entity_link as el on el.participant_guid = ch.up
   {
    ch.up as participant_guid,
    el.entity_guid,
    el.responsible,
    dp.bupa_guid,
    el.entity_type,
    el.client,
    dp.planstart,
    dp.planfinish
   }
  
  union
  --Concrete Role logic
  select from dpr_bupa_link   as dp
   inner join dpr_entity_link as el on el.participant_guid = dp.participant_guid
   {
    el.participant_guid as participant_guid,
    el.entity_guid,
    el.responsible,
    dp.bupa_guid,
    el.entity_type,
    el.client,
    dp.planstart,
    dp.planfinish
   }  
  
 /*+[internal] {
"BASEINFO":
{
"FROM":
[
"CGPL_HIERARCHY",
"DPR_BUPA_LINK",
"DPR_ENTITY_LINK"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/