C_ARunRule
Supply Assignment Rule
C_ARunRule is a Consumption CDS View that provides data about "Supply Assignment Rule" in SAP S/4HANA. It reads from 1 data source (I_ARunRuleTP) and exposes 51 fields with key field ARunRuleUUID. It has 8 associations to related views. It is exposed through 1 OData service (UI_RFM_ARUN_RULE_CONFIGURE). It is used in 1 Fiori application: Configure Supply Assignment Rule.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ARunRuleTP | I_ARunRuleTP | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..*] | C_ARunRuleABOPVariant | _UsageInVariant | $projection.ARunRuleUUID = _UsageInVariant.ARunRuleUUID |
| [1..1] | I_ARunDemandGroupRuleVH | _GroupRuleTxt | $projection.ARunDemandGroupRule = _GroupRuleTxt.ARunDemandGroupRule |
| [1..1] | I_ARunSupProtMode | _SupProtExecMode | $projection.ARunSupProtExecMode = _SupProtExecMode.ARunSupProtExecMode and _SupProtExecMode.Language = $session.system_language |
| [1..1] | I_ARunRuleDistributionStrategy | _DistributionStrategy | $projection.ARunDistributionStrategy = _DistributionStrategy.ARunDistributionStrategy and _DistributionStrategy.Language = $session.system_language |
| [1..1] | I_ARunRuleGroupingStrategy | _GroupingStrategy | $projection.ARunGroupingStrategy = _GroupingStrategy.ARunGroupingStrategy and _GroupingStrategy.Language = $session.system_language |
| [1..1] | I_ARunRuleFilterModeVH | _RuleFilterMode | $projection.ARunRuleFilterMode = _RuleFilterMode.ARunRuleFilterMode and _RuleFilterMode.Language = $session.system_language |
Annotations (25)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CARUNRULE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Supply Assignment Rule | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.createEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | ARunRuleUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view | |
| UI.headerInfo.typeName | Supply Assignment Rule | view | |
| UI.headerInfo.typeNamePlural | Supply Assignment Rules | view | |
| UI.headerInfo.title.value | ARunRuleName | view | |
| UI.headerInfo.description.value | ARunRuleDescription | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_RFM_ARUN_RULE_CONFIGURE | UI_RFM_ARUN_RULE_CONFIGURE | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F4647 | Configure Supply Assignment Rule | Transactional | Configure Supply Assignment Rule |
Configure Supply Assignment Rule
Business Role: Order Fulfillment Manager (Retail)
With this app, you can configure settings for supply assignment rules. If the supply assignment rule is maintained in backorder processing, the functions maintained in this supply assignment rule are used during the supply assignment process.
Fields (51)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ARunRuleUUID | ARunRuleUUID | ARun Rule UUID | |
| ARunRuleName | ARunRuleName | Supply Assignment Rule | ||
| ARunRuleDescription | ARunRuleDescription | Description | ||
| ABOPStockSortRule | ABOPStockSortRule | Supply Sorting Rule | ||
| ABOPAllocReleaseIsRequired | ABOPAllocReleaseIsRequired | Release Check Required | ||
| ABOPSupplySelHorizonInDays | ABOPSupplySelHorizonInDays | Supply Horizon (Days) | ||
| ABOPAssignmentPreviewIsActive | ABOPAssignmentPreviewIsActive | Assignment Preview | ||
| ABOPSupplyReassignmentIsReqd | ABOPSupplyReassignmentIsReqd | Reassignment | ||
| ARunStkOverwriteIsRequired | ARunStkOverwriteIsRequired | Overwrite Supply Selection | ||
| ARunPhysicalStkIsSelected | ARunPhysicalStkIsSelected | Include Physical Stock | ||
| ARunPOStkIsSelected | ARunPOStkIsSelected | Include Purchase Orders | ||
| ARunASNStkIsSelected | ARunASNStkIsSelected | Include Shipping Notifications | ||
| ARunProdnOrdStkIsSelected | ARunProdnOrdStkIsSelected | Include Production Orders | ||
| ARunPurReqnStkIsSelected | ARunPurReqnStkIsSelected | Include Purchase Requisitions | ||
| ARunPlndOrdStkIsSelected | ARunPlndOrdStkIsSelected | Include Planned Orders | ||
| ARunSupplySelectionRuleUUID | ARunSupplySelectionRuleUUID | ARun Sel Rule UUID | ||
| ARunSupplySelectionRule | ARunSupplySelectionRule | Supply Selection Rule | ||
| ARunReleaseRule | ARunReleaseRule | Release Rule | ||
| ARunDistributionStrategy | ARunDistributionStrategy | Distribution Strategy | ||
| ARunGroupingStrategy | ARunGroupingStrategy | Grouping Strategy | ||
| ARunMinAssgmtPercent | ARunMinAssgmtPercent | Minimum Assignment(%) | ||
| ARunMaxAssgmtPercent | ARunMaxAssgmtPercent | Maximum Assignment(%) | ||
| ARunSupProtExecMode | ARunSupProtExecMode | Execution Mode | ||
| CreatedByUser | CreatedByUser | Created By | ||
| CreatedByUserDescription | _CreatedByUser | UserDescription | Created By User Description | |
| CreationDate | CreationDate | Created On | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| LastChangedByUser | LastChangedByUser | Changed By | ||
| LastChangedByUserDescription | _LastChangedByUser | UserDescription | Changed By User Description | |
| LastChangeDate | LastChangeDate | Changed On | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| ARunDemandGroupRuleUUID | ARunDemandGroupRuleUUID | ARun Group Rule UUID | ||
| ARunDemandGroupRule | ARunDemandGroupRule | Demand Group Rule | ||
| ARunDemandGroupRuleText | _GroupRuleTxt | ARunDemandGroupRuleText | ARun Group Rule Text | |
| ARunDemandGroupRuleIsVisible | ARunDemandGroupRuleIsVisible | |||
| ARunIsRuleUsed | ARunIsRuleUsed | |||
| ARunIgnoreStorLocChk | ARunIgnoreStorLocChk | Ignore S.loc Check | ||
| 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 | ||
| ARunQtyRoundingStrgy | ARunQtyRoundingStrgy | Rounding Strategy | ||
| ARunRuleFilterMode | ARunRuleFilterMode | Filter Mode | ||
| ARunConfBsdSegmtnIsSeld | ARunConfBsdSegmtnIsSeld | Con-based Seg & Prio | ||
| _UsageInVariant | _UsageInVariant | |||
| _GroupRuleTxt | _GroupRuleTxt | |||
| _SupProtExecMode | _SupProtExecMode | |||
| _DistributionStrategy | _DistributionStrategy | |||
| _GroupingStrategy | _GroupingStrategy | |||
| _RuleFilterMode | _RuleFilterMode |
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 C_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.
-- SQL view name: CARUNRULE
CREATE VIEW C_ARunRule AS
SELECT
ARunRuleUUID,
ARunRuleName,
ARunRuleDescription,
ABOPStockSortRule,
ABOPAllocReleaseIsRequired,
ABOPSupplySelHorizonInDays,
ABOPAssignmentPreviewIsActive,
ABOPSupplyReassignmentIsReqd,
ARunStkOverwriteIsRequired,
ARunPhysicalStkIsSelected,
ARunPOStkIsSelected,
ARunASNStkIsSelected,
ARunProdnOrdStkIsSelected,
ARunPurReqnStkIsSelected,
ARunPlndOrdStkIsSelected,
ARunSupplySelectionRuleUUID,
ARunSupplySelectionRule,
ARunReleaseRule,
ARunDistributionStrategy,
ARunGroupingStrategy,
ARunMinAssgmtPercent,
ARunMaxAssgmtPercent,
ARunSupProtExecMode,
CreatedByUser,
_CreatedByUser.UserDescription AS CreatedByUserDescription,
CreationDate,
CreationDateTime,
LastChangedByUser,
_LastChangedByUser.UserDescription AS LastChangedByUserDescription,
LastChangeDate,
LastChangeDateTime,
ARunDemandGroupRuleUUID,
ARunDemandGroupRule,
_GroupRuleTxt.ARunDemandGroupRuleText AS ARunDemandGroupRuleText,
ARunDemandGroupRuleIsVisible,
ARunIsRuleUsed,
ARunIgnoreStorLocChk,
ARunIgnrCanclnDteSupDteChk,
ARunIgnrCanclnDteReqdDteChk,
ARunIncludeIncmpltOrdChk,
ARunIgnoreBatchCheck,
ARunIgnorePastCanclnDateCheck,
ARunQtyRoundingStrgy,
ARunRuleFilterMode,
ARunConfBsdSegmtnIsSeld
FROM I_ARunRuleTP
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
LEFT OUTER JOIN C_ARunRuleABOPVariant AS _UsageInVariant ON ARunRuleUUID = _UsageInVariant.ARunRuleUUID -- association [0..*]
LEFT OUTER JOIN I_ARunDemandGroupRuleVH AS _GroupRuleTxt ON ARunDemandGroupRule = _GroupRuleTxt.ARunDemandGroupRule -- association [1..1]
LEFT OUTER JOIN I_ARunSupProtMode AS _SupProtExecMode ON ARunSupProtExecMode = _SupProtExecMode.ARunSupProtExecMode AND _SupProtExecMode.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_ARunRuleDistributionStrategy AS _DistributionStrategy ON ARunDistributionStrategy = _DistributionStrategy.ARunDistributionStrategy AND _DistributionStrategy.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_ARunRuleGroupingStrategy AS _GroupingStrategy ON ARunGroupingStrategy = _GroupingStrategy.ARunGroupingStrategy AND _GroupingStrategy.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_ARunRuleFilterModeVH AS _RuleFilterMode ON ARunRuleFilterMode = _RuleFilterMode.ARunRuleFilterMode AND _RuleFilterMode.Language = $session.system_language -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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