I_MatlStockDocumentItemSet

DDL: I_MATLSTOCKDOCUMENTITEMSET Type: view_entity BASIC Package: ODATA_MM_IM_STOCKOUTPUT

Material Document Item Set

I_MatlStockDocumentItemSet is a Basic CDS View that provides data about "Material Document Item Set" in SAP S/4HANA. It reads from 1 data source (matstkdocitmset) and exposes 8 fields with key fields MaterialStockDocumentItemSetID, MatlStkDocumentItemSetElement. Part of development package ODATA_MM_IM_STOCKOUTPUT.

Data Sources (1)

SourceAliasJoin Type
matstkdocitmset matstkdocitmset from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Material Document Item Set view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
VDM.private false view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY MaterialStockDocumentItemSetID matdocitmset_id Document Set Id
KEY MatlStkDocumentItemSetElement matdocitmset_det_id Set Element Id
MaterialDocument materialdocument Material Doc.
MaterialDocumentYear materialdocumentyear Material Document Year
MaterialDocumentItem materialdocumentitem Material Document Item
MatlWrhsStkQtyInMatlBaseUnit stockquantity Quantity
MaterialBaseUnit materialbaseunit Valuation Unit
_MaterialDocument _MaterialDocument

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_MatlStockDocumentItemSet.
-- 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 I_MatlStockDocumentItemSet AS
SELECT
  matdocitmset_id AS MaterialStockDocumentItemSetID,
  matdocitmset_det_id AS MatlStkDocumentItemSetElement,
  MaterialDocument,
  MaterialDocumentYear,
  MaterialDocumentItem,
  stockquantity AS MatlWrhsStkQtyInMatlBaseUnit,
  MaterialBaseUnit
FROM matstkdocitmset
;