REPM_SalesOrderAnalysisC1
REPM: Sales Order Analysis Cube View
REPM_SalesOrderAnalysisC1 is a CDS View of category Cube that provides data about "REPM: Sales Order Analysis Cube View" in SAP S/4HANA. It reads from 1 data source (SEPM_I_SalesOrder_E) and exposes 10 fields. It has 2 associations to related views. Part of development package RS_EPM_NW_CONTENT_CDS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| SEPM_I_SalesOrder_E | SO | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | REPM_ClosedSalesOrderC2 | ClosedSO | SO.Customer = ClosedSO.CustID |
| [1..1] | REPM_OpenSalesOrderC2 | OpenSO | SO.Customer = OpenSO.CustID |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | REPM_SOANLYC11 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #CUBE | view | |
| EndUserText.label | REPM: Sales Order Analysis Cube View | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| SalesOrder | SEPM_I_SalesOrder_E | SalesOrder | SD Document | |
| OverallStatus | SEPM_I_SalesOrder_E | SalesOrderOverallStatus | ||
| Customer | ||||
| TargetCurrency | ||||
| TransactionCurrency | SEPM_I_SalesOrder_E | TransactionCurrency | Transaction Currency | |
| ClosedSOGrossAmt | ClosedSO | GrossAmount | Gross value | |
| OpenSOGrossAmt | OpenSO | GrossAmount | Gross value | |
| SONetAmount | SEPM_I_SalesOrder_E | NetAmountInTransactionCurrency | ||
| SOTaxAmount | SEPM_I_SalesOrder_E | TaxAmountInTransactionCurrency | ||
| _OverallStatus | SEPM_I_SalesOrder_E | _OverallStatus |
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 REPM_SalesOrderAnalysisC1.
-- 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: REPM_SOANLYC11
CREATE VIEW REPM_SalesOrderAnalysisC1 AS
SELECT
SO.SalesOrder AS SalesOrder,
SO.SalesOrderOverallStatus AS OverallStatus,
SO._Customer.CompanyName AS Customer,
cast('EUR'as abap.cuky) AS TargetCurrency,
SO.TransactionCurrency AS TransactionCurrency,
ClosedSO.GrossAmount AS ClosedSOGrossAmt,
OpenSO.GrossAmount AS OpenSOGrossAmt,
SO.NetAmountInTransactionCurrency AS SONetAmount,
SO.TaxAmountInTransactionCurrency AS SOTaxAmount,
SO._OverallStatus AS _OverallStatus
FROM SEPM_I_SalesOrder_E AS SO
LEFT OUTER JOIN REPM_ClosedSalesOrderC2 AS ClosedSO ON SO.Customer = ClosedSO.CustID -- association [1..1]
LEFT OUTER JOIN REPM_OpenSalesOrderC2 AS OpenSO ON SO.Customer = OpenSO.CustID -- association [1..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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