C_MatlStockDocumentItemSet

DDL: C_MATLSTOCKDOCUMENTITEMSET Type: view_entity CONSUMPTION

Material Document Item Set - Text

C_MatlStockDocumentItemSet is a Consumption CDS View that provides data about "Material Document Item Set - Text" in SAP S/4HANA. It reads from 1 data source (I_MatlStockDocumentItemSet) and exposes 19 fields with key fields MaterialStockDocumentItemSetID, MatlStkDocumentItemSetElement. It is exposed through 1 OData service (STOCK_REPORTING).

Data Sources (1)

SourceAliasJoin Type
I_MatlStockDocumentItemSet I_MatlStockDocumentItemSet from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Material Document Item Set - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
VDM.private false view
Metadata.allowExtensions true view

OData Services (1)

ServiceBindingVersionContractRelease
STOCK_REPORTING UI_STOCKREPORTING_O2 V2 C1 NOT_RELEASED

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY MaterialStockDocumentItemSetID MaterialStockDocumentItemSetID Document Set Id
KEY MatlStkDocumentItemSetElement MatlStkDocumentItemSetElement Set Element Id
MaterialDocument MaterialDocument Material Doc.
MaterialDocumentYear MaterialDocumentYear Material Document Year
MaterialDocumentItem MaterialDocumentItem Material Document Item
Material Material Vehicle Model
MaterialName
Plant Plant Valuation Area
PlantName
StorageLocation StorageLocation StorageLocation
StorageLocationName
PostingDate PostingDate Posting Date for GR
Batch Batch Lot No.
DebitCreditCode DebitCreditCode Single-Character Flag
DebitCreditCodeName
QuantityInEntryUnit QuantityInEntryUnit Quantity in Unit of Entry
EntryUnit EntryUnit Unit of Entry
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 C_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 C_MatlStockDocumentItemSet AS
SELECT
  MaterialStockDocumentItemSetID,
  MatlStkDocumentItemSetElement,
  MaterialDocument,
  MaterialDocumentYear,
  MaterialDocumentItem,
  Material,
  _MaterialDocument._Material._Text[1: Language=$session.system_language].MaterialName AS MaterialName,
  Plant,
  _MaterialDocument._Plant.PlantName AS PlantName,
  StorageLocation,
  _MaterialDocument._StockIdfgStorageLocation.StorageLocationName AS StorageLocationName,
  PostingDate,
  Batch,
  DebitCreditCode,
  _MaterialDocument._DebitCreditCode._Text[1: Language=$session.system_language].DebitCreditCodeName AS DebitCreditCodeName,
  QuantityInEntryUnit,
  EntryUnit,
  MaterialBaseUnit
FROM I_MatlStockDocumentItemSet
;