P_PurOrdWithNonCmplncPaytTrm

DDL: P_PURORDWITHNONCMPLNCPAYTTRM SQL: POPAYTRM Type: view CONSUMPTION Package: ODATA_MM_ANALYTICS

PO with Non Compliant Payment Term

P_PurOrdWithNonCmplncPaytTrm is a Consumption CDS View that provides data about "PO with Non Compliant Payment Term" in SAP S/4HANA. It reads from 1 data source (P_PURCHASEORDERSENDTOSUPPLR) and exposes 16 fields with key fields PurchaseOrder, PurchaseOrderItem. Part of development package ODATA_MM_ANALYTICS.

Data Sources (1)

SourceAliasJoin Type
P_PURCHASEORDERSENDTOSUPPLR P_PURCHASEORDERSENDTOSUPPLR from

Parameters (2)

NameTypeDefault
P_StartDate bedat
P_EndDate bedat

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName POPAYTRM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
VDM.private true view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label PO with Non Compliant Payment Term view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem POSendtoSupplier PurchaseOrderItem Purchasing Document Item
Supplier POSendtoSupplier Supplier Supplier
PurchasingOrganization POSendtoSupplier PurchasingOrganization Purchasing Organization
PurchasingGroup POSendtoSupplier PurchasingGroup Purchasing Group
Plant POSendtoSupplier Plant Valuation Area
CompanyCode POSendtoSupplier CompanyCode Receiver Company Code
MaterialGroup POSendtoSupplier MaterialGroup Product Group
IncotermsClassification POSendtoSupplier IncotermsClassification Incoterms
PurOrdNetAmount PurOrdNetAmount Stated Amount
DocumentCurrency DocumentCurrency Document Currency
PurchaseOrderDate PurchaseOrderDate PO Date
PaymentTerms POSendtoSupplier PaymentTerms Pyt Terms
SupplierPaymentTerms SupplierPurchOrg PaymentTerms Pyt Terms
_IncotermsClassification POSendtoSupplier _IncotermsClassification
_PaymentTerms POSendtoSupplier _PaymentTerms

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 P_PurOrdWithNonCmplncPaytTrm.
-- 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: POPAYTRM
-- Parameters: P_StartDate : bedat, P_EndDate : bedat

CREATE VIEW P_PurOrdWithNonCmplncPaytTrm AS
SELECT
  PurchaseOrder,
  POSendtoSupplier.PurchaseOrderItem AS PurchaseOrderItem,
  POSendtoSupplier.Supplier AS Supplier,
  POSendtoSupplier.PurchasingOrganization AS PurchasingOrganization,
  POSendtoSupplier.PurchasingGroup AS PurchasingGroup,
  POSendtoSupplier.Plant AS Plant,
  POSendtoSupplier.CompanyCode AS CompanyCode,
  POSendtoSupplier.MaterialGroup AS MaterialGroup,
  POSendtoSupplier.IncotermsClassification AS IncotermsClassification,
  PurOrdNetAmount,
  DocumentCurrency,
  PurchaseOrderDate,
  POSendtoSupplier.PaymentTerms AS PaymentTerms,
  SupplierPurchOrg.PaymentTerms AS SupplierPaymentTerms,
  POSendtoSupplier._IncotermsClassification AS _IncotermsClassification,
  POSendtoSupplier._PaymentTerms AS _PaymentTerms
FROM P_PURCHASEORDERSENDTOSUPPLR
;