E_CommodityQuantitySales

DDL: E_COMMODITYQUANTITYSALES SQL: ECMMDTYQTYSALES Type: view EXTENSION

Commodity Quantity Sales - Extension

E_CommodityQuantitySales is a Extension CDS View that provides data about "Commodity Quantity Sales - Extension" in SAP S/4HANA. It reads from 1 data source (cmm_sls_qty) and exposes 5 fields with key fields Product, SalesOrganization, DistributionChannel, Commodity.

Data Sources (1)

SourceAliasJoin Type
cmm_sls_qty Persistence from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName ECMMDTYQTYSALES view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #EXTENSION view
EndUserText.label Commodity Quantity Sales - Extension view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Product cmm_sls_qty product Product Sold
KEY SalesOrganization cmm_sls_qty salesorganization Sales Organization
KEY DistributionChannel cmm_sls_qty distributionchannel RefDistCh-Cust/Mat.
KEY Commodity cmm_sls_qty commodity Commodity Code
IsActiveEntity

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 E_CommodityQuantitySales.
-- 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: ECMMDTYQTYSALES

CREATE VIEW E_CommodityQuantitySales AS
SELECT
  Persistence.product AS Product,
  Persistence.salesorganization AS SalesOrganization,
  Persistence.distributionchannel AS DistributionChannel,
  Persistence.commodity AS Commodity,
  cast( 'X' as sdraft_is_active preserving type ) AS IsActiveEntity
FROM cmm_sls_qty AS Persistence
;