A_ClfnProductSalesDelivery
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)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductSalesDelivery | SalesDelivery | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA