CIC_INVENTRY_SNAPSHT

DDL: CIC_INVENTRY_SNAPSHT Type: view_entity

CIC Inventory Snapshot "Items"

CIC_INVENTRY_SNAPSHT is a CDS View that provides data about "CIC Inventory Snapshot "Items"" in SAP S/4HANA. It reads from 1 data source (matdoc_extract) and exposes 7 fields with key fields Product, Plant, StorageLocation, StockType, SpecialStockIndicator.

Data Sources (1)

SourceAliasJoin Type
matdoc_extract matdoc_extract from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CIC Inventory Snapshot "Items" view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Product matbf Stock Mat.
KEY Plant werks Receiving Plant
KEY StorageLocation lgort_sid Stor. Location SID
KEY StockType lbbsa_sid Stock Type
KEY SpecialStockIndicator sobkz Special Stock
UoM meins Valuation Unit
Quantity

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 CIC_INVENTRY_SNAPSHT.
-- 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.

CREATE VIEW CIC_INVENTRY_SNAPSHT AS
SELECT
  matbf AS Product,
  werks AS Plant,
  lgort_sid AS StorageLocation,
  lbbsa_sid AS StockType,
  sobkz AS SpecialStockIndicator,
  meins AS UoM,
  cast ( sum(stock_qty_l2) as nsdm_stock_qty_l2 preserving type ) AS Quantity
FROM matdoc_extract
;