C_OverduePO

DDL: C_OVERDUEPO SQL: CMMOVERDUEPO Type: view CONSUMPTION

Overdue Purchase Order

C_OverduePO (Consumption)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sourcing & Procurement

C_OverduePO is a Consumption CDS View (Cube) that provides data about "Overdue Purchase Order" in SAP S/4HANA. It reads from 2 data sources (P_POOverdueWithSupplierConf, P_UnasgndMatGrpText). It has 12 associations to related views.

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentMM-PUR-ANA
CapabilitiesData Provider for Analytical Queries
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (2)

SourceAliasJoin Type
P_POOverdueWithSupplierConf P_POOverdueWithSupplierConf from
P_UnasgndMatGrpText UnasgndMatGrpTex left_outer

Parameters (5)

NameTypeDefault
P_DisplayCurrency displaycurrency
P_Language spras
P_DateFunction datefunctionid
P_StartDate mm_a_delivery_date
P_EndDate mm_a_delivery_date

Associations (12)

CardinalityTargetAliasCondition
[1..1] I_PurchasingCategoryMatlGroup _PurchasingCategoryMatlGroup OverduePO.MaterialGroup = _PurchasingCategoryMatlGroup.MaterialGroup
[1..1] I_PurgDocumentItemCategory _PurgDocumentItemCategory $projection.PurchaseOrderItemCategory = _PurgDocumentItemCategory.PurchasingDocumentItemCategory
[0..1] I_PurchasingDocumentType _PurchasingDocumentType $projection.PurchaseOrderType = _PurchasingDocumentType.PurchasingDocumentType and $projection.PurchaseOrderCategory = _PurchasingDocumentType.PurchasingDocumentCategory
[1..1] I_CalendarDate _CalendarDate ScheduleLineDeliveryDate = _CalendarDate.CalendarDate
[1..1] I_Material _Material $projection.Material = _Material.Material
[1..1] I_MaterialGroup _MaterialGroup $projection.MaterialGroup = _MaterialGroup.MaterialGroup
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] C_PurchasingGroupValueHelp _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
[1..1] I_UnitOfMeasure _UnitOfMeasure _UnitOfMeasure.UnitOfMeasure = 'TAG'
[1..1] C_OvrdPOSuplrConfStatusVH _OvrdPOSuplrConfStatus _OvrdPOSuplrConfStatus.OvrdPOSuplrConfirmationStatus = $projection.OvrdPOSuplrConfirmationStatus
[1..1] I_CompanyCode _CompanyCode $projection.PurgDocHdrCompanyCode = _CompanyCode.CompanyCode
[1..1] I_CompanyCode _ReceivingCompanyCode $projection.CompanyCode = _ReceivingCompanyCode.CompanyCode

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
AbapCatalog.sqlViewName CMMOVERDUEPO view
EndUserText.label Overdue Purchase Order view
VDM.viewType #CONSUMPTION view
Analytics.dataCategory #CUBE view
Metadata.ignorePropagatedAnnotations true view
OData.publish true view
Metadata.allowExtensions true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view

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_OverduePO.
-- 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: CMMOVERDUEPO
-- Parameters: P_DisplayCurrency : displaycurrency, P_Language : spras, P_DateFunction : datefunctionid, P_StartDate : mm_a_delivery_date, P_EndDate : mm_a_delivery_date

CREATE VIEW C_OverduePO AS
SELECT *  -- field list not available in parsed metadata
FROM P_POOverdueWithSupplierConf
LEFT OUTER JOIN P_UnasgndMatGrpText AS UnasgndMatGrpTex ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PurchasingCategoryMatlGroup AS _PurchasingCategoryMatlGroup ON OverduePO.MaterialGroup = _PurchasingCategoryMatlGroup.MaterialGroup  -- association [1..1]
LEFT OUTER JOIN I_PurgDocumentItemCategory AS _PurgDocumentItemCategory ON PurchaseOrderItemCategory = _PurgDocumentItemCategory.PurchasingDocumentItemCategory  -- association [1..1]
LEFT OUTER JOIN I_PurchasingDocumentType AS _PurchasingDocumentType ON PurchaseOrderType = _PurchasingDocumentType.PurchasingDocumentType AND PurchaseOrderCategory = _PurchasingDocumentType.PurchasingDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _CalendarDate ON ScheduleLineDeliveryDate = _CalendarDate.CalendarDate  -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [1..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN C_PurchasingGroupValueHelp AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON _UnitOfMeasure.UnitOfMeasure = 'TAG'  -- association [1..1]
LEFT OUTER JOIN C_OvrdPOSuplrConfStatusVH AS _OvrdPOSuplrConfStatus ON _OvrdPOSuplrConfStatus.OvrdPOSuplrConfirmationStatus = OvrdPOSuplrConfirmationStatus  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON PurgDocHdrCompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _ReceivingCompanyCode ON CompanyCode = _ReceivingCompanyCode.CompanyCode  -- association [1..1]
;