DEMO_SALES_CDS_SO_3
CDS view entity, so, RAP managed
DEMO_SALES_CDS_SO_3 is a CDS View that provides data about "CDS view entity, so, RAP managed" in SAP S/4HANA. It reads from 1 data source (demo_sales_order) and exposes 17 fields with key field SoKey. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| demo_sales_order | demo_sales_order | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | DEMO_SALES_CDS_SO_I_3 | _SalesOrderItem | |
Annotations (2)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | CDS view entity, so, RAP managed | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SoKey | so_key | SO key | |
| SalesOrderId | id | WorklistID | ||
| BuyerId | buyer_id | Identifier | ||
| Status | lifecycle_status | Status | ||
| CreatedBy | created_by | Version Created By | ||
| CreatedOn | created_on | Variant created on | ||
| CreatedAt | created_at | Uploaded On | ||
| LastChangedBy | last_changed_by | Username | ||
| LastChangedOn | last_changed_on | Time Stamp | ||
| LastChangedAt | last_changed_at | Timestamp | ||
| ShipToId | ship_to_id | Business Partner ID | ||
| QuantitySum | quantity_sum | |||
| UomSum | uom_sum | |||
| AmountSum | amount_sum | |||
| CurrencySum | currency_sum | |||
| CompanyCode | company_code | Company Code | ||
| _SalesOrderItem | _SalesOrderItem |
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 DEMO_SALES_CDS_SO_3.
-- 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 DEMO_SALES_CDS_SO_3 AS
SELECT
so_key AS SoKey,
id AS SalesOrderId,
buyer_id AS BuyerId,
lifecycle_status AS Status,
created_by AS CreatedBy,
created_on AS CreatedOn,
created_at AS CreatedAt,
last_changed_by AS LastChangedBy,
last_changed_on AS LastChangedOn,
last_changed_at AS LastChangedAt,
ship_to_id AS ShipToId,
quantity_sum AS QuantitySum,
uom_sum AS UomSum,
amount_sum AS AmountSum,
currency_sum AS CurrencySum,
company_code AS CompanyCode
FROM demo_sales_order
LEFT OUTER JOIN DEMO_SALES_CDS_SO_I_3 AS _SalesOrderItem ON /* condition not available in parsed metadata */ -- association [0..*]
;
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