P_RespyMgmtRespyRule

DDL: P_RESPYMGMTRESPYRULE SQL: PRESPYMRESPYRULE Type: view BASIC Package: CA_RSM_RESPY_RULE_DDIC

Responsibility Rule

P_RespyMgmtRespyRule is a Basic CDS View that provides data about "Responsibility Rule" in SAP S/4HANA. It reads from 4 data sources (rsm_rule_w, rsm_rule_w_t, rsm_rule_s, rsm_rule_s_t) and exposes 19 fields with key field ResponsibilityRule. It has 2 associations to related views. Part of development package CA_RSM_RESPY_RULE_DDIC.

Data Sources (4)

SourceAliasJoin Type
rsm_rule_w CustomRule union_all
rsm_rule_w_t CustomRuleDescription left_outer
rsm_rule_s Rule from
rsm_rule_s_t RuleDescription left_outer

Associations (2)

CardinalityTargetAliasCondition
[1..*] P_RespyMgmtRuleParam _RuleParameter $projection.ResponsibilityRule = _RuleParameter.ResponsibilityRule
[1..*] P_RespyMgmtRuleText _RuleText $projection.ResponsibilityRule = _RuleText.ResponsibilityRule

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PRESPYMRESPYRULE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY ResponsibilityRule
RespyMResponsibilityRuleDesc rsm_rule_s_t ruledescription Rule Description
RespyRuleImplementationType rsm_rule_s ruletype Rule Type
RespyMResponsibilityRuleStatus rsm_rule_s rulestatus Rule Status
pfacid rsm_rule_s pfacid PFAC Rule ID
RespyRuleBusAddInFilterValue rsm_rule_s badifilter Filter
brfplusid rsm_rule_s brfplusid BRFplus ID
RespyMgmtRespyRuleSupplierCat
_RuleParameter _RuleParameter
ruleidasResponsibilityRule
RespyMResponsibilityRuleDesc rsm_rule_w_t ruledescription Rule Description
RespyRuleImplementationType rsm_rule_w ruletype Rule Type
RespyMResponsibilityRuleStatus rsm_rule_w rulestatus Rule Status
pfacid rsm_rule_w pfacid PFAC Rule ID
RespyRuleBusAddInFilterValue rsm_rule_w badifilter Filter
brfplusid rsm_rule_w brfplusid BRFplus ID
RespyMgmtRespyRuleSupplierCat
_RuleParameter _RuleParameter
_RuleText _RuleText

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_RespyMgmtRespyRule.
-- 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: PRESPYMRESPYRULE

CREATE VIEW P_RespyMgmtRespyRule AS
SELECT
  cast( Rule.ruleid as rsm_de_respy_rule_id ) AS ResponsibilityRule,
  RuleDescription.ruledescription AS RespyMResponsibilityRuleDesc,
  Rule.ruletype AS RespyRuleImplementationType,
  Rule.rulestatus AS RespyMResponsibilityRuleStatus,
  Rule.pfacid AS pfacid,
  Rule.badifilter AS RespyRuleBusAddInFilterValue,
  Rule.brfplusid AS brfplusid,
  cast('SAP' as rsm_de_respy_rule_suplr_cat) AS RespyMgmtRespyRuleSupplierCat
FROM rsm_rule_s AS Rule
LEFT OUTER JOIN rsm_rule_s_t AS RuleDescription ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN rsm_rule_w_t AS CustomRuleDescription ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_RespyMgmtRuleParam AS _RuleParameter ON ResponsibilityRule = _RuleParameter.ResponsibilityRule  -- association [1..*]
LEFT OUTER JOIN P_RespyMgmtRuleText AS _RuleText ON ResponsibilityRule = _RuleText.ResponsibilityRule  -- association [1..*]
-- UNION ALL with additional select branch(es): rsm_rule_w
;