I_BPCompanyRelationship

DDL: I_BPCOMPANYRELATIONSHIP Type: view BASIC

Company Relationship of BP

I_BPCompanyRelationship (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

DE_BPOrgRelationshipCode · Cross Applications

I_BPCompanyRelationship is a Basic CDS View (Dimension) that provides data about "Company Relationship of BP" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field BPCompanyRelationship. It has 1 association to related views.

SAP Help Documentation

CategoryConfiguration Data
Data CategoryDimension
Purpose
This CDS view provides supported values for BPCompanyRelationship . The following values are available: Value Meaning 1 Affiliated Company 2 Shareholding 3 Other 4 Holding 5 Company Involved in reporting Party 6 Shareholding of Reporting Party in a Company 7 Affiliated Company Through Same Shareholders To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description BPCompanyRelationship Business Partner Organization Relationship

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentFS-BP
CapabilitiesAnalytical Dimension, Data Source in SQL Select, Data Source for Data Extraction
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description This CDS view provides supported values for BPCompanyRelationship. The following values are available: <p>Value</p> <p>Meaning</p> <p>1</p> <p>Affiliated Company</p> <p>2</p> <p>Shareholding</p> <p>3</p> <p>Other</p> <p>4</p> <p>Holding</p> <p>5</p> <p>Company Involved in reporting Party</p> <p>6</p> <p>Shareholding of Reporting Party in a Company</p> <p>7</p> <p>Affiliated Company Through Same Shareholders</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_BPCompanyRelationshipText _Text $projection.BPCompanyRelationship = _Text.BPCompanyRelationship

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IBPCORELSHP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #NOT_ALLOWED view
ObjectModel.representativeKey BPCompanyRelationship view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.sapObjectNodeType.name DE_BPOrgRelationshipCode view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Company Relationship of BP view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY BPCompanyRelationship Organization Relationship
_Text _Text

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 I_BPCompanyRelationship.
-- 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 I_BPCompanyRelationship AS
SELECT
  cast ( dd07l.domvalue_l as bp_comp_re ) AS BPCompanyRelationship
FROM dd07l
LEFT OUTER JOIN I_BPCompanyRelationshipText AS _Text ON BPCompanyRelationship = _Text.BPCompanyRelationship  -- association [0..*]
;