R_PubSecSplittingRuleTP
Distribution Rule
R_PubSecSplittingRuleTP is a Transactional CDS View that provides data about "Distribution Rule" in SAP S/4HANA. It reads from 1 data source (I_PubSecSplittingRule) and exposes 25 fields with key field PubSecSplitRule. It has 11 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PubSecSplittingRule | iSplitRule | from |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PubSecSplittingGroup | _SplittingGroup | $projection.PubSecSplitRuleGroupID = _SplittingGroup.PubSecSplitRuleGroupID |
| [1..*] | I_PubSecSplitRuleActnPrflTxt | _ActionProfileText | $projection.PubSecSplitRuleActionProfID = _ActionProfileText.PubSecSplitRuleActionProfID |
| [1..*] | I_PubSecSplitRuleFldProfileTxt | _FieldProfileText | $projection.PubSecSplitRuleFieldProfID = _FieldProfileText.PubSecSplitRuleFieldProfID |
| [1..*] | I_PubSecSplitRuleBindgTypeTxt | _RuleBindingTypeText | $projection.PubSecSplitBindingType = _RuleBindingTypeText.PubSecSplitBindingType |
| [1..*] | I_PubSecSplitRuleRmndrTypeText | _RemainderTypeText | $projection.PubSecSplitRuleRemainderType = _RemainderTypeText.PubSecSplitRuleRemainderType |
| [1..*] | I_PubSecSplitRuleStatusText | _StatusText | $projection.PubSecSplitRuleStatus = _StatusText.PubSecSplitRuleStatus |
| [1..*] | I_PubSecSplitRuleTypeTxt | _SplitRuleTypeText | $projection.PubSecSplitRuleType = _SplitRuleTypeText.PubSecSplitRuleType |
| [1..*] | I_PubSecSplitRuleRmndrTypeText | _RemainderText | $projection.PubSecSplitRuleRemainderType = _RemainderText.PubSecSplitRuleRemainderType |
| [1..*] | I_PubSecSplittingGroupText | _GroupText | $projection.PubSecSplitRuleGroupID = _GroupText.PubSecSplitRuleGroupID |
| [0..*] | R_PubSecSplitRuleDistrTP | _SplittingRuleDistribution | |
| [0..*] | R_PubSecSplittingRuleT | _Text | |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Distribution Rule | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.sapObjectNodeType.name | PublicSectorDistributionRule | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PubSecSplitRule | PubSecSplitRule | Distrib. Rule | |
| PubSecSplitRuleGroupID | PubSecSplitRuleGroupID | UUID | ||
| PubSecSplitRuleStatus | PubSecSplitRuleStatus | Workflow Status | ||
| PubSecSplitRuleStatusText | ||||
| PubSecSplitRuleGroupAuthznGrp | _SplittingGroup | PubSecSplitRuleGroupAuthznGrp | ||
| PubSecSplitRuleFieldProfID | PubSecSplitRuleFieldProfID | Field Profile | ||
| PubSecSplitRuleActionProfID | PubSecSplitRuleActionProfID | Action Profile | ||
| PubSecSplitRuleType | PubSecSplitRuleType | Rule Type | ||
| PubSecSplitBindingType | PubSecSplitBindingType | Service Binding Type | ||
| PubSecSplitRuleRemainderType | PubSecSplitRuleRemainderType | Remainder | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| _Text | _Text | |||
| _SplittingRuleDistribution | _SplittingRuleDistribution | |||
| _SplittingGroup | _SplittingGroup | |||
| _ActionProfileText | _ActionProfileText | |||
| _FieldProfileText | _FieldProfileText | |||
| _RuleBindingTypeText | _RuleBindingTypeText | |||
| _RemainderTypeText | _RemainderTypeText | |||
| _StatusText | _StatusText | |||
| _SplitRuleTypeText | _SplitRuleTypeText | |||
| _RemainderText | _RemainderText | |||
| _GroupText | _GroupText |
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_PubSecSplittingRuleTP.
-- 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_PubSecSplittingRuleTP AS
SELECT
PubSecSplitRule,
PubSecSplitRuleGroupID,
PubSecSplitRuleStatus,
_StatusText[1:Language =$session.system_language].PubSecSplitRuleStatusText AS PubSecSplitRuleStatusText,
_SplittingGroup.PubSecSplitRuleGroupAuthznGrp AS PubSecSplitRuleGroupAuthznGrp,
PubSecSplitRuleFieldProfID,
PubSecSplitRuleActionProfID,
PubSecSplitRuleType,
PubSecSplitBindingType,
PubSecSplitRuleRemainderType,
CreatedByUser,
CreationDate,
LastChangedByUser,
LastChangeDate
FROM I_PubSecSplittingRule AS iSplitRule
LEFT OUTER JOIN I_PubSecSplittingGroup AS _SplittingGroup ON PubSecSplitRuleGroupID = _SplittingGroup.PubSecSplitRuleGroupID -- association [1..1]
LEFT OUTER JOIN I_PubSecSplitRuleActnPrflTxt AS _ActionProfileText ON PubSecSplitRuleActionProfID = _ActionProfileText.PubSecSplitRuleActionProfID -- association [1..*]
LEFT OUTER JOIN I_PubSecSplitRuleFldProfileTxt AS _FieldProfileText ON PubSecSplitRuleFieldProfID = _FieldProfileText.PubSecSplitRuleFieldProfID -- association [1..*]
LEFT OUTER JOIN I_PubSecSplitRuleBindgTypeTxt AS _RuleBindingTypeText ON PubSecSplitBindingType = _RuleBindingTypeText.PubSecSplitBindingType -- association [1..*]
LEFT OUTER JOIN I_PubSecSplitRuleRmndrTypeText AS _RemainderTypeText ON PubSecSplitRuleRemainderType = _RemainderTypeText.PubSecSplitRuleRemainderType -- association [1..*]
LEFT OUTER JOIN I_PubSecSplitRuleStatusText AS _StatusText ON PubSecSplitRuleStatus = _StatusText.PubSecSplitRuleStatus -- association [1..*]
LEFT OUTER JOIN I_PubSecSplitRuleTypeTxt AS _SplitRuleTypeText ON PubSecSplitRuleType = _SplitRuleTypeText.PubSecSplitRuleType -- association [1..*]
LEFT OUTER JOIN I_PubSecSplitRuleRmndrTypeText AS _RemainderText ON PubSecSplitRuleRemainderType = _RemainderText.PubSecSplitRuleRemainderType -- association [1..*]
LEFT OUTER JOIN I_PubSecSplittingGroupText AS _GroupText ON PubSecSplitRuleGroupID = _GroupText.PubSecSplitRuleGroupID -- association [1..*]
LEFT OUTER JOIN R_PubSecSplitRuleDistrTP AS _SplittingRuleDistribution ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_PubSecSplittingRuleT AS _Text ON /* condition not available in parsed metadata */ -- association [0..*]
;
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