fac_ve_rule

DDL: FAC_VE_RULE SQL: FACVERULE Type: view

Validation Rule

fac_ve_rule is a CDS View that provides data about "Validation Rule" in SAP S/4HANA. It reads from 1 data source (vec_rule) and exposes 5 fields with key fields ValidationScenarioID, ValidationRuleStatus, ValidationRuleID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
vec_rule rule from

Associations (1)

CardinalityTargetAliasCondition
[0..*] FAC_VE_RULET _Text _Text.ValidationScenarioID = $projection.ValidationScenarioID and _Text.ValidationRuleStatus = $projection.ValidationRuleStatus and _Text.ValidationRuleID = $projection.ValidationRuleID

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName FACVERULE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Validation Rule view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
Search.searchable true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ValidationScenarioID vec_rule scen_id Scenario
KEY ValidationRuleStatus vec_rule state Vehicle Region
KEY ValidationRuleID vec_rule rule_num Rule ID
ENABLE vec_rule enable Enabled
_Text _Text

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 fac_ve_rule.
-- 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: FACVERULE

CREATE VIEW fac_ve_rule AS
SELECT
  rule.scen_id AS ValidationScenarioID,
  rule.state AS ValidationRuleStatus,
  rule.rule_num AS ValidationRuleID,
  rule.enable AS ENABLE
FROM vec_rule AS rule
LEFT OUTER JOIN FAC_VE_RULET AS _Text ON _Text.ValidationScenarioID = ValidationScenarioID AND _Text.ValidationRuleStatus = ValidationRuleStatus AND _Text.ValidationRuleID = ValidationRuleID  -- association [0..*]
;