c_purdoclistqtymismatchbase

DDL: C_PURDOCLISTQTYMISMATCHBASE SQL: CDOCLQTYMISMBASE Type: view CONSUMPTION

Quantity Mismatch Base

c_purdoclistqtymismatchbase is a Consumption CDS View that provides data about "Quantity Mismatch Base" in SAP S/4HANA. It reads from 2 data sources (eket, I_PurchaseOrderItem) and exposes 6 fields with key fields PurchasingDocument, PurchasingDocumentItem, ScheduleLine.

Data Sources (2)

SourceAliasJoin Type
eket eket from
I_PurchaseOrderItem ekpo inner

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName CDOCLQTYMISMBASE view
VDM.viewType #CONSUMPTION view
EndUserText.label Quantity Mismatch Base view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.private true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocument eket ebeln Source PurchDoc
KEY PurchasingDocumentItem eket ebelp Item pur. doc.
KEY ScheduleLine eket etenr Schedule Line
sched_quan eket menge WarrCountValue
IsCompletelyDelivered I_PurchaseOrderItem IsCompletelyDelivered Is completely delivered
PurgDocItemGoodsReceiptQty eket wemng Received

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 c_purdoclistqtymismatchbase.
-- 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: CDOCLQTYMISMBASE

CREATE VIEW c_purdoclistqtymismatchbase AS
SELECT
  eket.ebeln AS PurchasingDocument,
  eket.ebelp AS PurchasingDocumentItem,
  eket.etenr AS ScheduleLine,
  eket.menge AS sched_quan,
  ekpo.IsCompletelyDelivered AS IsCompletelyDelivered,
  eket.wemng AS PurgDocItemGoodsReceiptQty
FROM eket
INNER JOIN I_PurchaseOrderItem AS ekpo ON /* join condition not captured in parsed metadata */
;