I_CustomerCommodityQtyHdr

DDL: I_CUSTOMERCOMMODITYQTYHDR SQL: ICUSTCMQTYHDR Type: view BASIC

Customer Commodity Header

I_CustomerCommodityQtyHdr is a Basic CDS View that provides data about "Customer Commodity Header" in SAP S/4HANA. It reads from 1 data source (cmm_custqty_hdr) and exposes 10 fields with key field UniqueSpecificationUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
cmm_custqty_hdr cmm_custqty_hdr from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_CustCommoditySpecification _Extension $projection.UniqueSpecificationUUID = _Extension.UniqueSpecificationUUID

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ICUSTCMQTYHDR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Customer Commodity Header view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY UniqueSpecificationUUID uniquespecificationuuid Spec ID
Product product Product Sold
SalesOrganization salesorganization Sales Organization
DistributionChannel distributionchannel RefDistCh-Cust/Mat.
Customer customer Sold-to Party
CreatedByUser createdbyuser User Name
CreationDateTime creationdatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
LocalLastChangeDateTime lastchangedat Time Stamp

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 I_CustomerCommodityQtyHdr.
-- 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: ICUSTCMQTYHDR

CREATE VIEW I_CustomerCommodityQtyHdr AS
SELECT
  UniqueSpecificationUUID,
  Product,
  SalesOrganization,
  DistributionChannel,
  Customer,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  lastchangedat AS LocalLastChangeDateTime
FROM cmm_custqty_hdr
LEFT OUTER JOIN E_CustCommoditySpecification AS _Extension ON UniqueSpecificationUUID = _Extension.UniqueSpecificationUUID  -- association [1..1]
;