C_SubscrpnProdSalesCountry

DDL: C_SUBSCRPNPRODSALESCOUNTRY SQL: CSPRDSALESCNTRY Type: view CONSUMPTION

Consumption view - subcription product sales country/region

C_SubscrpnProdSalesCountry is a Consumption CDS View that provides data about "Consumption view - subcription product sales country/region" in SAP S/4HANA. It reads from 1 data source (I_Productsalescountry) and exposes 12 fields with key fields Product, ProductSalesOrg, ProductDistributionChnl, Country, TaxCategory. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Productsalescountry SalesCountry from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_Product _Product $projection.Product = _Product.Product
[1..1] C_SubscrpnProdSlsDelivery _SubscrpnProdSlsDelivery $projection.Product = _SubscrpnProdSlsDelivery.Product and $projection.ProductSalesOrg = _SubscrpnProdSlsDelivery.ProductSalesOrg and $projection.ProductDistributionChnl = _SubscrpnProdSlsDelivery.ProductDistributionChnl
[0..1] I_Taxclass _TaxClassification $projection.TaxClassification = _TaxClassification.TaxClassification and $projection.TaxCategory = _TaxClassification.TaxClassificationCategory
[0..1] I_Taxclasstext _TaxClassText $projection.TaxClassification = _TaxClassText.TaxClassification and $projection.TaxCategory = _TaxClassText.TaxClassificationCategory and _TaxClassText.Language = $session.system_language
[1..1] I_Country _Country $projection.Country = _Country.Country
[0..*] I_CountryText _CountryName $projection.Country = _CountryName.Country

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CSPRDSALESCNTRY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption view - subcription product sales country/region view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY Product I_Productsalescountry Product Product Sold
KEY ProductSalesOrg I_Productsalescountry ProductSalesOrg Sales Org.
KEY ProductDistributionChnl I_Productsalescountry ProductDistributionChnl Distr. Channel
KEY Country I_Productsalescountry Country Venue: Ctry/Reg
KEY TaxCategory I_Productsalescountry TaxCategory Tax Code
TaxClassification I_Productsalescountry TaxClassification Tax class.
_Product _Product
_SubscrpnProdSlsDelivery _SubscrpnProdSlsDelivery
_TaxClassification _TaxClassification
_TaxClassText _TaxClassText
_Country _Country
_CountryName _CountryName

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_SubscrpnProdSalesCountry.
-- 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: CSPRDSALESCNTRY

CREATE VIEW C_SubscrpnProdSalesCountry AS
SELECT
  SalesCountry.Product AS Product,
  SalesCountry.ProductSalesOrg AS ProductSalesOrg,
  SalesCountry.ProductDistributionChnl AS ProductDistributionChnl,
  SalesCountry.Country AS Country,
  SalesCountry.TaxCategory AS TaxCategory,
  SalesCountry.TaxClassification AS TaxClassification
FROM I_Productsalescountry AS SalesCountry
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN C_SubscrpnProdSlsDelivery AS _SubscrpnProdSlsDelivery ON Product = _SubscrpnProdSlsDelivery.Product AND ProductSalesOrg = _SubscrpnProdSlsDelivery.ProductSalesOrg AND ProductDistributionChnl = _SubscrpnProdSlsDelivery.ProductDistributionChnl  -- association [1..1]
LEFT OUTER JOIN I_Taxclass AS _TaxClassification ON TaxClassification = _TaxClassification.TaxClassification AND TaxCategory = _TaxClassification.TaxClassificationCategory  -- association [0..1]
LEFT OUTER JOIN I_Taxclasstext AS _TaxClassText ON TaxClassification = _TaxClassText.TaxClassification AND TaxCategory = _TaxClassText.TaxClassificationCategory AND _TaxClassText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [1..1]
LEFT OUTER JOIN I_CountryText AS _CountryName ON Country = _CountryName.Country  -- association [0..*]
;