P_OverallSEOvwPage

DDL: P_OVERALLSEOVWPAGE SQL: PMMOVERALLSEOVP Type: view CONSUMPTION

Overall SE Overview Page

P_OverallSEOvwPage is a Consumption CDS View that provides data about "Overall SE Overview Page" in SAP S/4HANA. It reads from 7 data sources and exposes 20 fields.

Data Sources (7)

SourceAliasJoin Type
I_CalendarYear _I_CalendarYear left_outer
I_CalendarYear _I_CalendarYear left_outer
C_OperationalEvalSupplierScore C_OperationalEvalSupplierScore from
I_SuplrEvalCriteriaGenConfign CriteriaConfig left_outer
I_PurgAnalyticsConfiguration MigrationStatus inner
P_SuplrEvalCriteria P_SuplrEvalCriteria left_outer
P_SupplierEvalSoft P_SupplierEvalSoft union_all

Parameters (4)

NameTypeDefault
P_DisplayCurrency displaycurrency
P_StartDate bedat
P_EndDate bedat
P_DateFunction datefunctionid

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PMMOVERALLSEOVP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Overall SE Overview Page view

Fields (20)

KeyFieldSource TableSource FieldDescription
Supplier HardFacts Supplier Supplier
PurgDocMigrtnIsCmpltdForAnlyts PurgDocMigrtnIsCmpltdForAnlyts Intrastat rel.
SuplrEvalCritraDelivCmpltFlag
SuplrEvalCritraDelivCompleted SuplrEvalCritraDelivCompleted Delivery Completed
PurchaseOrderNetPriceAmount
OperationalScore
OperationalScoreCount
SuplrEvalCalculatedScoreValue
SupplierEvalScoreTargetValue
P_StartDate
Supplier Supplier
PurgDocMigrtnIsCmpltdForAnlyts I_PurgAnalyticsConfiguration IsIntrastatReportingRelevant Intrastat rel.
SuplrEvalCritraDelivCmpltFlag
SuplrEvalCritraDelivCompleted I_SuplrEvalCriteriaGenConfign SuplrEvalCritraDelivCompleted Delivery Completed
PurchaseOrderNetPriceAmount
OperationalScore
OperationalScoreCount
SuplrEvalCalculatedScoreValue
SupplierEvalScoreTargetValue
NumberOfResponses

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_OverallSEOvwPage.
-- 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: PMMOVERALLSEOVP
-- Parameters: P_DisplayCurrency : displaycurrency, P_StartDate : bedat, P_EndDate : bedat, P_DateFunction : datefunctionid

CREATE VIEW P_OverallSEOvwPage AS
SELECT
  HardFacts.Supplier AS Supplier,
  PurgDocMigrtnIsCmpltdForAnlyts,
  '' AS SuplrEvalCritraDelivCmpltFlag,
  SuplrEvalCritraDelivCompleted,
  sum( HardFacts.PurchaseOrderNetPriceAmount) AS PurchaseOrderNetPriceAmount,
  cast( sum( HardFacts.SupplierOperationalScore ) as mm_pur_ana_suplreval_opl_score ) AS OperationalScore,
  count(*) AS OperationalScoreCount,
  cast ( _I_CalendarYear.NumberOfDays as mm_a_supplier_opl_score ) AS SuplrEvalCalculatedScoreValue,
  cast ( 0 as /srmsmc/supplr_target_score ) AS SupplierEvalScoreTargetValue,
  cast ( 0 as /srmsmc/response_count ) as NumberOfResponses AS P_StartDate,
  sum( SoftFacts.NumberOfResponses ) AS NumberOfResponses
FROM C_OperationalEvalSupplierScore
LEFT OUTER JOIN I_CalendarYear AS _I_CalendarYear ON /* join condition not captured in parsed metadata */
INNER JOIN I_PurgAnalyticsConfiguration AS MigrationStatus ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SuplrEvalCriteriaGenConfign AS CriteriaConfig ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SuplrEvalCriteria ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): P_SupplierEvalSoft
;