I_FinValidationResult

DDL: I_FINVALIDATIONRESULT SQL: IFVRESULT Type: view BASIC Package: FIN_VE

Validation Result Data

I_FinValidationResult is a Basic CDS View that provides data about "Validation Result Data" in SAP S/4HANA. It reads from 1 data source (vec_result) and exposes 23 fields with key fields DataReleaseRequestID, ResultNodeID. It has 2 associations to related views. Part of development package FIN_VE.

Data Sources (1)

SourceAliasJoin Type
vec_result vec_result from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_FinDomainValueText _ResultText _ResultText.DomainValueName = 'VEC_VAL_RESULT' and _ResultText.DomainValue = $projection.ValidationResultID and _ResultText.Language = $session.system_language
[0..1] I_FinDomainValueText _EXCPText _EXCPText.DomainValueName = 'VEC_EXCEP' and _EXCPText.DomainValue = $projection.ExceptionMessageID and _EXCPText.Language = $session.system_language

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IFVRESULT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Validation Result Data view
ObjectModel.representativeKey DataReleaseRequestID view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY DataReleaseRequestID drruuid DR Request UUID
KEY ResultNodeID node_id Workflow Step
ValidationRuleID rule_id Rule ID
Currency currency_o Unit/Group Currency
ToleranceCurrencyCode currency_t Tolerance Currency
GroupByFieldValue group_by_val Group-By Field Value
GroupByField1Value group_by_val1 Value of Group-By 1
GroupByField2Value group_by_val2 Value of Group-By 2
ValidationResultID rule_result Validation Result
ExceptionMessageID rule_excep Exception
LeftOriginalAmount upper_operand_o Left Formula Value
RightOriginalAmount lower_operand_o Right Formula Value
LeftToleranceAmount upper_operand_t Left Value
RightToleranceAmount lower_operand_t Right Value
LeftValueOriginalCurrency upper_currency_o Currency Code
RightValueOriginalCurrency lower_currency_o Currency Code
DifferenceAmount diff_operand_t Difference
DifferencePercent diff_operand_t_pct Difference (%)
RuleToleranceValue tol_amt Tolerance
RuleTolerancePercent tol_percent Tolerance (%)
ToleranceAndOperatorIndicator tol_is_and Tolerance Operator
_ResultText _ResultText
_EXCPText _EXCPText

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_FinValidationResult.
-- 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: IFVRESULT

CREATE VIEW I_FinValidationResult AS
SELECT
  drruuid AS DataReleaseRequestID,
  node_id AS ResultNodeID,
  rule_id AS ValidationRuleID,
  currency_o AS Currency,
  currency_t AS ToleranceCurrencyCode,
  group_by_val AS GroupByFieldValue,
  group_by_val1 AS GroupByField1Value,
  group_by_val2 AS GroupByField2Value,
  rule_result AS ValidationResultID,
  rule_excep AS ExceptionMessageID,
  upper_operand_o AS LeftOriginalAmount,
  lower_operand_o AS RightOriginalAmount,
  upper_operand_t AS LeftToleranceAmount,
  lower_operand_t AS RightToleranceAmount,
  upper_currency_o AS LeftValueOriginalCurrency,
  lower_currency_o AS RightValueOriginalCurrency,
  diff_operand_t AS DifferenceAmount,
  diff_operand_t_pct AS DifferencePercent,
  tol_amt AS RuleToleranceValue,
  tol_percent AS RuleTolerancePercent,
  tol_is_and AS ToleranceAndOperatorIndicator
FROM vec_result
LEFT OUTER JOIN I_FinDomainValueText AS _ResultText ON _ResultText.DomainValueName = 'VEC_VAL_RESULT' AND _ResultText.DomainValue = ValidationResultID AND _ResultText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_FinDomainValueText AS _EXCPText ON _EXCPText.DomainValueName = 'VEC_EXCEP' AND _EXCPText.DomainValue = ExceptionMessageID AND _EXCPText.Language = $session.system_language  -- association [0..1]
;