C_PurOrdDelivInvcVal
Purchase Order Delivery Invoice Value
C_PurOrdDelivInvcVal is a Consumption CDS View that provides data about "Purchase Order Delivery Invoice Value" in SAP S/4HANA. It reads from 1 data source (C_PurOrdDeliveryInvoiceValue4) and exposes 34 fields with key field PurchaseOrderItem. Part of development package ODATA_MM_ANALYTICS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| C_PurOrdDeliveryInvoiceValue4 | C_PurOrdDeliveryInvoiceValue4 | from |
Parameters (5)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | displaycurrency | |
| P_Language | sylangu | |
| P_StartDate | bedat | |
| P_EndDate | bedat | |
| P_DateFunction | datefunctionid |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Purchase Order Delivery Invoice Value | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | CMMPODELINVVAL | view | |
| Analytics.query | true | view | |
| OData.publish | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| resultElementDateFunctionStartDate | ||||
| resultElementDateFunctionEndDate | ||||
| P_DisplayCurrency | ||||
| P_StartDate | ||||
| P_EndDatekeyPurchaseOrder | ||||
| KEY | PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | |
| Supplier | Supplier | Supplier | ||
| SupplierCountry | SupplierCountry | |||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| PurchasingCategory | PurchasingCategory | Purchasing Category | ||
| PurgCatName | PurgCatName | Purchasing Cat. Name | ||
| Plant | Plant | Valuation Area | ||
| PlantName | _Plant | PlantName | Plant Name | |
| Material | Material | Vehicle Model | ||
| MaterialName | ||||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| Currency | Currency | Valuation Crcy | ||
| DisplayCurrency | DisplayCurrency | Display Currency | ||
| ComparisonPurchasingGroup | ComparisonPurchasingGroup | |||
| ComparisonPurchasingOrg | ComparisonPurchasingOrg | |||
| ComparisonMaterialGroup | ComparisonMaterialGroup | |||
| ComparisonSupplierCountry | ComparisonSupplierCountry | |||
| ComparisonSupplier | ComparisonSupplier | |||
| PurchaseOrderNetAmount | PurchaseOrderNetAmount | Net Value | ||
| GoodsReceiptAmountInDspCrcy | GoodsReceiptAmountInDspCrcy | |||
| InvoiceAmtInDisplayCurrency | InvoiceAmtInDisplayCurrency | |||
| ComparisonNetAmtInDspCrcy | ComparisonNetAmtInDspCrcy | |||
| ComprnGoodsReceiptAmtInDspCrcy | ComprnGoodsReceiptAmtInDspCrcy | |||
| ComprnInvoiceAmtInDspCrcy | ComprnInvoiceAmtInDspCrcy | |||
| PurchasingSpendRatio | Purchasing Spend % | |||
| PurchaseOrderGoodsReceiptRatio | Purchase Order Goods Receipt Amt % | |||
| PurchaseOrderInvoiceRcptRatio | Purchase Order Invoice Amt % |
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_PurOrdDelivInvcVal.
-- 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: CMMPODELINVVAL
-- Parameters: P_DisplayCurrency : displaycurrency, P_Language : sylangu, P_StartDate : bedat, P_EndDate : bedat, P_DateFunction : datefunctionid
CREATE VIEW C_PurOrdDelivInvcVal AS
SELECT
resultElement: 'DateFunctionStartDate' AS resultElementDateFunctionStartDate,
resultElement: 'DateFunctionEndDate' AS resultElementDateFunctionEndDate,
binding: [ { targetParameter: 'P_DateFunction', type: #PARAMETER, value : 'P_DateFunction' AS P_DisplayCurrency,
P_StartDate : $parameters.P_StartDate AS P_StartDate,
PurchaseOrderItem,
Supplier,
SupplierCountry,
PurchasingGroup,
PurchasingOrganization,
MaterialGroup,
PurchasingCategory,
PurgCatName,
Plant,
_Plant.PlantName AS PlantName,
Material,
_Material._Text[1: Language = $parameters.P_Language].MaterialName AS MaterialName,
CompanyCodeCurrency,
Currency,
DisplayCurrency,
ComparisonPurchasingGroup,
ComparisonPurchasingOrg,
ComparisonMaterialGroup,
ComparisonSupplierCountry,
ComparisonSupplier,
PurchaseOrderNetAmount,
GoodsReceiptAmountInDspCrcy,
InvoiceAmtInDisplayCurrency,
ComparisonNetAmtInDspCrcy,
ComprnGoodsReceiptAmtInDspCrcy,
ComprnInvoiceAmtInDspCrcy,
cast( 1 as abap.dec( 15, 3 ) ) AS PurchasingSpendRatio,
cast( 1 as abap.dec( 15, 3 ) ) AS PurchaseOrderGoodsReceiptRatio,
cast( 1 as abap.dec( 15, 3 ) ) AS PurchaseOrderInvoiceRcptRatio
FROM C_PurOrdDeliveryInvoiceValue4
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA