C_BusinessPartnerSupplyRegion

DDL: C_BUSINESSPARTNERSUPPLYREGION SQL: CBPSUPPLREGION Type: view CONSUMPTION Package: VDM_MD_BP

Consumption for Supply Region

C_BusinessPartnerSupplyRegion is a Consumption CDS View that provides data about "Consumption for Supply Region" in SAP S/4HANA. It reads from 1 data source (I_BPSupplyRegionTP) and exposes 17 fields with key fields BusinessPartner, PurchasingOrganization, Supplier, CountryCode, SupplyRegion. It has 5 associations to related views. Part of development package VDM_MD_BP.

Data Sources (1)

SourceAliasJoin Type
I_BPSupplyRegionTP I_BPSupplyRegionTP from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] C_BusinessPartnerSupplier _BusinessPartnerSupplier $projection.BusinessPartner = _BusinessPartnerSupplier.BusinessPartner
[1..1] C_BusinessPartnerPurgOrg _BusinessPartnerPurgOrg $projection.BusinessPartner = _BusinessPartnerPurgOrg.BusinessPartner and $projection.PurchasingOrganization = _BusinessPartnerPurgOrg.PurchasingOrganization
[0..*] C_Countrytextvhtemp _CountryText $projection.CountryCode = _CountryText.Country
[1..1] I_TransportationZoneText _SupplyRegionText $projection.SupplyRegionForEdit = _SupplyRegionText.TransportZone and $projection.CountryCodeForEdit = _SupplyRegionText.CountryCode and _SupplyRegionText.Language = $session.system_language

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CBPSUPPLREGION view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Consumption for Supply Region view
Metadata.allowExtensions true view
ObjectModel.type #CONSUMPTION view
ObjectModel.writeEnabled true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
UI.headerInfo.typeName Supply Region view
UI.headerInfo.typeNamePlural Supply Region view
Search.searchable true view
VDM.viewType #CONSUMPTION view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner BusinessPartner Issuing Authority
KEY PurchasingOrganization PurchasingOrganization Purchasing Organization
KEY Supplier Supplier Supplier
KEY CountryCode CountryCode Country/Reg.
KEY SupplyRegion SupplyRegion
BusinessPartnerForEdit BusinessPartnerForEdit Busn. Partner
PurchasingOrganizationForEdit PurchasingOrganizationForEdit Purchasing Organization
SupplierForEdit SupplierForEdit Supplier
CountryCodeForEdit CountryCodeForEdit Country/Reg.
SupplyRegionForEdit SupplyRegionForEdit
_SupplierToBusinessPartner _SupplierToBusinessPartner
_CountryText _CountryText
_SupplyRegionText _SupplyRegionText
TransportZoneDescription _SupplyRegionText TransportZoneDescription
_BusinessPartnerSupplier _BusinessPartnerSupplier
_BusinessPartner _BusinessPartner
_BusinessPartnerPurgOrg _BusinessPartnerPurgOrg

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_BusinessPartnerSupplyRegion.
-- 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.
-- SQL view name: CBPSUPPLREGION

CREATE VIEW C_BusinessPartnerSupplyRegion AS
SELECT
  BusinessPartner,
  PurchasingOrganization,
  Supplier,
  CountryCode,
  SupplyRegion,
  BusinessPartnerForEdit,
  PurchasingOrganizationForEdit,
  SupplierForEdit,
  CountryCodeForEdit,
  SupplyRegionForEdit,
  _SupplyRegionText.TransportZoneDescription AS TransportZoneDescription
FROM I_BPSupplyRegionTP
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerSupplier AS _BusinessPartnerSupplier ON BusinessPartner = _BusinessPartnerSupplier.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerPurgOrg AS _BusinessPartnerPurgOrg ON BusinessPartner = _BusinessPartnerPurgOrg.BusinessPartner AND PurchasingOrganization = _BusinessPartnerPurgOrg.PurchasingOrganization  -- association [1..1]
LEFT OUTER JOIN C_Countrytextvhtemp AS _CountryText ON CountryCode = _CountryText.Country  -- association [0..*]
LEFT OUTER JOIN I_TransportationZoneText AS _SupplyRegionText ON SupplyRegionForEdit = _SupplyRegionText.TransportZone AND CountryCodeForEdit = _SupplyRegionText.CountryCode AND _SupplyRegionText.Language = $session.system_language  -- association [1..1]
;