CdsFrwk_Sales_Order_Item
Calculations in SELECT list
CdsFrwk_Sales_Order_Item is a CDS View that provides data about "Calculations in SELECT list" in SAP S/4HANA. It reads from 1 data source (snwd_so_i) and exposes 7 fields with key field so_item_guid. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| snwd_so_i | snwd_so_i | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | snwd_pd | _product | snwd_so_i.product_guid = _product.node_key |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDSFRWK_DEMO_1 | view | |
| EndUserText.label | Calculations in SELECT list | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | so_item_guid | snwd_so_i | node_key | Tree Model: Node Key |
| so_guid | parent_key | UUID | ||
| product_guid | snwd_so_i | product_guid | Product | |
| so_item_pos | snwd_so_i | so_item_pos | Item Position | |
| gross_amount | gross_amount | Tax-Inclusive Amount | ||
| demo | ||||
| _product | _product |
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 CdsFrwk_Sales_Order_Item.
-- 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: CDSFRWK_DEMO_1
CREATE VIEW CdsFrwk_Sales_Order_Item AS
SELECT
snwd_so_i.node_key AS so_item_guid,
parent_key AS so_guid,
snwd_so_i.product_guid AS product_guid,
snwd_so_i.so_item_pos AS so_item_pos,
gross_amount,
division( tax_amount, net_amount, 4 ) * 100 AS demo
FROM snwd_so_i
LEFT OUTER JOIN snwd_pd AS _product ON snwd_so_i.product_guid = _product.node_key -- association [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