I_SalesAnalyticsCube
Analytics - Sales Volume and Open Sales
I_SalesAnalyticsCube is a Composite CDS View (Cube) that provides data about "Analytics - Sales Volume and Open Sales" in SAP S/4HANA. It reads from 1 data source (P_SalesAnalytics) and exposes 81 fields with key fields SalesDocument, SalesDocumentItem, ScheduleLine, BillingPlan, BillingPlanItem. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_SalesAnalytics | P_SalesAnalytics | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_ExchangeRateType | kurst | |
| P_DisplayCurrency | vdm_v_display_currency |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Currency | _DisplayCurrency | $projection.DisplayCurrency = _DisplayCurrency.Currency |
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | I_ShippingPoint | _ShippingPoint | $projection.ShippingPoint = _ShippingPoint.ShippingPoint |
| [0..1] | I_BillingDocumentType | _BillingDocumentType | $projection.BillingDocumentType = _BillingDocumentType.BillingDocumentType |
| [0..1] | I_SDDocumentObject | _SDDocumentObject | $projection.SDDocumentObject = _SDDocumentObject.SDDocumentObject |
| [0..1] | E_SalesDocumentItemBasic | _Extension | $projection.SalesDocument = _Extension.SalesDocument and $projection.SalesDocumentItem = _Extension.SalesDocumentItem |
| [0..1] | E_DeliveryDocumentItem | _DelivDocItemExtension | $projection.DeliveryDocument = _DelivDocItemExtension.DeliveryDocument and $projection.DeliveryDocumentItem = _DelivDocItemExtension.DeliveryDocumentItem |
| [0..1] | E_BillingDocumentItem | _BillgDocItemExtension | $projection.BillingDocument = _BillgDocItemExtension.BillingDocument and $projection.BillingDocumentItem = _BillgDocItemExtension.BillingDocumentItem |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| EndUserText.label | Analytics - Sales Volume and Open Sales | view | |
| Analytics.dataCategory | #CUBE | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.sqlViewName | ISDSLSANACUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | I_SalesAnalyticsCube_1 | view |
Fields (81)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | SalesDocument | SD Document | |
| KEY | SalesDocumentItem | SalesDocumentItem | Sales Document Item | |
| KEY | ScheduleLine | ScheduleLine | Schedule Line | |
| KEY | BillingPlan | BillingPlan | Bill. Plan No. | |
| KEY | BillingPlanItem | BillingPlanItem | Item | |
| KEY | DeliveryDocument | DeliveryDocument | Outbound Delivery | |
| KEY | DeliveryDocumentItem | DeliveryDocumentItem | Outb. Delivery Item | |
| KEY | BillingDocument | BillingDocument | SD Document | |
| KEY | BillingDocumentItem | BillingDocumentItem | Item | |
| SoldToParty | SoldToParty | Sold-to Party | ||
| SoldToPartyName | SoldToPartyName | Sold-to Party Name | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| Customer | Sold-to Party | |||
| SDDocumentCategory | SDDocumentCategory | Document Cat. | ||
| SDDocumentObject | SDDocumentObject | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| SalesOffice | SalesOffice | Sales Office | ||
| SalesGroup | SalesGroup | Sales Group | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| Material | Material | Vehicle Model | ||
| OriginallyRequestedMaterial | OriginallyRequestedMaterial | |||
| InternationalArticleNumber | InternationalArticleNumber | EAN/UPC | ||
| ProductHierarchyNode | ProductHierarchyNode | Prod. Hierarchy | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| BillingDocumentDateYear | ||||
| BillingDocDateYearQuarter | ||||
| BillingDocDateYearMonth | ||||
| SalesDocumentType | SalesDocumentType | Sales Doc. Type | ||
| DCLCheckforSalesDocumentShippingPoint | ||||
| DCLCheckforDeliveryBillingDocumentType | ||||
| CalendarDate | ||||
| OpnSOForOrdReltdInvcsNetAmount | OpnSOForOrdReltdInvcsNetAmount | |||
| OpnSOForOrdReltdInvcsNetAmtDC | OpnSOForOrdReltdInvcsNetAmtDC | |||
| OpnSlsOrdsForOrdReltdInvcsQty | OpnSlsOrdsForOrdReltdInvcsQty | |||
| OpnRetsForOrdReltdInvcsNetAmt | OpnRetsForOrdReltdInvcsNetAmt | |||
| OpnRetsOrdReltdInvcsNetAmtInDC | OpnRetsOrdReltdInvcsNetAmtInDC | |||
| OpnRetsForOrdReltdInvcsQty | OpnRetsForOrdReltdInvcsQty | |||
| OpenSlsOrdersForDelivNetAmount | OpenSlsOrdersForDelivNetAmount | |||
| OpnSlsOrdsForDelivAmtInDspCrcy | OpnSlsOrdsForDelivAmtInDspCrcy | |||
| OpnSlsOrdrsForDelivQuantity | OpnSlsOrdrsForDelivQuantity | |||
| OpnSlsOrdsForInvcPlansNetAmt | OpnSlsOrdsForInvcPlansNetAmt | |||
| OpnSlsOrdsForInvcPlansNetAmtDC | OpnSlsOrdsForInvcPlansNetAmtDC | |||
| OpnOutbDelivsForInvcNetAmt | OpnOutbDelivsForInvcNetAmt | |||
| OpnOutbDelivsForInvcNetAmtInDC | OpnOutbDelivsForInvcNetAmtInDC | |||
| OpnOutbDelivsForInvcQty | OpnOutbDelivsForInvcQty | |||
| ShpdNotInvcdDelivsNetAmount | ShpdNotInvcdDelivsNetAmount | |||
| 2018newforCE1808SalesVolumeNetAmount | ||||
| SlsVolumeNetAmtInDspCrcy | SlsVolumeNetAmtInDspCrcy | |||
| SalesVolumeQuantity | SalesVolumeQuantity | |||
| SalesProfitMarginNetAmount | SalesProfitMarginNetAmount | |||
| SlsProfitMargNetAmtInDspCrcy | SlsProfitMargNetAmtInDspCrcy | |||
| CustomerCreditMemoNetAmount | CustomerCreditMemoNetAmount | |||
| CustCrdtMemoNetAmtInDspCrcy | CustCrdtMemoNetAmtInDspCrcy | |||
| CustCreditMemoQuantity | CustCreditMemoQuantity | |||
| DisplayCurrency | ||||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| StatisticsCurrency | StatisticsCurrency | |||
| BaseUnit | BaseUnit | Unit of Measure | ||
| _BillingDocumentType | _BillingDocumentType | |||
| _SDDocumentObject | _SDDocumentObject | |||
| _DisplayCurrency | _DisplayCurrency | |||
| _StatisticsCurrency | _StatisticsCurrency | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _BaseUnit | _BaseUnit | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _Material | _Material | |||
| _MaterialGroup | _MaterialGroup | |||
| _OriginallyRequestedMaterial | _OriginallyRequestedMaterial | |||
| _SalesDistrict | _SalesDistrict | |||
| _SalesOffice | _SalesOffice | |||
| _SalesGroup | _SalesGroup | |||
| _SalesOrganization | _SalesOrganization | |||
| _SoldToParty | _SoldToParty | |||
| _ShippingPoint | _ShippingPoint | |||
| _CustomerGroup | _CustomerGroup | |||
| _Customer | _Customer | |||
| _SDDocumentCategory | _SDDocumentCategory |
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_SalesAnalyticsCube.
-- 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: ISDSLSANACUBE
-- Parameters: P_ExchangeRateType : kurst, P_DisplayCurrency : vdm_v_display_currency
CREATE VIEW I_SalesAnalyticsCube AS
SELECT
SalesDocument,
SalesDocumentItem,
ScheduleLine,
BillingPlan,
BillingPlanItem,
DeliveryDocument,
DeliveryDocumentItem,
BillingDocument,
BillingDocumentItem,
SoldToParty,
SoldToPartyName,
CustomerGroup,
cast (SoldToParty as kunnr) AS Customer,
SDDocumentCategory,
SDDocumentObject,
SalesOrganization,
DistributionChannel,
Division,
SalesOffice,
SalesGroup,
SalesDistrict,
Material,
OriginallyRequestedMaterial,
InternationalArticleNumber,
ProductHierarchyNode,
MaterialGroup,
ProfitCenter,
cast(Period.CalendarYear as billing_document_date_year) AS BillingDocumentDateYear,
cast(Period.YearQuarter as billing_doc_date_year_quarter) AS BillingDocDateYearQuarter,
cast(Period.YearMonth as billing_doc_date_year_month) AS BillingDocDateYearMonth,
SalesDocumentType,
OpnSOForOrdReltdInvcsNetAmount,
OpnSOForOrdReltdInvcsNetAmtDC,
OpnSlsOrdsForOrdReltdInvcsQty,
OpnRetsForOrdReltdInvcsNetAmt,
OpnRetsOrdReltdInvcsNetAmtInDC,
OpnRetsForOrdReltdInvcsQty,
OpenSlsOrdersForDelivNetAmount,
OpnSlsOrdsForDelivAmtInDspCrcy,
OpnSlsOrdrsForDelivQuantity,
OpnSlsOrdsForInvcPlansNetAmt,
OpnSlsOrdsForInvcPlansNetAmtDC,
OpnOutbDelivsForInvcNetAmt,
OpnOutbDelivsForInvcNetAmtInDC,
OpnOutbDelivsForInvcQty,
ShpdNotInvcdDelivsNetAmount,
SlsVolumeNetAmtInDspCrcy,
SalesVolumeQuantity,
SalesProfitMarginNetAmount,
SlsProfitMargNetAmtInDspCrcy,
CustomerCreditMemoNetAmount,
CustCrdtMemoNetAmtInDspCrcy,
CustCreditMemoQuantity,
cast(:P_DisplayCurrency as vdm_v_display_currency) AS DisplayCurrency,
TransactionCurrency,
StatisticsCurrency,
BaseUnit
FROM P_SalesAnalytics
LEFT OUTER JOIN I_Currency AS _DisplayCurrency ON DisplayCurrency = _DisplayCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_ShippingPoint AS _ShippingPoint ON ShippingPoint = _ShippingPoint.ShippingPoint -- association [0..1]
LEFT OUTER JOIN I_BillingDocumentType AS _BillingDocumentType ON BillingDocumentType = _BillingDocumentType.BillingDocumentType -- association [0..1]
LEFT OUTER JOIN I_SDDocumentObject AS _SDDocumentObject ON SDDocumentObject = _SDDocumentObject.SDDocumentObject -- association [0..1]
LEFT OUTER JOIN E_SalesDocumentItemBasic AS _Extension ON SalesDocument = _Extension.SalesDocument AND SalesDocumentItem = _Extension.SalesDocumentItem -- association [0..1]
LEFT OUTER JOIN E_DeliveryDocumentItem AS _DelivDocItemExtension ON DeliveryDocument = _DelivDocItemExtension.DeliveryDocument AND DeliveryDocumentItem = _DelivDocItemExtension.DeliveryDocumentItem -- association [0..1]
LEFT OUTER JOIN E_BillingDocumentItem AS _BillgDocItemExtension ON BillingDocument = _BillgDocItemExtension.BillingDocument AND BillingDocumentItem = _BillgDocItemExtension.BillingDocumentItem -- association [0..1]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- 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
- 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