P_RespyMgmtRule
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)
| Source | Alias | Join 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)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | P_RespyMgmtRuleParameter | _RuleParameter | $projection.RuleID = _RuleParameter.RuleID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
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