I_ARunRule
Basic View for Supply Assignment Rule
I_ARunRule is a Basic CDS View that provides data about "Basic View for Supply Assignment Rule" in SAP S/4HANA. It reads from 1 data source (arun_rule) and exposes 39 fields with key field ARunRuleUUID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| arun_rule | arun_rule | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ARunRuleText | _ARunRuleText | $projection.ARunRuleUUID = _ARunRuleText.ARunRuleUUID and _ARunRuleText.Language = $session.system_language |
| [0..1] | I_ARunDemandGroupRule | _ARunGroupRule | $projection.ARunDemandGroupRuleUUID = _ARunGroupRule.ARunDemandGroupRuleUUID |
| [0..1] | I_ARunSupSelRule | _ARunSupSelRule | $projection.ARunSupplySelectionRuleUUID = _ARunSupSelRule.ARunSupplySelectionRuleUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IARUNRULE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Basic View for Supply Assignment Rule | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Search.searchable | true | view | |
| ObjectModel.representativeKey | ARunRuleUUID | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| AbapCatalog.preserveKey | true | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ARunRuleUUID | arunruleuuid | ARun Rule UUID | |
| ARunRuleName | arunrulename | ARun Rule | ||
| ARunRuleDescription | _ARunRuleText | ARunRuleDescription | ARun Rule Descriptio | |
| ABOPStockSortRule | abopstocksortrule | Supply Sort Rule | ||
| ABOPAllocReleaseIsRequired | abopallocreleaseisrequired | Release Check Req. | ||
| ABOPSupplySelHorizonInDays | abopsupplyselhorizonindays | Supply Horizon | ||
| ABOPAssignmentPreviewIsActive | abopassignmentpreviewisactive | Assignment Preview | ||
| ABOPSupplyReassignmentIsReqd | abopsupplyreassignmentisreqd | Reassignment | ||
| ARunStkOverwriteIsRequired | arunstkoverwriteisrequired | Overwrite Supply Sel | ||
| ARunPhysicalStkIsSelected | arunphysicalstkisselected | Include Physical Sto | ||
| ARunPOStkIsSelected | arunpostkisselected | Include PO | ||
| ARunASNStkIsSelected | arunasnstkisselected | Incl. Shipping Not. | ||
| ARunProdnOrdStkIsSelected | arunprodnordstkisselected | Incl. Production Ord | ||
| ARunPurReqnStkIsSelected | arunpurreqnstkisselected | Incl. Purchase Req | ||
| ARunPlndOrdStkIsSelected | arunplndordstkisselected | Incl. Planned Order | ||
| ARunReleaseRule | arunreleaserule | Release Rule | ||
| ARunDistributionStrategy | arundistributionstrategy | ARun Distribution Lo | ||
| ARunGroupingStrategy | arungroupingstrategy | ARun Grouping Logic | ||
| ARunMinAssgmtPercent | arunminassgmtpercent | Min. Assgmt Percent | ||
| ARunMaxAssgmtPercent | arunmaxassgmtpercent | Max Assgmt Percent | ||
| ARunSupProtExecMode | arunsupprotexecmode | SUP Mode | ||
| ARunDemandGroupRuleUUID | arundemandgroupruleuuid | ARun Group Rule UUID | ||
| CreatedByUser | createdbyuser | User Name | ||
| CreationDateTime | creationdatetime | Timestamp | ||
| LastChangedByUser | lastchangedbyuser | User Name | ||
| LastChangeDateTime | lastchangedatetime | Timestamp | ||
| ARunIgnoreCanclnDteChk | arunignorecanclndtechk | Ignore Canc. Dt. Chk | ||
| ARunIgnoreStorLocChk | arunignorestorlocchk | Ignore S.loc Check | ||
| ARunRuleFilterMode | arunrulefiltermode | Filter Mode | ||
| ARunSupplySelectionRuleUUID | arunsupplyselectionruleuuid | ARun Sel Rule UUID | ||
| ARunIgnrCanclnDteSupDteChk | arunignrcanclndtesupdtechk | Ignr Canceln Dte Chk | ||
| ARunIgnrCanclnDteReqdDteChk | arunignrcanclndtereqddtechk | Canceln Date Check | ||
| ARunIncludeIncmpltOrdChk | arunincludeincmpltordchk | Incomplete Orders | ||
| ARunIgnoreBatchCheck | arunignorebatchcheck | Ignore Batch Check | ||
| ARunIgnorePastCanclnDateCheck | arunignorepastcanclndatecheck | Ignr Past Cancln Dte | ||
| ARunConfBsdSegmtnIsSeld | arunconfbsdsegmtnisseld | Con-based Seg & Prio | ||
| _ARunRuleText | _ARunRuleText | |||
| _ARunGroupRule | _ARunGroupRule | |||
| _ARunSupSelRule | _ARunSupSelRule |
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 I_ARunRule.
-- 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 I_ARunRule AS
SELECT
ARunRuleUUID,
ARunRuleName,
_ARunRuleText.ARunRuleDescription AS ARunRuleDescription,
ABOPStockSortRule,
ABOPAllocReleaseIsRequired,
ABOPSupplySelHorizonInDays,
ABOPAssignmentPreviewIsActive,
ABOPSupplyReassignmentIsReqd,
ARunStkOverwriteIsRequired,
ARunPhysicalStkIsSelected,
ARunPOStkIsSelected,
ARunASNStkIsSelected,
ARunProdnOrdStkIsSelected,
ARunPurReqnStkIsSelected,
ARunPlndOrdStkIsSelected,
ARunReleaseRule,
ARunDistributionStrategy,
ARunGroupingStrategy,
ARunMinAssgmtPercent,
ARunMaxAssgmtPercent,
ARunSupProtExecMode,
ARunDemandGroupRuleUUID,
CreatedByUser,
CreationDateTime,
LastChangedByUser,
LastChangeDateTime,
ARunIgnoreCanclnDteChk,
ARunIgnoreStorLocChk,
ARunRuleFilterMode,
ARunSupplySelectionRuleUUID,
ARunIgnrCanclnDteSupDteChk,
ARunIgnrCanclnDteReqdDteChk,
ARunIncludeIncmpltOrdChk,
ARunIgnoreBatchCheck,
ARunIgnorePastCanclnDateCheck,
ARunConfBsdSegmtnIsSeld
FROM arun_rule
LEFT OUTER JOIN I_ARunRuleText AS _ARunRuleText ON ARunRuleUUID = _ARunRuleText.ARunRuleUUID AND _ARunRuleText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_ARunDemandGroupRule AS _ARunGroupRule ON ARunDemandGroupRuleUUID = _ARunGroupRule.ARunDemandGroupRuleUUID -- association [0..1]
LEFT OUTER JOIN I_ARunSupSelRule AS _ARunSupSelRule ON ARunSupplySelectionRuleUUID = _ARunSupSelRule.ARunSupplySelectionRuleUUID -- association [0..1]
;
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