R_TotalNumberOfBPRelationship

DDL: R_TOTALNUMBEROFBPRELATIONSHIP Type: view_entity COMPOSITE

Total number of BP Relationship

R_TotalNumberOfBPRelationship is a Composite CDS View that provides data about "Total number of BP Relationship" in SAP S/4HANA. It reads from 1 data source (I_BPRelationship) and exposes 3 fields.

Data Sources (1)

SourceAliasJoin Type
I_BPRelationship I_BPRelationship from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Total number of BP Relationship 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 (3)

KeyFieldSource TableSource FieldDescription
BusinessPartnerCompany BusinessPartnerCompany Busn. Partner
RelationshipCategory RelationshipCategory Relationsh.Cat.
TotalNrOfRelationShipLatest

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_TotalNumberOfBPRelationship.
-- 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_TotalNumberOfBPRelationship AS
SELECT
  BusinessPartnerCompany,
  RelationshipCategory,
  count( * ) AS TotalNrOfRelationShipLatest
FROM I_BPRelationship
;