I_RO_SAFTMatlStockQuantity

DDL: I_RO_SAFTMATLSTOCKQUANTITY SQL: IROSAFTMATSTK Type: view COMPOSITE

Material Stock Quantity for Romania SAFT

I_RO_SAFTMatlStockQuantity is a Composite CDS View that provides data about "Material Stock Quantity for Romania SAFT" in SAP S/4HANA. It reads from 1 data source (I_MaterialDocumentRecord) and exposes 6 fields with key fields CompanyCode, Material, Plant, Supplier, MaterialBaseUnit.

Data Sources (1)

SourceAliasJoin Type
I_MaterialDocumentRecord I_MaterialDocumentRecord from

Parameters (2)

NameTypeDefault
P_FromPostingDate figen_rep_date_from
P_ToPostingDate figen_rep_date_to

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IROSAFTMATSTK view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #COMPOSITE view
EndUserText.label Material Stock Quantity for Romania SAFT view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY Supplier SpecialStockIdfgSupplier Supplier SID
KEY MaterialBaseUnit MaterialBaseUnit Valuation Unit
MatlStkChangeQtyInBaseUnit

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_RO_SAFTMatlStockQuantity.
-- 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: IROSAFTMATSTK
-- Parameters: P_FromPostingDate : figen_rep_date_from, P_ToPostingDate : figen_rep_date_to

CREATE VIEW I_RO_SAFTMatlStockQuantity AS
SELECT
  CompanyCode,
  Material,
  Plant,
  SpecialStockIdfgSupplier AS Supplier,
  MaterialBaseUnit,
  sum( MatlStkChangeQtyInBaseUnit ) AS MatlStkChangeQtyInBaseUnit
FROM I_MaterialDocumentRecord
;