C_SuplrEvalByQnaireCube

DDL: C_SUPLREVALBYQNAIRECUBE SQL: CMMSEQNAIRECUBE Type: view CONSUMPTION

Supplier Evaluation by Questionnaire Cube

C_SuplrEvalByQnaireCube (Consumption)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sourcing & Procurement

C_SuplrEvalByQnaireCube is a Consumption CDS View (Cube) that provides data about "Supplier Evaluation by Questionnaire Cube" in SAP S/4HANA. It reads from 1 data source (P_SupplierEvalSoft) and exposes 22 fields with key fields SuplrEvalScorecardUUID, Supplier. It has 4 associations to related views.

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentMM-PUR-ANA
CapabilitiesData Provider for Analytical Queries
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
P_SupplierEvalSoft P_SupplierEvalSoft from

Parameters (2)

NameTypeDefault
P_StartDate vdm_validitystart
P_EndDate vdm_validityend

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[1..1] I_Country _Country $projection.country = _Country.Country
[0..1] I_Region _SupplierRegion $projection.region = _SupplierRegion.Region and $projection.country = _SupplierRegion.Country
[1..1] I_PurchasingCategoryValueHelp _PurchasingCategory $projection.PurchasingCategory = _PurchasingCategory.PurchasingCategory

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CMMSEQNAIRECUBE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Supplier Evaluation by Questionnaire Cube view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view
AbapCatalog.preserveKey true view
Metadata.allowExtensions true view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
Metadata.ignorePropagatedAnnotations true view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY SuplrEvalScorecardUUID SuplrEvalScorecardUUID Evaluation Scorecard UUID
KEY Supplier Supplier Supplier
SupplierEvalScorecard SupplierEvalScorecard Evaluation Scorecard
SuplrEvalScorecardName SuplrEvalScorecardName Name of a Supplier Evaluation Scorecard
SuplrEvalStartDate SuplrEvalStartDate Start Date
SuplrEvalEndDate SuplrEvalEndDate End Date
PurchasingCategory PurchasingCategory Purchasing Category ID
PurgCatName PurgCatName Name of Purchasing Category
Country _Supplier Country Country/Region Key
Region _Supplier Region Region (State, Province, County)
SuplrEvalCalculatedScoreValue Questionnaire Score
SuplrEvalQnaireScoreValue Questionnaire Score
SupplierEvalScoreTargetValue TargetScore Target Score
TargetScoreValue TargetScore Target Score
NumberOfResponses NumberOfResponses Number of Responses
AnswerScoreValue Minimum Target Score
MinimalScoreValue Minimum Target Score
NmbrOfSuplrEvalQnaire Number of Questionnaire
_Supplier _Supplier
_Country _Country
_SupplierRegion _SupplierRegion
_PurchasingCategory _PurchasingCategory

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_SuplrEvalByQnaireCube.
-- 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: CMMSEQNAIRECUBE
-- Parameters: P_StartDate : vdm_validitystart, P_EndDate : vdm_validityend

CREATE VIEW C_SuplrEvalByQnaireCube AS
SELECT
  SuplrEvalScorecardUUID,
  Supplier,
  SupplierEvalScorecard,
  SuplrEvalScorecardName,
  SuplrEvalStartDate,
  SuplrEvalEndDate,
  PurchasingCategory,
  PurgCatName,
  _Supplier.Country AS Country,
  _Supplier.Region AS Region,
  cast( CalculatedScore as questionnairescore ) AS SuplrEvalCalculatedScoreValue,
  cast( CalculatedScore as questionnairescore ) AS SuplrEvalQnaireScoreValue,
  TargetScore AS SupplierEvalScoreTargetValue,
  TargetScore AS TargetScoreValue,
  NumberOfResponses,
  cast( MinimalScore as mm_a_min_target_score ) AS AnswerScoreValue,
  cast( MinimalScore as mm_a_min_target_score ) AS MinimalScoreValue,
  cast(1 as abap.int4) AS NmbrOfSuplrEvalQnaire
FROM P_SupplierEvalSoft
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [1..1]
LEFT OUTER JOIN I_Country AS _Country ON country = _Country.Country  -- association [1..1]
LEFT OUTER JOIN I_Region AS _SupplierRegion ON region = _SupplierRegion.Region AND country = _SupplierRegion.Country  -- association [0..1]
LEFT OUTER JOIN I_PurchasingCategoryValueHelp AS _PurchasingCategory ON PurchasingCategory = _PurchasingCategory.PurchasingCategory  -- association [1..1]
;