I_BusPartRelationshipTmpTP
BP Relationship Dummy Entity
I_BusPartRelationshipTmpTP is a Transactional CDS View that provides data about "BP Relationship Dummy Entity" in SAP S/4HANA. It reads from 1 data source (I_BusPartRelationshipTP) and exposes 14 fields with key fields BusinessPartner1, BusinessPartner2, ValidityEndDate, RelationshipCategory, BPRelshpCatIsInFwdDirection. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BusPartRelationshipTP | BusinessPartnerRelationshipTmp | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_BusPartRelationshipTP | _BusinessPartnerRelationship2 | $projection.BusinessPartner1 = _BusinessPartnerRelationship2.BusinessPartner1 and $projection.BusinessPartner2 = _BusinessPartnerRelationship2.BusinessPartner2 and $projection.ValidityEndDate = _BusinessPartnerRelationship2.ValidityEndDate and $projection.RelationshipCategory = _BusinessPartnerRelationship2.RelationshipCategory and $projection.BPRelshpCatIsInFwdDirection = _BusinessPartnerRelationship2.BPRelshpCatIsInFwdDirection |
| [0..*] | I_BPRelshpCntctPersnAddressTP | _BPRelshpCntctPersnAddress | $projection.BusinessPartner1 = _BPRelshpCntctPersnAddress.BusinessPartner1 and $projection.BusinessPartner2 = _BPRelshpCntctPersnAddress.BusinessPartner2 and $projection.ValidityEndDate = _BPRelshpCntctPersnAddress.ValidityEndDate and $projection.RelationshipCategory = _BPRelshpCntctPersnAddress.RelationshipCategory and $projection.BPRelshpCatIsInFwdDirection = _BPRelshpCntctPersnAddress.BPRelshpCatIsInFwdDirection |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | BP Relationship Dummy Entity | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Search.searchable | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner1 | BusinessPartner1 | ||
| KEY | BusinessPartner2 | BusinessPartner2 | ||
| KEY | ValidityEndDate | |||
| KEY | RelationshipCategory | RelationshipCategory | ||
| KEY | BPRelshpCatIsInFwdDirection | BPRelshpCatIsInFwdDirection | ||
| BusinessPartner2ForEdit | BusinessPartner2 | |||
| RelationshipCategoryForEdit | RelationshipCategory | |||
| ValidityStartDate | ValidityStartDate | |||
| ValidityEndDateForEdit | ValidityEndDateForEdit | |||
| BPRelshpCatIsInFwdDirForEdit | BPRelshpCatIsInFwdDirection | |||
| IsStandardRelationship | IsStandardRelationship | |||
| _BusinessPartner | _BusinessPartner | |||
| _BusinessPartnerRelationship2 | _BusinessPartnerRelationship2 | |||
| _BPRelshpCntctPersnAddress | _BPRelshpCntctPersnAddress |
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'BP Relationship Dummy Entity'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@Search.searchable: true
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type:#SAP_INTERNAL_API
define view entity I_BusPartRelationshipTmpTP
as select from I_BusPartRelationshipTP as BusinessPartnerRelationshipTmp
association to parent I_BusinessPartnerTP_2 as _BusinessPartner on $projection.BusinessPartner1 = _BusinessPartner.BusinessPartner
// and $projection.BPDrftUUID = _BusinessPartner.BPDrftUUID
association [1] to I_BusPartRelationshipTP as _BusinessPartnerRelationship2 on
// $projection.BPDrftUUID = _BusinessPartnerRelationship2.BPDrftUUID
// and $projection.BPRelshpUUID = _BusinessPartnerRelationship2.BPRelshpUUID
$projection.BusinessPartner1 = _BusinessPartnerRelationship2.BusinessPartner1
and $projection.BusinessPartner2 = _BusinessPartnerRelationship2.BusinessPartner2
and $projection.ValidityEndDate = _BusinessPartnerRelationship2.ValidityEndDate
and $projection.RelationshipCategory = _BusinessPartnerRelationship2.RelationshipCategory
and $projection.BPRelshpCatIsInFwdDirection = _BusinessPartnerRelationship2.BPRelshpCatIsInFwdDirection
association [0..*] to I_BPRelshpCntctPersnAddressTP as _BPRelshpCntctPersnAddress on
// $projection.BPDrftUUID = _BPRelshpCntctPersnAddress.BPDrftUUID
// and $projection.BPRelshpUUID = _BPRelshpCntctPersnAddress.BPRelshpUUID
$projection.BusinessPartner1 = _BPRelshpCntctPersnAddress.BusinessPartner1
and $projection.BusinessPartner2 = _BPRelshpCntctPersnAddress.BusinessPartner2
and $projection.ValidityEndDate = _BPRelshpCntctPersnAddress.ValidityEndDate
and $projection.RelationshipCategory = _BPRelshpCntctPersnAddress.RelationshipCategory
and $projection.BPRelshpCatIsInFwdDirection = _BPRelshpCntctPersnAddress.BPRelshpCatIsInFwdDirection
{
// key cast ( hextobin('00000000000000000000000000000000') as sysuuid_x ) as BPDrftUUID,
// key cast ( hextobin('00000000000000000000000000000000') as sysuuid_x ) as BPRelshpUUID,
key BusinessPartner1,
key BusinessPartner2,
key cast( ValidityEndDate as abap.char( 17 )) as ValidityEndDate,
key RelationshipCategory,
key BPRelshpCatIsInFwdDirection,
@ObjectModel.editableFieldFor: 'BusinessPartner2'
BusinessPartner2 as BusinessPartner2ForEdit,
@ObjectModel.editableFieldFor: 'RelationshipCategory'
RelationshipCategory as RelationshipCategoryForEdit,
ValidityStartDate,
@ObjectModel.editableFieldFor: 'ValidityEndDate'
ValidityEndDateForEdit,
@ObjectModel.editableFieldFor: 'BPRelshpCatIsInFwdDirection'
BPRelshpCatIsInFwdDirection as BPRelshpCatIsInFwdDirForEdit,
IsStandardRelationship,
_BusinessPartner,
_BusinessPartnerRelationship2,
_BPRelshpCntctPersnAddress
}
where ( ( $projection.relationshipcategory = 'BUR001' and BPRelshpCatIsInFwdDirection = ' ' ) or
$projection.relationshipcategory != 'BUR001' )
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSPARTRELATIONSHIPTP"
],
"ASSOCIATED":
[
"I_BPRELSHPCNTCTPERSNADDRESSTP",
"I_BUSINESSPARTNERTP_2",
"I_BUSPARTRELATIONSHIPTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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