R_MDORULEASSIGNMENT

DDL: R_MDORULEASSIGNMENT Type: view_entity

MDO: Data Ownership - Rule Assignment

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

Data Sources (1)

SourceAliasJoin Type
mdo_ruleassgnmnt mdo_ruleassgnmnt from

Associations (1)

CardinalityTargetAliasCondition
[0..1] R_MDOFIELDGROUP _FieldGroup $projection.FieldGroupId = _FieldGroup.Id

Annotations (2)

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

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Id id WorklistID
FieldGroupId fieldgroupid ID
ParentId parentid UUID
LastChangedAt _Parent LastChangedAt Time Stamp
OwnershipModelId _Parent ParentId UUID
TechnicalName _FieldGroup TechnicalName Technical Name
_OwnershipModel _Parent _Parent
_Parent _Parent
_FieldGroup _FieldGroup

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_MDORULEASSIGNMENT.
-- 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_MDORULEASSIGNMENT AS
SELECT
  Id,
  FieldGroupId,
  ParentId,
  _Parent.LastChangedAt AS LastChangedAt,
  _Parent.ParentId AS OwnershipModelId,
  _FieldGroup.TechnicalName AS TechnicalName,
  _Parent._Parent AS _OwnershipModel
FROM mdo_ruleassgnmnt
LEFT OUTER JOIN R_MDOFIELDGROUP AS _FieldGroup ON FieldGroupId = _FieldGroup.Id  -- association [0..1]
;