I_RFM_SlsContrDocFlowWthSign

DDL: I_RFM_SLSCONTRDOCFLOWWTHSIGN SQL: ISCDFWS Type: view COMPOSITE

Sale Contract signed Qty

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

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentMultiLevelProcFlow docflow from

Associations (1)

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

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ISCDFWS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Sale Contract signed 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 (10)

KeyFieldSource TableSource FieldDescription
KEY DocRelationshipUUID I_SDDocumentMultiLevelProcFlow DocRelationshipUUID SM Doc Rel UUID
KEY SalesDocument I_SDDocumentMultiLevelProcFlow PrecedingDocument SD Document
KEY SalesDocumentItem I_SDDocumentMultiLevelProcFlow PrecedingDocumentItem Item
SDDocumentCategory I_SDDocumentMultiLevelProcFlow PrecedingDocumentCategory Prec.Doc.Categ.
SDFulfillmentCalculationRule I_SDDocumentMultiLevelProcFlow SDFulfillmentCalculationRule Pos./Negative
QuantityInBaseUnit I_SDDocumentMultiLevelProcFlow QuantityInBaseUnit Quantity
quan153asQuantityInBaseUnitWithSign
BaseUnit I_SDDocumentMultiLevelProcFlow BaseUnit Unit of Measure
_SalesDocument _SalesDocument
_BaseUnit _BaseUnit

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_SlsContrDocFlowWthSign.
-- 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: ISCDFWS

CREATE VIEW I_RFM_SlsContrDocFlowWthSign AS
SELECT
  docflow.DocRelationshipUUID AS DocRelationshipUUID,
  docflow.PrecedingDocument AS SalesDocument,
  docflow.PrecedingDocumentItem AS SalesDocumentItem,
  docflow.PrecedingDocumentCategory AS SDDocumentCategory,
  docflow.SDFulfillmentCalculationRule AS SDFulfillmentCalculationRule,
  docflow.QuantityInBaseUnit AS QuantityInBaseUnit,
  cast (( case docflow.SDFulfillmentCalculationRule when '-' then ( QuantityInBaseUnit * -1 ) else ( QuantityInBaseUnit ) end ) as abap.quan(15,3) ) as QuantityInBaseUnitWithSign AS quan153asQuantityInBaseUnitWithSign,
  docflow.BaseUnit AS BaseUnit
FROM I_SDDocumentMultiLevelProcFlow AS docflow
LEFT OUTER JOIN I_SalesDocument AS _SalesDocument ON SalesDocument = _SalesDocument.SalesDocument  -- association [1..1]
;