P_RespyMgmtRespyRule
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)
| Source | Alias | Join 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)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | P_RespyMgmtRuleParam | _RuleParameter | $projection.ResponsibilityRule = _RuleParameter.ResponsibilityRule |
| [1..*] | P_RespyMgmtRuleText | _RuleText | $projection.ResponsibilityRule = _RuleText.ResponsibilityRule |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA