SADL_V_EXP_Anno
Annotation test
SADL_V_EXP_Anno is a CDS View that provides data about "Annotation test" in SAP S/4HANA. It reads from 1 data source (snwd_so_i) and exposes 10 fields with key field salesOrderItemKey. It has 2 associations to related views. Part of development package SADL_GW_EXPOSURE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| snwd_so_i | snwd_so_i | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | SADL_V_CurrencyCode_valueHelp | _CurrencyCode | $projection.currency_code = _CurrencyCode.waers |
| [0..1] | Sadl_V_Unit_Of_Measure | _QuantityUnit | $projection.QuantityUnitCode = _QuantityUnit.UnitOfMeasure |
Annotations (2)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SADL_V_ANNO | view | |
| ObjectModel.writeDraftPersistence | SADL_V_ANNO_D | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | salesOrderItemKey | node_key | Tree Model: Node Key | |
| salesOrderKey | parent_key | UUID | ||
| so_item_pos | so_item_pos | Item Position | ||
| QuantityUnitCode | Product | measureUnit | ||
| WeightUnitCode | Product | weightUnit | Weight unit | |
| ItemAtpStatus | item_atp_status | ATP Status | ||
| productGuid | product_guid | Product | ||
| Product | Product | Product Sold | ||
| _CurrencyCode | _CurrencyCode | |||
| _QuantityUnit | _QuantityUnit |
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 SADL_V_EXP_Anno.
-- 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: SADL_V_ANNO
CREATE VIEW SADL_V_EXP_Anno AS
SELECT
node_key AS salesOrderItemKey,
parent_key AS salesOrderKey,
so_item_pos,
Product.measureUnit AS QuantityUnitCode,
Product.weightUnit AS WeightUnitCode,
item_atp_status AS ItemAtpStatus,
product_guid AS productGuid,
Product
FROM snwd_so_i
LEFT OUTER JOIN SADL_V_CurrencyCode_valueHelp AS _CurrencyCode ON currency_code = _CurrencyCode.waers -- association [0..1]
LEFT OUTER JOIN Sadl_V_Unit_Of_Measure AS _QuantityUnit ON QuantityUnitCode = _QuantityUnit.UnitOfMeasure -- association [0..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