P_RFDYConfFigsBySalesOrderItem

DDL: P_RFDYCONFFIGSBYSALESORDERITEM Type: view_entity CONSUMPTION Package: ODATA_ATP_RELFORDEL

RFDY Confirmation Figures By Sales Order Item

P_RFDYConfFigsBySalesOrderItem is a Consumption CDS View that provides data about "RFDY Confirmation Figures By Sales Order Item" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentScheduleLine) and exposes 8 fields with key fields SalesOrder, SalesOrderItem. Part of development package ODATA_ATP_RELFORDEL.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocumentScheduleLine I_SalesDocumentScheduleLine from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label RFDY Confirmation Figures By Sales Order Item view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SalesOrder SalesDocument SD Document
KEY SalesOrderItem SalesDocumentItem Sales Document Item
TotalRequestedQuantity
TotalConfirmedQuantity
BaseUnit BaseUnit Unit of Measure
_SalesDocument _SalesDocument
_SalesDocumentItem _SalesDocumentItem
_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 P_RFDYConfFigsBySalesOrderItem.
-- 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 P_RFDYConfFigsBySalesOrderItem AS
SELECT
  SalesDocument AS SalesOrder,
  SalesDocumentItem AS SalesOrderItem,
  sum( RequestedRqmtQtyInBaseUnit ) AS TotalRequestedQuantity,
  sum( ConfirmedRqmtQtyInBaseUnit ) AS TotalConfirmedQuantity,
  BaseUnit
FROM I_SalesDocumentScheduleLine
;