C_CommodityStructuralQuantity

DDL: C_COMMODITYSTRUCTURALQUANTITY SQL: CCMMDTYSTRUQTY Type: view CONSUMPTION Package: VDM_MD_PRODUCT

Structural Commodity Quantity

C_CommodityStructuralQuantity is a Consumption CDS View that provides data about "Structural Commodity Quantity" in SAP S/4HANA. It reads from 1 data source (I_CmmdtyStructuralQuantityTP) and exposes 17 fields with key fields Product, Plant, Commodity. It has 2 associations to related views. Part of development package VDM_MD_PRODUCT.

Data Sources (1)

SourceAliasJoin Type
I_CmmdtyStructuralQuantityTP CommodityStructuralQuantity from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_Product _Product $projection.Product = _Product.Product
[1..1] C_Productplant _ProductPlant $projection.Product = _ProductPlant.Product and $projection.Plant = _ProductPlant.Plant

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CCMMDTYSTRUQTY view
Search.searchable true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
Feature SW:LOG_CMM_PRC_SFWS_CMMDTY_QTY view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.text.control #ASSOCIATED_TEXT_UI_HIDDEN view
Metadata.allowExtensions true view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Structural Commodity Quantity view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product Sold
KEY Plant Plant Valuation Area
KEY Commodity Commodity Commodity Code
CommodityForEdit CommodityForEdit Commodity Code
CommodityName CommodityName
CommodityQuantity CommodityQuantity Commodity Quantity
CommodityQuantityUoM CommodityQuantityUoM Commodity Qty Uom
ReferenceQuantity ReferenceQuantity Comm Refer Quantity
ReferenceQuantityUoM ReferenceQuantityUoM Comm RefQty Uom
CreatedByUser CreatedByUser User Name
CreatedByUserName CreatedByUserName Person Resp.
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
ChangedByUserName ChangedByUserName Full Name
LastChangeDateTime LastChangeDateTime Timestamp
_Product _Product
_ProductPlant _ProductPlant

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_CommodityStructuralQuantity.
-- 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: CCMMDTYSTRUQTY

CREATE VIEW C_CommodityStructuralQuantity AS
SELECT
  Product,
  Plant,
  Commodity,
  CommodityForEdit,
  CommodityName,
  CommodityQuantity,
  CommodityQuantityUoM,
  ReferenceQuantity,
  ReferenceQuantityUoM,
  CreatedByUser,
  CreatedByUserName,
  CreationDateTime,
  LastChangedByUser,
  ChangedByUserName,
  LastChangeDateTime
FROM I_CmmdtyStructuralQuantityTP AS CommodityStructuralQuantity
LEFT OUTER JOIN C_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN C_Productplant AS _ProductPlant ON Product = _ProductPlant.Product AND Plant = _ProductPlant.Plant  -- association [1..1]
;