I_Scheduleline_Cumscheqty

DDL: I_SCHEDULELINE_CUMSCHEQTY SQL: ISCHCUMMQTY Type: view BASIC

Cumulative Scheduled Quantity for Item

I_Scheduleline_Cumscheqty is a Basic CDS View that provides data about "Cumulative Scheduled Quantity for Item" in SAP S/4HANA. It reads from 2 data sources (I_PurgDocScheduleLine, I_PurgDocScheduleLine) and exposes 8 fields with key fields PurchasingDocument, PurchasingDocumentItem, ScheduleLine.

Data Sources (2)

SourceAliasJoin Type
I_PurgDocScheduleLine I_PurgDocScheduleLine from
I_PurgDocScheduleLine I2 inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName ISCHCUMMQTY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #BASIC view
EndUserText.label Cumulative Scheduled Quantity for Item view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocument I_PurgDocScheduleLine PurchasingDocument Purchasing Document
KEY PurchasingDocumentItem I_PurgDocScheduleLine PurchasingDocumentItem Purchasing Doc. Item
KEY ScheduleLine I_PurgDocScheduleLine ScheduleLine Schedule Line
ScheduleLineDeliveryDate I_PurgDocScheduleLine ScheduleLineDeliveryDate Delivery Date
ScheduleLineDeliveryTime I_PurgDocScheduleLine ScheduleLineDeliveryTime Time
ScheduleLineOpenQuantity
RoughGoodsReceiptQty
PreviousCumulativeQuantity

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_Scheduleline_Cumscheqty.
-- 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: ISCHCUMMQTY

CREATE VIEW I_Scheduleline_Cumscheqty AS
SELECT
  I_PurgDocScheduleLine.PurchasingDocument AS PurchasingDocument,
  I_PurgDocScheduleLine.PurchasingDocumentItem AS PurchasingDocumentItem,
  I_PurgDocScheduleLine.ScheduleLine AS ScheduleLine,
  I_PurgDocScheduleLine.ScheduleLineDeliveryDate AS ScheduleLineDeliveryDate,
  I_PurgDocScheduleLine.ScheduleLineDeliveryTime AS ScheduleLineDeliveryTime,
  sum(I2.ScheduleLineOpenQuantity) AS ScheduleLineOpenQuantity,
  sum(I2.RoughGoodsReceiptQty) AS RoughGoodsReceiptQty,
  sum(I2.PrevDelivQtyOfScheduleLine) AS PreviousCumulativeQuantity
FROM I_PurgDocScheduleLine
INNER JOIN I_PurgDocScheduleLine AS I2 ON /* join condition not captured in parsed metadata */
;