C_BusPartRelationshipTP
Projection view for BUPA relationship
C_BusPartRelationshipTP is a Consumption CDS View that provides data about "Projection view for BUPA relationship" in SAP S/4HANA. It reads from 1 data source (I_BusPartRelationshipTP) and exposes 31 fields with key fields BusinessPartner1, BusinessPartner2, ValidityEndDate, RelationshipCategory, BPRelshpCatIsInFwdDirection.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BusPartRelationshipTP | I_BusPartRelationshipTP | projection |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Projection view for BUPA relationship | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner1 | BusinessPartner1 | ||
| KEY | BusinessPartner2 | BusinessPartner2 | ||
| KEY | ValidityEndDate | ValidityEndDate | ||
| KEY | RelationshipCategory | RelationshipCategory | ||
| KEY | BPRelshpCatIsInFwdDirection | BPRelshpCatIsInFwdDirection | ||
| BusinessPartner1ForEdit | BusinessPartner1ForEdit | |||
| BusinessPartner2ForEdit | BusinessPartner2ForEdit | |||
| RelationshipCategoryForEdit | RelationshipCategoryForEdit | |||
| RelationshipNumber | RelationshipNumber | |||
| ValidityStartDate | ValidityStartDate | |||
| ValidityEndDateForEdit | ValidityEndDateForEdit | |||
| IsStandardRelationship | IsStandardRelationship | |||
| BPRelationshipType | BPRelationshipType | |||
| BusPartRelshpIsRoleDefinition | BusPartRelshpIsRoleDefinition | |||
| BusinessPartner1Name | _BusinessPartner1 | BusinessPartnerName | ||
| BusinessPartner2Name | _BusinessPartner2 | BusinessPartnerName | ||
| BusPartRelshpCatDescription | _RelationshipCategoryText | BusPartRelshpCatDescription | ||
| OrganizationBPName1 | _BusinessPartner1 | OrganizationBPName1 | ||
| FirstName | _BusinessPartner2 | FirstName | ||
| LastName | _BusinessPartner2 | LastName | ||
| CreatedByUser | CreatedByUser | |||
| CreationDate | CreationDate | |||
| CreationTime | CreationTime | |||
| LastChangedByUser | LastChangedByUser | |||
| LastChangeDate | LastChangeDate | |||
| LastChangeTime | LastChangeTime | |||
| BPRelshpCoIntrstDataIsHidden | BPRelshpCoIntrstDataIsHidden | |||
| BPRelshpCntctPersnDataIsHidden | BPRelshpCntctPersnDataIsHidden | |||
| BPRelshpCatIsInFwdDirForEdit | BPRelshpCatIsInFwdDirForEdit | |||
| _BusinessPartner1 | _BusinessPartner1 | |||
| _BusinessPartner2 | _BusinessPartner2 |
@EndUserText.label: 'Projection view for BUPA relationship'
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.serviceQuality: #A
@Metadata.allowExtensions: true
@Search.searchable: true
@VDM.viewType: #CONSUMPTION
@VDM.usage.type: [ #TRANSACTIONAL_PROCESSING_SERVICE ]
define root view entity C_BusPartRelationshipTP
provider contract transactional_query
as projection on I_BusPartRelationshipTP
{
// key BPDrftUUID,
// key BPRelshpUUID,
@ObjectModel.text.element: ['BusinessPartner1Name']
key BusinessPartner1,
@ObjectModel.text.element: ['BusinessPartner2Name']
key BusinessPartner2,
key ValidityEndDate,
@ObjectModel.text.element: ['BusPartRelshpCatDescription']
key RelationshipCategory,
key BPRelshpCatIsInFwdDirection,
@ObjectModel.text.element: ['BusinessPartner1Name']
BusinessPartner1ForEdit,
@ObjectModel.text.element: ['BusinessPartner2Name']
BusinessPartner2ForEdit,
@ObjectModel.text.element: ['BusPartRelshpCatDescription']
RelationshipCategoryForEdit,
RelationshipNumber,
ValidityStartDate,
ValidityEndDateForEdit,
IsStandardRelationship,
BPRelationshipType,
BusPartRelshpIsRoleDefinition,
// BPRelshpCatIsInFwdDirection,
//Texts
_BusinessPartner1.BusinessPartnerName as BusinessPartner1Name,
_BusinessPartner2.BusinessPartnerName as BusinessPartner2Name,
_RelationshipCategoryText.BusPartRelshpCatDescription,// : localized,
_BusinessPartner1.OrganizationBPName1,
_BusinessPartner2.FirstName,
_BusinessPartner2.LastName,
CreatedByUser,
CreationDate,
CreationTime,
LastChangedByUser,
LastChangeDate,
LastChangeTime,
BPRelshpCoIntrstDataIsHidden,
BPRelshpCntctPersnDataIsHidden,
BPRelshpCatIsInFwdDirForEdit,
_BusinessPartner1,
_BusinessPartner2,
// _BPDataControllerUsage1,
// _BPDataControllerUsage2,
_BPRelshpCompanyInterest : redirected to composition child C_BPRelshpCompanyInterestTP,
_BPRelshpContactPerson : redirected to composition child C_BPRelshpContactPersonTP,
_BPRelshpCntctPersnAddress : redirected to composition child C_BPRelshpCntctPersnAddressTP
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSPARTNER",
"I_BUSPARTRELATIONSHIPTP",
"I_BUSPARTRELSHPCATEGORYDESC"
],
"ASSOCIATED":
[
"C_BPRELSHPCNTCTPERSNADDRESSTP",
"C_BPRELSHPCOMPANYINTERESTTP",
"C_BPRELSHPCONTACTPERSONTP",
"I_BPRELSHPCNTCTPERSNADDRESSTP",
"I_BPRELSHPCOMPANYINTERESTTP",
"I_BPRELSHPCONTACTPERSONTP",
"I_BUSINESSPARTNER"
],
"BASE":
[
"I_BUSPARTRELATIONSHIPTP"
],
"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