C_SVTCalculationResult

DDL: C_SVTCALCULATIONRESULT Type: view_entity CONSUMPTION Package: EHPMA_CNS_SVT

SVT Calculation

C_SVTCalculationResult is a Consumption CDS View that provides data about "SVT Calculation" in SAP S/4HANA. It reads from 1 data source (I_SVTCalculationResult) and exposes 42 fields with key fields SVTCalculationResultUUID, SVTCalculationUUID. It has 8 associations to related views. It is exposed through 1 OData service (UI_SVTPROCDMATDOCUMENTTP_SRV). Part of development package EHPMA_CNS_SVT.

Data Sources (1)

SourceAliasJoin Type
I_SVTCalculationResult I_SVTCalculationResult from

Associations (8)

CardinalityTargetAliasCondition
[0..1] I_SVTCalcDecisionReason _SVTCalcDecisionReason $projection.SVTCalculationDecisionReason = _SVTCalcDecisionReason.SVTCalculationDecisionReason
[0..1] I_SVTCalculationDecision _SVTCalculationDecision $projection.SVTCalculationDecision = _SVTCalculationDecision.SVTCalculationDecision
[0..1] C_SVTCalcChmlCmplncInfoRgln _SVTCalcChmlCmplncInfoRgln $projection.SVTCalcChmCmInRglnUUID = _SVTCalcChmlCmplncInfoRgln.SVTCalcChmCmInRglnUUID
[0..1] I_SVTCalcChmlCmplncInfo _SVTCalcChmlCmplncInfo $projection.SVTCalcChmCmInUUID = _SVTCalcChmlCmplncInfo.SVTCalcChmCmInUUID
[0..1] I_SVTCalculationStatus _SVTCalculationStatus $projection.SVTCalculationStatus = _SVTCalculationStatus.SVTCalculationStatus
[0..1] I_ProdCmplncEventType _ProdCmplncEventType $projection.ProdCmplncEventType = _ProdCmplncEventType.ProdCmplncEventType
[0..*] C_SVTCalculationItemResult _SVTCalculationItemResult $projection.SVTCalculationResultUUID = _SVTCalculationItemResult.SVTCalculationResultUUID
[0..*] C_SVTObjectExclusionReason _SVTObjectExclusionReason $projection.SVTCalcChmCmInUUID = _SVTObjectExclusionReason.SVTObjectUUID and _SVTObjectExclusionReason.SVTObjExclusionReasonIsDeleted = ''

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
Metadata.allowExtensions true view
EndUserText.label SVT Calculation view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
UI.headerInfo.title.value ComplianceRequirement view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.description.value CreationDateTime view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
UI_SVTPROCDMATDOCUMENTTP_SRV UI_SVTPROCDMATDOCUMENTTP_SRV V4 C1 NOT_RELEASED

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY SVTCalculationResultUUID SVTCalculationResultUUID Calculation Header Profile Result UUID
KEY SVTCalculationUUID SVTCalculationUUID Calculation uuid
ProdCmplncEventUUID ProdCmplncEventUUID Product Compliance Event
ProdCmplncEventType ProdCmplncEventType Event Type
ProdCmplncEventTypeText
SVTCalcChmCmInRglnUUID SVTCalcChmCmInRglnUUID CCI Regulatory Profile UUID
SVTCalcChmCmInUUID SVTCalcChmCmInUUID SVT CCI User Profile UUID
CreationDateTime CreationDateTime Timestamp
SVTCalculationDecision SVTCalculationDecision Calculation Profile Result Action
SVTCalculationDecisionText
SVTCalculationDecisionReason SVTCalculationDecisionReason SVT Action Reason
SVTCalcDecisionReasonText
ProdCmplncLegalEntity ProdCmplncLegalEntity Legal Entity ID
SVTCalculationStatus SVTCalculationStatus SVT Calculation Status
SVTCalculationStatusText
CmplRqVersName
ComplianceRequirement
CmplRqPattern
CmplRqPatternName
EffectiveDate
CmplRqApplicationComponent
CmplRqApplicationComponentName
ChmlCmplncInfoCombinedName
ProdCmplncLegalArea _SVTCalcChmlCmplncInfoRgln ChmlCompositionType Legal Area
ProdCmplncLegalAreaName
CmplRqRsltUUID _SVTCalcChmlCmplncInfo CmplRqRsltUUID SDS Assessment
ChmlCmplncInfoLastChgdDateTime _SVTCalcChmlCmplncInfo ChmlCmplncInfoLastChgdDateTime
SVTCalculationValidityStatus _SVTCalcChmlCmplncInfo SVTCalculationValidityStatus
SVTCalcValidityStatusText
ChmlCompositionType
ChmlCompositionTypeName
ChmlCompositionStatus
ChmlCompositionStatusName
ReleaseDateTime
SubstVolRetrackingTypeText
ChmlCmplncInfoUUID _SVTCalcChmlCmplncInfoRgln ChmlCmplncInfoUUID Chemical Compliance Information PP
_ChmlCmplncPrimMatl _SVTCalcChmlCmplncInfoRgln _ChmlCmplncPrimMatl
_SVTCalcChmlCmplncInfoRgln _SVTCalcChmlCmplncInfoRgln
_SVTCalcChmlCmplncInfo _SVTCalcChmlCmplncInfo
_SVTCalculationItemResult _SVTCalculationItemResult
_SVTObjectExclusionReason _SVTObjectExclusionReason
_SVTCalculation _SVTCalculation

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_SVTCalculationResult.
-- 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.

CREATE VIEW C_SVTCalculationResult AS
SELECT
  SVTCalculationResultUUID,
  SVTCalculationUUID,
  ProdCmplncEventUUID,
  ProdCmplncEventType,
  _ProdCmplncEventType._Text[1: Language = $session.system_language].ProdCmplncEventTypeText AS ProdCmplncEventTypeText,
  SVTCalcChmCmInRglnUUID,
  SVTCalcChmCmInUUID,
  CreationDateTime,
  SVTCalculationDecision,
  _SVTCalculationDecision._Text[ 1: Language = $session.system_language ].SVTCalculationDecisionText AS SVTCalculationDecisionText,
  SVTCalculationDecisionReason,
  _SVTCalcDecisionReason._Text[ 1: Language = $session.system_language ].SVTCalcDecisionReasonText AS SVTCalcDecisionReasonText,
  ProdCmplncLegalEntity,
  SVTCalculationStatus,
  _SVTCalculationStatus._Text[ 1: Language = $session.system_language ].SVTCalculationStatusText AS SVTCalculationStatusText,
  _SVTCalcChmlCmplncInfoRgln._CmplRqVers.CmplRqVersName AS CmplRqVersName,
  _SVTCalcChmlCmplncInfoRgln._CmplRqVers.ComplianceRequirement AS ComplianceRequirement,
  _SVTCalcChmlCmplncInfoRgln._CmplRqVers.CmplRqPattern AS CmplRqPattern,
  _SVTCalcChmlCmplncInfoRgln._CmplRqVers._CompReqPattern.CmplRqPatternName AS CmplRqPatternName,
  _SVTCalcChmlCmplncInfoRgln._CmplRqVers.EffectiveDate AS EffectiveDate,
  _SVTCalcChmlCmplncInfoRgln._CmplRqVers.CmplRqApplicationComponent AS CmplRqApplicationComponent,
  _SVTCalcChmlCmplncInfoRgln._CmplRqVers._CmplRqApplCompText.CmplRqApplicationComponentName AS CmplRqApplicationComponentName,
  _SVTCalcChmlCmplncInfoRgln._ChmlCmplncPrimMatl.ChmlCmplncInfoCombinedName AS ChmlCmplncInfoCombinedName,
  _SVTCalcChmlCmplncInfoRgln.ChmlCompositionType AS ProdCmplncLegalArea,
  _SVTCalcChmlCmplncInfoRgln._LegalAreaText.ProdCmplncLegalAreaName AS ProdCmplncLegalAreaName,
  _SVTCalcChmlCmplncInfo.CmplRqRsltUUID AS CmplRqRsltUUID,
  _SVTCalcChmlCmplncInfo.ChmlCmplncInfoLastChgdDateTime AS ChmlCmplncInfoLastChgdDateTime,
  _SVTCalcChmlCmplncInfo.SVTCalculationValidityStatus AS SVTCalculationValidityStatus,
  _SVTCalcChmlCmplncInfo._SVTCalculationStatus._Text[1: Language = $session.system_language].SVTCalculationStatusText AS SVTCalcValidityStatusText,
  _SVTCalcChmlCmplncInfo._ChmlComposition.ChmlCompositionType AS ChmlCompositionType,
  _SVTCalcChmlCmplncInfo._ChmlComposition._CompositionType._Text[1: Language = $session.system_language ].ChmlCompositionTypeName AS ChmlCompositionTypeName,
  _SVTCalcChmlCmplncInfo._ChmlComposition.ChmlCompositionStatus AS ChmlCompositionStatus,
  _SVTCalcChmlCmplncInfo._ChmlComposition._CompositionStatus._Text[1: Language = $session.system_language ].ChmlCompositionStatusName AS ChmlCompositionStatusName,
  _SVTCalcChmlCmplncInfo._ChmlComposition.ReleaseDateTime AS ReleaseDateTime,
  cast( '' as abap.char( 60 )) AS SubstVolRetrackingTypeText,
  _SVTCalcChmlCmplncInfoRgln.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
  _SVTCalcChmlCmplncInfoRgln._ChmlCmplncPrimMatl AS _ChmlCmplncPrimMatl
FROM I_SVTCalculationResult
LEFT OUTER JOIN I_SVTCalcDecisionReason AS _SVTCalcDecisionReason ON SVTCalculationDecisionReason = _SVTCalcDecisionReason.SVTCalculationDecisionReason  -- association [0..1]
LEFT OUTER JOIN I_SVTCalculationDecision AS _SVTCalculationDecision ON SVTCalculationDecision = _SVTCalculationDecision.SVTCalculationDecision  -- association [0..1]
LEFT OUTER JOIN C_SVTCalcChmlCmplncInfoRgln AS _SVTCalcChmlCmplncInfoRgln ON SVTCalcChmCmInRglnUUID = _SVTCalcChmlCmplncInfoRgln.SVTCalcChmCmInRglnUUID  -- association [0..1]
LEFT OUTER JOIN I_SVTCalcChmlCmplncInfo AS _SVTCalcChmlCmplncInfo ON SVTCalcChmCmInUUID = _SVTCalcChmlCmplncInfo.SVTCalcChmCmInUUID  -- association [0..1]
LEFT OUTER JOIN I_SVTCalculationStatus AS _SVTCalculationStatus ON SVTCalculationStatus = _SVTCalculationStatus.SVTCalculationStatus  -- association [0..1]
LEFT OUTER JOIN I_ProdCmplncEventType AS _ProdCmplncEventType ON ProdCmplncEventType = _ProdCmplncEventType.ProdCmplncEventType  -- association [0..1]
LEFT OUTER JOIN C_SVTCalculationItemResult AS _SVTCalculationItemResult ON SVTCalculationResultUUID = _SVTCalculationItemResult.SVTCalculationResultUUID  -- association [0..*]
LEFT OUTER JOIN C_SVTObjectExclusionReason AS _SVTObjectExclusionReason ON SVTCalcChmCmInUUID = _SVTObjectExclusionReason.SVTObjectUUID AND _SVTObjectExclusionReason.SVTObjExclusionReasonIsDeleted = ''  -- association [0..*]
;