fac_ve_rule_relation

DDL: FAC_VE_RULE_RELATION SQL: FACVERURE Type: view Package: FIN_VE_CENTRAL

Validation Rule Relation

fac_ve_rule_relation is a CDS View that provides data about "Validation Rule Relation" in SAP S/4HANA. It reads from 6 data sources and exposes 7 fields. Part of development package FIN_VE_CENTRAL.

Data Sources (6)

SourceAliasJoin Type
fac_grp_src_map grp_src left_outer
fac_grp_src_map grp_src left_outer
fac_scen_src_map map inner
vec_rule rule union_all
vec_rule_ds rule_ds from
vec_rule_ds rule_ds left_outer

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName FACVERURE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Validation Rule Relation view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view

Fields (7)

KeyFieldSource TableSource FieldDescription
ScenarioID vec_rule_ds scen_id Scenario
RuleID vec_rule_ds rule_id Rule ID
DataSource vec_rule_ds data_source Data Source
scen_idasScenarioID
RuleID vec_rule rule_num Rule ID
DataSource fac_scen_src_map data_source Data Source
DataSourceGroup fac_grp_src_map data_source_grp Data Source Group

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_relation.
-- 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: FACVERURE

CREATE VIEW fac_ve_rule_relation AS
SELECT
  rule_ds.scen_id AS ScenarioID,
  rule_ds.rule_id AS RuleID,
  rule_ds.data_source AS DataSource,
  grp_src.data_source_grp as DataSourceGroup AS scen_idasScenarioID,
  grp_src.data_source_grp AS DataSourceGroup
FROM vec_rule_ds AS rule_ds
LEFT OUTER JOIN fac_grp_src_map AS grp_src ON /* join condition not captured in parsed metadata */
INNER JOIN fac_scen_src_map AS map ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN vec_rule_ds AS rule_ds ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): vec_rule
;