P_RespyMgmtRule

DDL: P_RESPYMGMTRULE SQL: PRSMRULE Type: view BASIC

P_RespyMgmtRule is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (rsm_rule_w, rsm_rule_s, rsm_rule_w_t, rsm_rule_s_t) and exposes 15 fields with key field RuleID. It has 1 association to related views.

Data Sources (4)

SourceAliasJoin Type
rsm_rule_w Rule from
rsm_rule_s Rule union
rsm_rule_w_t RuleDescription left_outer
rsm_rule_s_t RuleDescription left_outer

Associations (1)

CardinalityTargetAliasCondition
[1..*] P_RespyMgmtRuleParameter _RuleParameter $projection.RuleID = _RuleParameter.RuleID

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PRSMRULE view
VDM.private true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY RuleID rsm_rule_s ruleid Tick.nr.rule
RuleDescription rsm_rule_s_t ruledescription Rule Description
RuleType rsm_rule_s ruletype Rule Type
RuleStatus rsm_rule_s rulestatus Rule Status
PFACRuleID rsm_rule_s pfacid PFAC Rule ID
BADIFilterValue rsm_rule_s badifilter Filter
BRFPlusID rsm_rule_s brfplusid BRFplus ID
ruleidasRuleID
RuleDescription rsm_rule_s_t ruledescription Rule Description
RuleType rsm_rule_s ruletype Rule Type
RuleStatus rsm_rule_s rulestatus Rule Status
PFACRuleID rsm_rule_s pfacid PFAC Rule ID
BADIFilterValue rsm_rule_s badifilter Filter
BRFPlusID rsm_rule_s brfplusid BRFplus ID
_RuleParameter _RuleParameter

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 P_RespyMgmtRule.
-- 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: PRSMRULE

CREATE VIEW P_RespyMgmtRule AS
SELECT
  Rule.ruleid AS RuleID,
  RuleDescription.ruledescription AS RuleDescription,
  Rule.ruletype AS RuleType,
  Rule.rulestatus AS RuleStatus,
  Rule.pfacid AS PFACRuleID,
  Rule.badifilter AS BADIFilterValue,
  Rule.brfplusid AS BRFPlusID
FROM rsm_rule_w AS Rule
LEFT OUTER JOIN rsm_rule_w_t AS RuleDescription ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN rsm_rule_s_t AS RuleDescription ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_RespyMgmtRuleParameter AS _RuleParameter ON RuleID = _RuleParameter.RuleID  -- association [1..*]
-- UNION with additional select branch(es): rsm_rule_s
;