C_SubscrpnProdSlsDelivery

DDL: C_SUBSCRPNPRODSLSDELIVERY SQL: CSPRDSALESDELIV Type: view CONSUMPTION

Consumption view for subription product sales delivery

C_SubscrpnProdSlsDelivery is a Consumption CDS View that provides data about "Consumption view for subription product sales delivery" in SAP S/4HANA. It reads from 1 data source (I_SubscrpnProdSlsDelivery) and exposes 24 fields with key fields Product, ProductSalesOrg, ProductDistributionChnl. It has 10 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SubscrpnProdSlsDelivery SubscrpnProdSlsDelivery from

Associations (10)

CardinalityTargetAliasCondition
[1..1] I_Product _Product $projection.Product = _Product.Product
[1..1] I_SalesOrganization _SalesOrganization $projection.ProductSalesOrg = _SalesOrganization.SalesOrganization
[0..1] I_SalesOrganizationText _SalesOrganizationText $projection.ProductSalesOrg = _SalesOrganizationText.SalesOrganization and _SalesOrganizationText.Language = $session.system_language
[1..1] I_DistributionChannel _DistributionChannel $projection.ProductDistributionChnl = _DistributionChannel.DistributionChannel
[0..1] I_DistributionChannelText _DistributionChannelName $projection.ProductDistributionChnl = _DistributionChannelName.DistributionChannel and _DistributionChannelName.Language = $session.system_language
[0..1] I_ItemCategoryGroup _ItemCategoryGroup $projection.ItemCategoryGroup = _ItemCategoryGroup.ItemCategoryGroup
[0..1] I_ItemCategoryGroupText _ItemCategoryGroupText $projection.ItemCategoryGroup = _ItemCategoryGroupText.ItemCategoryGroup and _ItemCategoryGroupText.Language = $session.system_language
[0..1] I_SubscrpnContrDurnUnitVH _SubscrpnContrDurnUnitVH $projection.SubscrpnContrDurationUnit = _SubscrpnContrDurnUnitVH.SubscrpnContrDurationUnit
[0..1] I_SubscrpnContrDurnUnitVH _SubscrpnContrExtnDurnUnitVH $projection.SubscrpnContrExtnDurnUnit = _SubscrpnContrExtnDurnUnitVH.SubscrpnContrDurationUnit
[1..*] C_SubscrpnProdSalesCountry _SubscrpnProdSalesCountry $projection.Product = _SubscrpnProdSalesCountry.Product and $projection.ProductSalesOrg = _SubscrpnProdSalesCountry.ProductSalesOrg and $projection.ProductDistributionChnl = _SubscrpnProdSalesCountry.ProductDistributionChnl

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CSPRDSALESDELIV view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption view for subription product sales delivery view
VDM.viewType #CONSUMPTION 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
Search.searchable true view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY Product I_SubscrpnProdSlsDelivery Product Product Sold
KEY ProductSalesOrg I_SubscrpnProdSlsDelivery ProductSalesOrg Sales Org.
KEY ProductDistributionChnl I_SubscrpnProdSlsDelivery ProductDistributionChnl Distr. Channel
ItemCategoryGroup I_SubscrpnProdSlsDelivery ItemCategoryGroup Item Cat. Group
IsMarkedForDeletion I_SubscrpnProdSlsDelivery IsMarkedForDeletion Purch.org. data
SubscrpnContrDfltDuration I_SubscrpnProdSlsDelivery SubscrpnContrDfltDuration Def Contract Term
SubscrpnContrAltvDuration1 I_SubscrpnProdSlsDelivery SubscrpnContrAltvDuration1 Contract Term 1
SubscrpnContrAltvDuration2 I_SubscrpnProdSlsDelivery SubscrpnContrAltvDuration2 Contract Term 2
SubscrpnContrDurationUnit I_SubscrpnProdSlsDelivery SubscrpnContrDurationUnit Unit Contract Term
SubscrpnContrDfltExtnDurn I_SubscrpnProdSlsDelivery SubscrpnContrDfltExtnDurn Def Extension Period
SubscrpnContrAltvExtnDurn1 I_SubscrpnProdSlsDelivery SubscrpnContrAltvExtnDurn1 Extension Period 1
SubscrpnContrAltvExtnDurn2 I_SubscrpnProdSlsDelivery SubscrpnContrAltvExtnDurn2 Extension Period 2
SubscrpnContrExtnDurnUnit I_SubscrpnProdSlsDelivery SubscrpnContrExtnDurnUnit Unit for Extension
SalesOrganizationName _SalesOrganizationText SalesOrganizationName Sales Organization Description
_Product _Product
_SalesOrganization _SalesOrganization
_SalesOrganizationText _SalesOrganizationText
_DistributionChannel _DistributionChannel
_DistributionChannelName _DistributionChannelName
_ItemCategoryGroup _ItemCategoryGroup
_ItemCategoryGroupText _ItemCategoryGroupText
_SubscrpnContrDurnUnitVH _SubscrpnContrDurnUnitVH
_SubscrpnContrExtnDurnUnitVH _SubscrpnContrExtnDurnUnitVH
_SubscrpnProdSalesCountry _SubscrpnProdSalesCountry

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_SubscrpnProdSlsDelivery.
-- 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: CSPRDSALESDELIV

CREATE VIEW C_SubscrpnProdSlsDelivery AS
SELECT
  SubscrpnProdSlsDelivery.Product AS Product,
  SubscrpnProdSlsDelivery.ProductSalesOrg AS ProductSalesOrg,
  SubscrpnProdSlsDelivery.ProductDistributionChnl AS ProductDistributionChnl,
  SubscrpnProdSlsDelivery.ItemCategoryGroup AS ItemCategoryGroup,
  SubscrpnProdSlsDelivery.IsMarkedForDeletion AS IsMarkedForDeletion,
  SubscrpnProdSlsDelivery.SubscrpnContrDfltDuration AS SubscrpnContrDfltDuration,
  SubscrpnProdSlsDelivery.SubscrpnContrAltvDuration1 AS SubscrpnContrAltvDuration1,
  SubscrpnProdSlsDelivery.SubscrpnContrAltvDuration2 AS SubscrpnContrAltvDuration2,
  SubscrpnProdSlsDelivery.SubscrpnContrDurationUnit AS SubscrpnContrDurationUnit,
  SubscrpnProdSlsDelivery.SubscrpnContrDfltExtnDurn AS SubscrpnContrDfltExtnDurn,
  SubscrpnProdSlsDelivery.SubscrpnContrAltvExtnDurn1 AS SubscrpnContrAltvExtnDurn1,
  SubscrpnProdSlsDelivery.SubscrpnContrAltvExtnDurn2 AS SubscrpnContrAltvExtnDurn2,
  SubscrpnProdSlsDelivery.SubscrpnContrExtnDurnUnit AS SubscrpnContrExtnDurnUnit,
  _SalesOrganizationText.SalesOrganizationName AS SalesOrganizationName
FROM I_SubscrpnProdSlsDelivery AS SubscrpnProdSlsDelivery
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON ProductSalesOrg = _SalesOrganization.SalesOrganization  -- association [1..1]
LEFT OUTER JOIN I_SalesOrganizationText AS _SalesOrganizationText ON ProductSalesOrg = _SalesOrganizationText.SalesOrganization AND _SalesOrganizationText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON ProductDistributionChnl = _DistributionChannel.DistributionChannel  -- association [1..1]
LEFT OUTER JOIN I_DistributionChannelText AS _DistributionChannelName ON ProductDistributionChnl = _DistributionChannelName.DistributionChannel AND _DistributionChannelName.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ItemCategoryGroup AS _ItemCategoryGroup ON ItemCategoryGroup = _ItemCategoryGroup.ItemCategoryGroup  -- association [0..1]
LEFT OUTER JOIN I_ItemCategoryGroupText AS _ItemCategoryGroupText ON ItemCategoryGroup = _ItemCategoryGroupText.ItemCategoryGroup AND _ItemCategoryGroupText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SubscrpnContrDurnUnitVH AS _SubscrpnContrDurnUnitVH ON SubscrpnContrDurationUnit = _SubscrpnContrDurnUnitVH.SubscrpnContrDurationUnit  -- association [0..1]
LEFT OUTER JOIN I_SubscrpnContrDurnUnitVH AS _SubscrpnContrExtnDurnUnitVH ON SubscrpnContrExtnDurnUnit = _SubscrpnContrExtnDurnUnitVH.SubscrpnContrDurationUnit  -- association [0..1]
LEFT OUTER JOIN C_SubscrpnProdSalesCountry AS _SubscrpnProdSalesCountry ON Product = _SubscrpnProdSalesCountry.Product AND ProductSalesOrg = _SubscrpnProdSalesCountry.ProductSalesOrg AND ProductDistributionChnl = _SubscrpnProdSalesCountry.ProductDistributionChnl  -- association [1..*]
;