R_BPRelationshipCurrent

DDL: R_BPRELATIONSHIPCURRENT Type: view_entity COMPOSITE

BP Relationship Current (valid today)

R_BPRelationshipCurrent is a Composite CDS View that provides data about "BP Relationship Current (valid today)" in SAP S/4HANA. It reads from 1 data source (I_BPRelationship) and exposes 8 fields with key fields RelationshipNumber, BusinessPartnerCompany, BusinessPartnerPerson, ValidityEndDate.

Data Sources (1)

SourceAliasJoin Type
I_BPRelationship I_BPRelationship from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label BP Relationship Current (valid today) view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY RelationshipNumber RelationshipNumber BP Rel. Number
KEY BusinessPartnerCompany BusinessPartnerCompany Busn. Partner
KEY BusinessPartnerPerson BusinessPartnerPerson Busn. Partner
KEY ValidityEndDate ValidityEndDate ValidTo
ValidityStartDate ValidityStartDate Validity Start Date
RelationshipCategory RelationshipCategory Relationsh.Cat.
_BusinessPartnerCompany _BusinessPartnerCompany
_BusinessPartnerPerson _BusinessPartnerPerson

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 R_BPRelationshipCurrent.
-- 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 R_BPRelationshipCurrent AS
SELECT
  RelationshipNumber,
  BusinessPartnerCompany,
  BusinessPartnerPerson,
  ValidityEndDate,
  ValidityStartDate,
  RelationshipCategory
FROM I_BPRelationship
;