C_POWthNonCmplncPaytTrmQry
PO having Non compliant Payment Terms
C_POWthNonCmplncPaytTrmQry (Consumption)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Sourcing & Procurement
C_POWthNonCmplncPaytTrmQry is a Consumption CDS View that provides data about "PO having Non compliant Payment Terms" in SAP S/4HANA. It reads from 1 data source (C_POWthNonCmplncPaytTrm) and exposes 26 fields with key field PurchaseOrderItem. Part of development package ODATA_MM_ANALYTICS.
SAP API Hub
| Category | Consumption |
|---|---|
| State | C1 |
| Line of Business | Sourcing & Procurement |
| Application Component | MM-PUR-ANA-2CL |
| Capabilities | Analytical Query |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Not Released |
| Package | Sourcing and Procurement for SAP S/4HANA Cloud Public Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| C_POWthNonCmplncPaytTrm | C_POWthNonCmplncPaytTrm | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_StartDate | badat | |
| P_EndDate | badat | |
| P_DateFunction | datefunctionid | |
| P_DisplayCurrency | displaycurrency |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMMPOPAYTMQUERY | view | |
| EndUserText.label | PO having Non compliant Payment Terms | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.query | true | view | |
| OData.publish | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AbapCatalog.preserveKey | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_QUERY | view | |
| Metadata.allowExtensions | true | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| resultElementDateFunctionStartDate | ||||
| resultElementDateFunctionEndDate | ||||
| P_StartDate | ||||
| P_EndDate | ||||
| P_DisplayCurrencykeyPurchaseOrder | ||||
| KEY | PurchaseOrderItem | PurchaseOrderItem | Item Number of Purchase Order | |
| Supplier | Supplier | Supplier | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| MaterialGroup | MaterialGroup | Material Group | ||
| Plant | Plant | Valuation Area | ||
| SupplierCountry | SupplierCountry | Supplier Country/Region | ||
| Region | Region | Region (State, Province, County) | ||
| IncotermsClassification | IncotermsClassification | Incoterms (Part 1) | ||
| PaymentTerms | PaymentTerms | Terms of Payment Key | ||
| PaymentTermsDescription | Payment Terms Description | |||
| PurchaseOrderDate | PurchaseOrderDate | Purchase Order Date | ||
| CalendarYear | CalendarYear | Calendar Year | ||
| DisplayCurrency | DisplayCurrency | Display Currency | ||
| PurOrdNetAmountInDisplayCrcy | PurOrdNetAmountInDisplayCrcy | Purchase Order Net Amount | ||
| NrOfPOInNonCompliantPaytTrms | NrOfPOWithNonCompliantPaytTrm | Number of PO with non compliant payment terms | ||
| NumberOfPurchaseOrders | NumberOfPurchaseOrders | Number of Purchase Orders | ||
| MinNrOfPOWithNonCompPaytTrm | MinNrOfPOWithNonCompPaytTrm | Number of PO with non compliant payment terms | ||
| NrOfPOWithNonCompliantPaytTrm | Number of PO with non compliant payment terms | |||
| POWithNonCompliantPaytTrmPct | Percentage of PO with non compliant payment terms |
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_POWthNonCmplncPaytTrmQry.
-- 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: CMMPOPAYTMQUERY
-- Parameters: P_StartDate : badat, P_EndDate : badat, P_DateFunction : datefunctionid, P_DisplayCurrency : displaycurrency
CREATE VIEW C_POWthNonCmplncPaytTrmQry AS
SELECT
resultElement: 'DateFunctionStartDate' AS resultElementDateFunctionStartDate,
resultElement: 'DateFunctionEndDate' AS resultElementDateFunctionEndDate,
binding: [ { targetParameter: 'P_DateFunction', type: #PARAMETER, value : 'P_DateFunction' AS P_StartDate,
P_EndDate : $parameters.P_EndDate AS P_EndDate,
PurchaseOrderItem,
Supplier,
PurchasingOrganization,
PurchasingGroup,
CompanyCode,
MaterialGroup,
Plant,
SupplierCountry,
Region,
IncotermsClassification,
PaymentTerms,
_PaymentTerms._Text.PaymentTermsDescription AS PaymentTermsDescription,
PurchaseOrderDate,
CalendarYear,
DisplayCurrency,
PurOrdNetAmountInDisplayCrcy,
NrOfPOWithNonCompliantPaytTrm AS NrOfPOInNonCompliantPaytTrms,
NumberOfPurchaseOrders,
MinNrOfPOWithNonCompPaytTrm,
cast( 1 as mm_a_nrof_non_cmplnc_payttrm ) AS NrOfPOWithNonCompliantPaytTrm,
cast( 1 as mm_a_non_cmplnc_payttrm_pct ) AS POWithNonCompliantPaytTrmPct
FROM C_POWthNonCmplncPaytTrm
;
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