I_Rule_Purpose

DDL: I_RULE_PURPOSE SQL: RULE_PURPOSE Type: view

Basic view for Rule Purpose

I_Rule_Purpose is a CDS View that provides data about "Basic view for Rule Purpose" in SAP S/4HANA. It has 1 association to related views.

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_BUS_RULE_MAIN _Rule $projection.rule_id = _Rule.rule_id

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName RULE_PURPOSE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Basic view for Rule Purpose view
ObjectModel.writeActivePersistence lrm_bus_rule view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.updateEnabled true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY rule_id rp rule_id Rule ID
purpose rp purpose Purpose Type
_Rule _Rule

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_Rule_Purpose.
-- 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: RULE_PURPOSE

CREATE VIEW I_Rule_Purpose AS
SELECT
  rp.rule_id AS rule_id,
  rp.purpose AS purpose
LEFT OUTER JOIN I_BUS_RULE_MAIN AS _Rule ON rule_id = _Rule.rule_id  -- association [1..1]
;