I_ExsTxMaterialStockAggrgn

DDL: I_EXSTXMATERIALSTOCKAGGRGN SQL: IEXSTXMATSTOCKAG Type: view COMPOSITE

Aggregate Material stock for Excise Tax

I_ExsTxMaterialStockAggrgn is a Composite CDS View (Cube) that provides data about "Aggregate Material stock for Excise Tax" in SAP S/4HANA. It reads from 1 data source (I_MaterialStock) and exposes 10 fields with key fields Material, Plant, StorageLocation, Batch, InventoryStockType.

Data Sources (1)

SourceAliasJoin Type
I_MaterialStock _MaterialStock from

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IEXSTXMATSTOCKAG view
EndUserText.label Aggregate Material stock for Excise Tax view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
VDM.private false view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY StorageLocation StorageLocation StorageLocation
KEY Batch Batch Lot No.
KEY InventoryStockType InventoryStockType Stock Type
KEY InventorySpecialStockType InventorySpecialStockType Special Stock Type
KEY MatlDocLatestPostgDate MatlDocLatestPostgDate
KEY MaterialBaseUnit MaterialBaseUnit Valuation Unit
CompanyCode CompanyCode Receiver Company Code
MatlWrhsStkQtyInMatlBaseUnit

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_ExsTxMaterialStockAggrgn.
-- 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: IEXSTXMATSTOCKAG

CREATE VIEW I_ExsTxMaterialStockAggrgn AS
SELECT
  Material,
  Plant,
  StorageLocation,
  Batch,
  InventoryStockType,
  InventorySpecialStockType,
  MatlDocLatestPostgDate,
  MaterialBaseUnit,
  CompanyCode,
  cast(sum(MatlWrhsStkQtyInMatlBaseUnit) as nsdm_stock_qty preserving type) AS MatlWrhsStkQtyInMatlBaseUnit
FROM I_MaterialStock AS _MaterialStock
;