A_ClfnProductSalesDelivery

DDL: A_CLFNPRODUCTSALESDELIVERY SQL: ACLFNPRODSLSDELI Type: view COMPOSITE Package: NGC_EXT_API_VDM

Sales Organization Data

A_ClfnProductSalesDelivery is a Composite CDS View that provides data about "Sales Organization Data" in SAP S/4HANA. It reads from 1 data source (I_ProductSalesDelivery) and exposes 26 fields with key fields Product, ProductSalesOrg, ProductDistributionChnl. It has 4 associations to related views. Part of development package NGC_EXT_API_VDM.

Data Sources (1)

SourceAliasJoin Type
I_ProductSalesDelivery SalesDelivery from

Associations (4)

CardinalityTargetAliasCondition
[0..1] E_Productsalesdelivery _ProdSalesDeliveryExt $projection.Product = _ProdSalesDeliveryExt.Product and $projection.ProductSalesOrg = _ProdSalesDeliveryExt.ProductSalesOrganization and $projection.ProductDistributionChnl = _ProdSalesDeliveryExt.ProductDistributionChannel
[0..*] A_ProductSalesText _SalesText $projection.Product = _SalesText.Product and $projection.ProductSalesOrg = _SalesText.ProductSalesOrg and $projection.ProductDistributionChnl = _SalesText.ProductDistributionChnl
[0..*] A_ProductSalesTax _SalesTax $projection.Product = _SalesTax.Product
[1..1] A_Product _Product $projection.Product = _Product.Product

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ACLFNPRODSLSDELI view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Sales Organization Data view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
OData.entitySet.name A_ProductSalesDelivery view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product Sold
KEY ProductSalesOrg ProductSalesOrg Sales Org.
KEY ProductDistributionChnl ProductDistributionChnl Distr. Channel
MinimumOrderQuantity MinimumOrderQuantity Minimum Order Quantity
SupplyingPlant SupplyingPlant Supplying Plant
PriceSpecificationProductGroup PriceSpecificationProductGroup Prd.Price Grp
AccountDetnProductGroup AccountDetnProductGroup AcctAssmtGrpPrd
DeliveryNoteProcMinDelivQty DeliveryNoteProcMinDelivQty Min. dely qty
ItemCategoryGroup ItemCategoryGroup Item Cat. Group
DeliveryQuantityUnit DeliveryQuantityUnit Unit of measure
DeliveryQuantity DeliveryQuantity Delivery unit
ProductSalesStatus ProductSalesStatus Status
ProductSalesStatusValidityDate ProductSalesStatusValidityDate Valid From
SalesMeasureUnit SalesMeasureUnit Sales unit
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
ProductHierarchy ProductHierarchy Prod.hierarchy
FirstSalesSpecProductGroup FirstSalesSpecProductGroup ProductGroup 1
SecondSalesSpecProductGroup SecondSalesSpecProductGroup ProductGroup 2
ThirdSalesSpecProductGroup ThirdSalesSpecProductGroup ProductGroup 3
FourthSalesSpecProductGroup FourthSalesSpecProductGroup ProductGroup 4
FifthSalesSpecProductGroup FifthSalesSpecProductGroup ProductGroup 5
MinimumMakeToOrderOrderQty MinimumMakeToOrderOrderQty MakeToOrder qty
BaseUnit BaseUnit Unit of Measure
_Product _Product
_SalesText _SalesText
_SalesTax _SalesTax

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 A_ClfnProductSalesDelivery.
-- 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: ACLFNPRODSLSDELI

CREATE VIEW A_ClfnProductSalesDelivery AS
SELECT
  Product,
  ProductSalesOrg,
  ProductDistributionChnl,
  MinimumOrderQuantity,
  SupplyingPlant,
  PriceSpecificationProductGroup,
  AccountDetnProductGroup,
  DeliveryNoteProcMinDelivQty,
  ItemCategoryGroup,
  DeliveryQuantityUnit,
  DeliveryQuantity,
  ProductSalesStatus,
  ProductSalesStatusValidityDate,
  SalesMeasureUnit,
  IsMarkedForDeletion,
  ProductHierarchy,
  FirstSalesSpecProductGroup,
  SecondSalesSpecProductGroup,
  ThirdSalesSpecProductGroup,
  FourthSalesSpecProductGroup,
  FifthSalesSpecProductGroup,
  MinimumMakeToOrderOrderQty,
  BaseUnit
FROM I_ProductSalesDelivery AS SalesDelivery
LEFT OUTER JOIN E_Productsalesdelivery AS _ProdSalesDeliveryExt ON Product = _ProdSalesDeliveryExt.Product AND ProductSalesOrg = _ProdSalesDeliveryExt.ProductSalesOrganization AND ProductDistributionChnl = _ProdSalesDeliveryExt.ProductDistributionChannel  -- association [0..1]
LEFT OUTER JOIN A_ProductSalesText AS _SalesText ON Product = _SalesText.Product AND ProductSalesOrg = _SalesText.ProductSalesOrg AND ProductDistributionChnl = _SalesText.ProductDistributionChnl  -- association [0..*]
LEFT OUTER JOIN A_ProductSalesTax AS _SalesTax ON Product = _SalesTax.Product  -- association [0..*]
LEFT OUTER JOIN A_Product AS _Product ON Product = _Product.Product  -- association [1..1]
;