v_dpr_bp_entity_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)
| Source | Alias | Join Type |
|---|---|---|
| cgpl_hierarchy | ch | inner |
| dpr_bupa_link | dp | from |
| dpr_entity_link | el | inner |
| dpr_entity_link | el | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA