C_BusPartRelationshipTP_2

DDL: C_BUSPARTRELATIONSHIPTP_2 Type: view_entity CONSUMPTION

Projection view for BUPA relationship

C_BusPartRelationshipTP_2 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. It is exposed through 1 OData service (C_BUSINESSPARTNERTP_2_SRV).

Data Sources (1)

SourceAliasJoin Type
I_BusPartRelationshipTP I_BusPartRelationshipTP projection

Annotations (6)

NameValueLevelField
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

OData Services (1)

ServiceBindingVersionContractRelease
C_BUSINESSPARTNERTP_2_SRV C_BUSINESSPARTNERTP_2_SRV V2 C1 NOT_RELEASED

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner1 BusinessPartner1 Partner
KEY BusinessPartner2 BusinessPartner2 Partner
KEY ValidityEndDate ValidityEndDate ValidTo
KEY RelationshipCategory RelationshipCategory Relationsh.Cat.
KEY BPRelshpCatIsInFwdDirection BPRelshpCatIsInFwdDirection Boolean Variable (X = True, - = False, Space = Unknown)
BusinessPartner1ForEdit BusinessPartner1ForEdit Partner
BusinessPartner2ForEdit BusinessPartner2ForEdit Busn. Partner
RelationshipCategoryForEdit RelationshipCategoryForEdit Relationsh.Cat.
RelationshipNumber RelationshipNumber BP Rel. Number
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDateForEdit ValidityEndDateForEdit Valid To
IsStandardRelationship IsStandardRelationship Standard
BPRelationshipType BPRelationshipType
BusPartRelshpIsRoleDefinition BusPartRelshpIsRoleDefinition
BusinessPartner1Name _BusinessPartner1 BusinessPartnerName Extracted Customer Name
BusinessPartner2Name _BusinessPartner2 BusinessPartnerName Extracted Customer Name
BusPartRelshpCatDescription _RelationshipCategoryText BusPartRelshpCatDescription
OrganizationBPName1 _BusinessPartner1 OrganizationBPName1 Name 1
FirstName _BusinessPartner2 FirstName First Name
LastName _BusinessPartner2 LastName Last Name
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangeTime LastChangeTime Time changed
BPRelshpCoIntrstDataIsHidden BPRelshpCoIntrstDataIsHidden
BPRelshpCntctPersnDataIsHidden BPRelshpCntctPersnDataIsHidden
BPRelshpCatIsInFwdDirForEdit BPRelshpCatIsInFwdDirForEdit Boolean Variable (X = True, - = False, Space = Unknown)
_BusinessPartner1 _BusinessPartner1
_BusinessPartner2 _BusinessPartner2

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_BusPartRelationshipTP_2.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW C_BusPartRelationshipTP_2 AS
SELECT
  BusinessPartner1,
  BusinessPartner2,
  ValidityEndDate,
  RelationshipCategory,
  BPRelshpCatIsInFwdDirection,
  BusinessPartner1ForEdit,
  BusinessPartner2ForEdit,
  RelationshipCategoryForEdit,
  RelationshipNumber,
  ValidityStartDate,
  ValidityEndDateForEdit,
  IsStandardRelationship,
  BPRelationshipType,
  BusPartRelshpIsRoleDefinition,
  _BusinessPartner1.BusinessPartnerName AS BusinessPartner1Name,
  _BusinessPartner2.BusinessPartnerName AS BusinessPartner2Name,
  _RelationshipCategoryText.BusPartRelshpCatDescription AS BusPartRelshpCatDescription,
  _BusinessPartner1.OrganizationBPName1 AS OrganizationBPName1,
  _BusinessPartner2.FirstName AS FirstName,
  _BusinessPartner2.LastName AS LastName,
  CreatedByUser,
  CreationDate,
  CreationTime,
  LastChangedByUser,
  LastChangeDate,
  LastChangeTime,
  BPRelshpCoIntrstDataIsHidden,
  BPRelshpCntctPersnDataIsHidden,
  BPRelshpCatIsInFwdDirForEdit
FROM I_BusPartRelationshipTP
;