P_MatGrpSuplrSpendIDCRe

DDL: P_MATGRPSUPLRSPENDIDCRE SQL: PMGRPSPLRSPNDIDR Type: view CONSUMPTION Package: ODATA_SLC_PURG_CAT

Spend per Supplier and Mat. Group restricted by a given date

P_MatGrpSuplrSpendIDCRe is a Consumption CDS View that provides data about "Spend per Supplier and Mat. Group restricted by a given date" in SAP S/4HANA. It reads from 1 data source (P_MatGroupSupplierSpendIDC) and exposes 9 fields with key fields MaterialGroup, Supplier. Part of development package ODATA_SLC_PURG_CAT.

Data Sources (1)

SourceAliasJoin Type
P_MatGroupSupplierSpendIDC P_MatGroupSupplierSpendIDC from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Annotations (6)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PMGRPSPLRSPNDIDR view
EndUserText.label Spend per Supplier and Mat. Group restricted by a given date view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY MaterialGroup P_MatGroupSupplierSpendIDC MaterialGroup Product Group
KEY Supplier P_MatGroupSupplierSpendIDC Supplier Supplier
BusinessPartner P_MatGroupSupplierSpendIDC BusinessPartner Issuing Authority
MaterialGroupDisplayCurrency P_MatGroupSupplierSpendIDC MaterialGroupDisplayCurrency
MatlGrpNetAmountInDisplayCrcy P_MatGroupSupplierSpendIDC MatlGrpNetAmountInDisplayCrcy
SupplierDisplayCurrency P_MatGroupSupplierSpendIDC SupplierDisplayCurrency
SupplierNetAmountInDisplayCrcy P_MatGroupSupplierSpendIDC SupplierNetAmountInDisplayCrcy
FromPostingDate P_MatGroupSupplierSpendIDC FromPostingDate
PurchaseOrderDate P_MatGroupSupplierSpendIDC PurchaseOrderDate PO Date

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_MatGrpSuplrSpendIDCRe.
-- 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: PMGRPSPLRSPNDIDR
-- Parameters: P_KeyDate : sydate

CREATE VIEW P_MatGrpSuplrSpendIDCRe AS
SELECT
  P_MatGroupSupplierSpendIDC.MaterialGroup AS MaterialGroup,
  P_MatGroupSupplierSpendIDC.Supplier AS Supplier,
  P_MatGroupSupplierSpendIDC.BusinessPartner AS BusinessPartner,
  P_MatGroupSupplierSpendIDC.MaterialGroupDisplayCurrency AS MaterialGroupDisplayCurrency,
  P_MatGroupSupplierSpendIDC.MatlGrpNetAmountInDisplayCrcy AS MatlGrpNetAmountInDisplayCrcy,
  P_MatGroupSupplierSpendIDC.SupplierDisplayCurrency AS SupplierDisplayCurrency,
  P_MatGroupSupplierSpendIDC.SupplierNetAmountInDisplayCrcy AS SupplierNetAmountInDisplayCrcy,
  P_MatGroupSupplierSpendIDC.FromPostingDate AS FromPostingDate,
  P_MatGroupSupplierSpendIDC.PurchaseOrderDate AS PurchaseOrderDate
FROM P_MatGroupSupplierSpendIDC
;