R_MDORULE

DDL: R_MDORULE Type: view_entity

MDO: Data Ownership Model - Rule

R_MDORULE is a CDS View that provides data about "MDO: Data Ownership Model - Rule" in SAP S/4HANA. It reads from 1 data source (mdo_rule) and exposes 10 fields with key field Id. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
mdo_rule mdo_rule from

Associations (1)

CardinalityTargetAliasCondition
[0..*] R_MDORULECONDITION _RuleCondition

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label MDO: Data Ownership Model - Rule view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Id id WorklistID
RuleNumber rulenumber Sequence
OwnerSystem ownersystem Business System
Summary summary Summary
ParentId parentid UUID
LastChangedAt _Parent LastChangedAt Time Stamp
OwnershipModelId _Parent ParentId UUID
_OwnershipModel _Parent _Parent
_Parent _Parent
_RuleCondition _RuleCondition

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 R_MDORULE.
-- 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 R_MDORULE AS
SELECT
  Id,
  RuleNumber,
  OwnerSystem,
  Summary,
  ParentId,
  _Parent.LastChangedAt AS LastChangedAt,
  _Parent.ParentId AS OwnershipModelId,
  _Parent._Parent AS _OwnershipModel
FROM mdo_rule
LEFT OUTER JOIN R_MDORULECONDITION AS _RuleCondition ON /* condition not available in parsed metadata */  -- association [0..*]
;