I_SupplierEvalScorecard

DDL: I_SUPPLIEREVALSCORECARD SQL: ISUPLREVALSCARD Type: view BASIC

Supplier Evaluation Scorecard

I_SupplierEvalScorecard is a Basic CDS View that provides data about "Supplier Evaluation Scorecard" in SAP S/4HANA. It reads from 1 data source (/srmsmc/d_sesrt) and exposes 19 fields with key field SuplrEvalScorecardUUID. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/srmsmc/d_sesrt /srmsmc/d_sesrt from

Associations (8)

CardinalityTargetAliasCondition
[0..1] I_PurchasingCategory _PurchasingCategory $projection.PurgCatUUID = _PurchasingCategory.PurgCatUUID
[0..1] I_SupplierEvalScorecardSuplr _Supplier $projection.SuplrEvalScorecardUUID = _Supplier.SuplrEvalScorecardUUID
[0..1] I_SuplrEvalScorecardTmplRef _SupplierEvalTemplate $projection.SuplrEvalScorecardUUID = _SupplierEvalTemplate.SuplrEvalScorecardUUID
[0..1] I_SuplrEvalScorecardRspRef _SuplrEvalScorecardRspRef $projection.SuplrEvalScorecardUUID = _SuplrEvalScorecardRspRef.SuplrEvalScorecardUUID
[0..1] I_BusinessUser _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_SuplrEvalScorecardRootQnaire _SuplrEvalScorecardRootQnaire $projection.SuplrEvalScorecardUUID = _SuplrEvalScorecardRootQnaire.SuplrEvalScorecardUUID
[0..1] I_BusinessUser _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[1..1] I_Indicator _SuplrEvalIsFinal $projection.SuplrEvalIsFinal = _SuplrEvalIsFinal.IndicatorValue

Annotations (11)

NameValueLevelField
EndUserText.label Supplier Evaluation Scorecard view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ISUPLREVALSCARD view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.compositionRoot true view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY SuplrEvalScorecardUUID UUID
SupplierEvalScorecard WorklistID
SuplrEvalScorecardName Zone name
SuplrEvalStartDate Eval. Start Date
SuplrEvalEndDate Eval. End Date
PurgCatUUID NodeID
CreationDateTime Time Stamp
CreatedByUser User Name
LastChangeDateTime Time Stamp
LastChangedByUser User Name
SuplrEvalIsFinal Indicator
_SuplrEvalIsFinal _SuplrEvalIsFinal
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_Supplier _Supplier
_PurchasingCategory _PurchasingCategory
_SuplrEvalScorecardRootQnaire _SuplrEvalScorecardRootQnaire
_SupplierEvalTemplate _SupplierEvalTemplate
_SuplrEvalScorecardRspRef _SuplrEvalScorecardRspRef

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 I_SupplierEvalScorecard.
-- 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: ISUPLREVALSCARD

CREATE VIEW I_SupplierEvalScorecard AS
SELECT
  cast(db_key as /srmsmc/ses_uuid preserving type) AS SuplrEvalScorecardUUID,
  cast(id as /srmsmc/scorecard_id preserving type) AS SupplierEvalScorecard,
  cast(name as /srmsmc/ses_name preserving type) AS SuplrEvalScorecardName,
  cast(eval_start_date as /srmsmc/start_date preserving type) AS SuplrEvalStartDate,
  cast(eval_end_date as /srmsmc/end_date preserving type) AS SuplrEvalEndDate,
  cast(puc_key as /srmsmc/puc_uuid preserving type) AS PurgCatUUID,
  cast(crea_date_time as /srmsmc/created_on_ts preserving type) AS CreationDateTime,
  cast( crea_uname as vdm_createdbyuserid preserving type) AS CreatedByUser,
  cast( lchg_date_time as /srmsmc/last_changed_on_ts preserving type) AS LastChangeDateTime,
  cast( lchg_uname as vdm_lastchangedbyuserid preserving type) AS LastChangedByUser,
  cast( final_flag as /srmsmc/indicator preserving type) AS SuplrEvalIsFinal
FROM /srmsmc/d_sesrt
LEFT OUTER JOIN I_PurchasingCategory AS _PurchasingCategory ON PurgCatUUID = _PurchasingCategory.PurgCatUUID  -- association [0..1]
LEFT OUTER JOIN I_SupplierEvalScorecardSuplr AS _Supplier ON SuplrEvalScorecardUUID = _Supplier.SuplrEvalScorecardUUID  -- association [0..1]
LEFT OUTER JOIN I_SuplrEvalScorecardTmplRef AS _SupplierEvalTemplate ON SuplrEvalScorecardUUID = _SupplierEvalTemplate.SuplrEvalScorecardUUID  -- association [0..1]
LEFT OUTER JOIN I_SuplrEvalScorecardRspRef AS _SuplrEvalScorecardRspRef ON SuplrEvalScorecardUUID = _SuplrEvalScorecardRspRef.SuplrEvalScorecardUUID  -- association [0..1]
LEFT OUTER JOIN I_BusinessUser AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_SuplrEvalScorecardRootQnaire AS _SuplrEvalScorecardRootQnaire ON SuplrEvalScorecardUUID = _SuplrEvalScorecardRootQnaire.SuplrEvalScorecardUUID  -- association [0..1]
LEFT OUTER JOIN I_BusinessUser AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _SuplrEvalIsFinal ON SuplrEvalIsFinal = _SuplrEvalIsFinal.IndicatorValue  -- association [1..1]
;