I_ARunAnlytsSupAssgmtCube
Assignment Results - Cube
I_ARunAnlytsSupAssgmtCube (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Cross Applications
I_ARunAnlytsSupAssgmtCube is a Composite CDS View (Cube) that provides data about "Assignment Results - Cube" in SAP S/4HANA. It reads from 1 data source (I_SupDmndAllDocAssgmt) and exposes 57 fields with key fields Plant, Material, StorageLocation, Batch, RequirementType. It has 15 associations to related views. Part of development package VDM_ARUN_ANALYTICS.
SAP Help Documentation
| Category | Analytics CDS Views |
|---|---|
| Data Category | Cube |
| Corresponding DataSource | 2CIARNALYSTSUPASMT |
This CDS view provides the supply assignment details of all the requirement documents. This CDS view provides the data to answer the following business questions: What is the total assigned quantity? What is the normal assigned quantity, preview assigned quantity and temporary assigned quantity? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: ARUN_SDO (Authorization object for supply demand overview)
Structure
Fields Used for Filtering The main filters are as follows: RequestedDeliveryDate : This field is used to filter the data for a range of requested delivery date. Plant : This field is used to filter the data for different plants. DistributionChannel : This field is used to filter the data for different distribution channels. SalesOrganization : This field is used to filter the data by different sales organizations. Further Important Fields Important fields in this view include the following: Field Name Description Measure or Attribute AssignedQuantityInBaseUnit Total Assignment Quantity in Base Unit Measure NormalAssignedQuantityInBsUnt Normal Assigned Quantity in Base Unit Measure PreviewAssignedQuantityInBsUnt Preview Assigned Quantity in Base Unit Measure ARunTmpAssignedQuantityInBsUnt Temporary Assigned Quantity in Base Unit Measure
SAP API Hub
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Cross Applications |
| Application Component | LO-RFM-ARN |
| Capabilities | Data Provider for Analytical Queries,Data Source in SQL Select,Data Source for Defining CDS Entities |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Not Released |
| Package | Cross Applications for SAP S/4HANA Cloud Public Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupDmndAllDocAssgmt | Assgmt | from |
Associations (15)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Product | _Product | $projection.Material = _Product.Product |
| [0..1] | I_ProductGroup | _ProductGroup | $projection.MaterialGroup = _ProductGroup.MaterialGroup |
| [0..1] | I_Producttype | _ProductType | $projection.MaterialType = _ProductType.ProductType |
| [0..1] | I_SalesOrganization | _SalesOrg | $projection.SalesOrganization = _SalesOrg.SalesOrganization |
| [0..1] | I_DistributionChannel | _DistrChnl | $projection.DistributionChannel = _DistrChnl.DistributionChannel |
| [0..1] | I_Division | _Divn | $projection.Division = _Divn.Division |
| [0..1] | I_SalesDistrict | _SalesDist | $projection.SalesDistrict = _SalesDist.SalesDistrict |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | I_UnitOfMeasure | _BaseUnit | $projection.BaseUnit = _BaseUnit.UnitOfMeasure |
| [0..1] | I_SupDmndAllDocRqmtType | _Rqmt | $projection.RequirementType = _Rqmt.RequirementType |
| [0..1] | I_SupDmndAllDocSupType | _SupType | $projection.AssignedSupplyType = _SupType.AssignedSupplyType |
| [0..1] | I_SupDmndAllDocSupSource | _SupSrce | $projection.SupAssgmtSource = _SupSrce.SupAssgmtSource |
| [0..1] | I_ARunSupDlyHrznText | _SupDlyHrzn | $projection.ARunSupDlyHrznInWeeks = _SupDlyHrzn.ARunSupDlyHrznInWeeks |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.sqlViewName | IARNALYSTSUPASMT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Assignment Results - Cube | view |
Fields (57)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Plant | I_SupDmndAllDocAssgmt | Plant | Valuation Area |
| KEY | Material | I_SupDmndAllDocAssgmt | Material | Material Number |
| KEY | StorageLocation | I_SupDmndAllDocAssgmt | StorageLocation | Storage Location |
| KEY | Batch | I_SupDmndAllDocAssgmt | Batch | Batch Number |
| KEY | RequirementType | I_SupDmndAllDocAssgmt | RequirementType | Requirement Type |
| KEY | RequirementDocumentNumber | I_SupDmndAllDocAssgmt | RequirementDocumentNumber | Purchasing requirement document |
| KEY | RequirementDocumentItem | I_SupDmndAllDocAssgmt | RequirementDocumentItem | |
| KEY | SupProtTimeBucketUUID | I_SupDmndAllDocAssgmt | SupProtTimeBucketUUID | |
| KEY | AssignedSupplyType | I_SupDmndAllDocAssgmt | AssignedSupplyType | ARun Stock Source |
| KEY | SupplyNumber | I_SupDmndAllDocAssgmt | SupplyNumber | |
| KEY | SupplyItem | I_SupDmndAllDocAssgmt | SupplyItem | |
| KEY | SupplyScheduleLine | I_SupDmndAllDocAssgmt | SupplyScheduleLine | |
| KEY | RequestedDate | I_SupDmndAllDocAssgmt | RequestedDate | Requested date |
| KEY | ProductAvailabilityDate | I_SupDmndAllDocAssgmt | ProductAvailabilityDate | Material Staging/Availability Date |
| KEY | SupplyDeliveryDate | I_SupDmndAllDocAssgmt | SupplyDeliveryDate | Confirmed Delivery Date for Future Receipts |
| RequestedDeliveryDate | I_SupDmndAllDocAssgmt | RequestedDeliveryDate | Requested Delivery Date | |
| ARunSupDlyHrznInWeeks | ARunSupDlyHrznInWeeks | |||
| SupAssgmtSource | SupAssgmtSource | ARun Stock Source | ||
| CalendarYear | I_SupDmndAllDocAssgmt | CalendarYear | Calendar Year | |
| CalendarMonth | I_SupDmndAllDocAssgmt | CalendarMonth | Calendar Month | |
| CalendarMonthName | I_SupDmndAllDocAssgmt | CalendarMonthName | Short Text for Fixed Values | |
| CalendarWeek | I_SupDmndAllDocAssgmt | CalendarWeek | Calendar Week | |
| CalendarDay | I_SupDmndAllDocAssgmt | CalendarDay | Occur Day in a Month | |
| AssignedQuantityInBaseUnit | I_SupDmndAllDocAssgmt | AssignedQuantityInBaseUnit | Assigned Quantity by ARun | |
| NormalAssignedQuantityInBsUnt | I_SupDmndAllDocAssgmt | NormalAssignedQuantityInBsUnt | Assigned Quantity by ARun | |
| PreviewAssignedQuantityInBsUnt | I_SupDmndAllDocAssgmt | PreviewAssignedQuantityInBsUnt | ||
| ARunTmpAssignedQuantityInBsUnt | I_SupDmndAllDocAssgmt | ARunTmpAssignedQuantityInBsUnt | ||
| BaseUnit | I_SupDmndAllDocAssgmt | BaseUnit | Base Unit of Measure | |
| MaterialGroup | I_SupDmndAllDocAssgmt | MaterialGroup | Material Group | |
| MaterialType | I_SupDmndAllDocAssgmt | MaterialType | Material Type | |
| CrossPlantConfigurableProduct | I_SupDmndAllDocAssgmt | CrossPlantConfigurableProduct | Cross-Plant Configurable Material | |
| SupplyProtectionName | I_SupDmndAllDocAssgmt | SupplyProtectionName | Name | |
| SalesOrganization | I_SupDmndAllDocAssgmt | SalesOrganization | Sales Organization | |
| DistributionChannel | I_SupDmndAllDocAssgmt | DistributionChannel | Distribution Channel | |
| Division | I_SupDmndAllDocAssgmt | Division | Internal Division ID | |
| SalesDistrict | I_SupDmndAllDocAssgmt | SalesDistrict | Sales District | |
| Customer | I_SupDmndAllDocAssgmt | Customer | Customer Number | |
| CompanyCode | I_SupDmndAllDocAssgmt | CompanyCode | Company Code to Be Billed | |
| SupAssgmtAggrgQtyUnit | Base Unit of Measure | |||
| NetPriceAmount | I_SupDmndAllDocAssgmt | NetPriceAmount | Net Price | |
| DocumentCurrency | I_SupDmndAllDocAssgmt | DocumentCurrency | SD Document Currency | |
| RequirementSegment | I_SupDmndAllDocAssgmt | RequirementSegment | Requirement Segment | |
| _Product | _Product | |||
| _ProductGroup | _ProductGroup | |||
| _ProductType | _ProductType | |||
| _SupSrce | _SupSrce | |||
| _SalesOrg | _SalesOrg | |||
| _DistrChnl | _DistrChnl | |||
| _Divn | _Divn | |||
| _SalesDist | _SalesDist | |||
| _Plant | _Plant | |||
| _CompanyCode | _CompanyCode | |||
| _Customer | _Customer | |||
| _BaseUnit | _BaseUnit | |||
| _SupType | _SupType | |||
| _Rqmt | _Rqmt | |||
| _SupDlyHrzn | _SupDlyHrzn |
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_ARunAnlytsSupAssgmtCube.
-- 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_ARunAnlytsSupAssgmtCube AS
SELECT
Assgmt.Plant AS Plant,
Assgmt.Material AS Material,
Assgmt.StorageLocation AS StorageLocation,
Assgmt.Batch AS Batch,
Assgmt.RequirementType AS RequirementType,
Assgmt.RequirementDocumentNumber AS RequirementDocumentNumber,
Assgmt.RequirementDocumentItem AS RequirementDocumentItem,
Assgmt.SupProtTimeBucketUUID AS SupProtTimeBucketUUID,
Assgmt.AssignedSupplyType AS AssignedSupplyType,
Assgmt.SupplyNumber AS SupplyNumber,
Assgmt.SupplyItem AS SupplyItem,
Assgmt.SupplyScheduleLine AS SupplyScheduleLine,
Assgmt.RequestedDate AS RequestedDate,
Assgmt.ProductAvailabilityDate AS ProductAvailabilityDate,
Assgmt.SupplyDeliveryDate AS SupplyDeliveryDate,
Assgmt.RequestedDeliveryDate AS RequestedDeliveryDate,
ARunSupDlyHrznInWeeks,
SupAssgmtSource,
Assgmt.CalendarYear AS CalendarYear,
Assgmt.CalendarMonth AS CalendarMonth,
Assgmt.CalendarMonthName AS CalendarMonthName,
Assgmt.CalendarWeek AS CalendarWeek,
Assgmt.CalendarDay AS CalendarDay,
Assgmt.AssignedQuantityInBaseUnit AS AssignedQuantityInBaseUnit,
Assgmt.NormalAssignedQuantityInBsUnt AS NormalAssignedQuantityInBsUnt,
Assgmt.PreviewAssignedQuantityInBsUnt AS PreviewAssignedQuantityInBsUnt,
Assgmt.ARunTmpAssignedQuantityInBsUnt AS ARunTmpAssignedQuantityInBsUnt,
Assgmt.BaseUnit AS BaseUnit,
Assgmt.MaterialGroup AS MaterialGroup,
Assgmt.MaterialType AS MaterialType,
Assgmt.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
Assgmt.SupplyProtectionName AS SupplyProtectionName,
Assgmt.SalesOrganization AS SalesOrganization,
Assgmt.DistributionChannel AS DistributionChannel,
Assgmt.Division AS Division,
Assgmt.SalesDistrict AS SalesDistrict,
Assgmt.Customer AS Customer,
Assgmt.CompanyCode AS CompanyCode,
cast( ' ' as meins ) AS SupAssgmtAggrgQtyUnit,
Assgmt.NetPriceAmount AS NetPriceAmount,
Assgmt.DocumentCurrency AS DocumentCurrency,
Assgmt.RequirementSegment AS RequirementSegment
FROM I_SupDmndAllDocAssgmt AS Assgmt
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product -- association [0..1]
LEFT OUTER JOIN I_ProductGroup AS _ProductGroup ON MaterialGroup = _ProductGroup.MaterialGroup -- association [0..1]
LEFT OUTER JOIN I_Producttype AS _ProductType ON MaterialType = _ProductType.ProductType -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrg ON SalesOrganization = _SalesOrg.SalesOrganization -- association [0..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistrChnl ON DistributionChannel = _DistrChnl.DistributionChannel -- association [0..1]
LEFT OUTER JOIN I_Division AS _Divn ON Division = _Divn.Division -- association [0..1]
LEFT OUTER JOIN I_SalesDistrict AS _SalesDist ON SalesDistrict = _SalesDist.SalesDistrict -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_SupDmndAllDocRqmtType AS _Rqmt ON RequirementType = _Rqmt.RequirementType -- association [0..1]
LEFT OUTER JOIN I_SupDmndAllDocSupType AS _SupType ON AssignedSupplyType = _SupType.AssignedSupplyType -- association [0..1]
LEFT OUTER JOIN I_SupDmndAllDocSupSource AS _SupSrce ON SupAssgmtSource = _SupSrce.SupAssgmtSource -- association [0..1]
LEFT OUTER JOIN I_ARunSupDlyHrznText AS _SupDlyHrzn ON ARunSupDlyHrznInWeeks = _SupDlyHrzn.ARunSupDlyHrznInWeeks -- 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