I_RFM_SlsContrDocFlowAggrg

DDL: I_RFM_SLSCONTRDOCFLOWAGGRG SQL: ISCDFA Type: view COMPOSITE

Sale Contract Item Qty

I_RFM_SlsContrDocFlowAggrg is a Composite CDS View that provides data about "Sale Contract Item Qty" in SAP S/4HANA. It reads from 1 data source (I_RFM_SlsContrDocFlowWthSign) and exposes 4 fields with key fields SalesDocument, SalesDocumentItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_RFM_SlsContrDocFlowWthSign prepview from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_SalesDocument _SalesDocument $projection.SalesDocument = _SalesDocument.SalesDocument

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ISCDFA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Sale Contract Item Qty view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument SalesDocument SD Document
KEY SalesDocumentItem SalesDocumentItem Sales Document Item
ContractItemConsumedQuantity
_SalesDocument _SalesDocument

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_RFM_SlsContrDocFlowAggrg.
-- 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: ISCDFA

CREATE VIEW I_RFM_SlsContrDocFlowAggrg AS
SELECT
  SalesDocument,
  SalesDocumentItem,
  sum(QuantityInBaseUnitWithSign) AS ContractItemConsumedQuantity
FROM I_RFM_SlsContrDocFlowWthSign AS prepview
LEFT OUTER JOIN I_SalesDocument AS _SalesDocument ON SalesDocument = _SalesDocument.SalesDocument  -- association [1..1]
;