SADL_V_EXP_Anno

DDL: SADL_V_EXP_ANNOTATION SQL: SADL_V_ANNO Type: view Package: SADL_GW_EXPOSURE

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)

SourceAliasJoin Type
snwd_so_i snwd_so_i from

Associations (2)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
AbapCatalog.sqlViewName SADL_V_ANNO view
ObjectModel.writeDraftPersistence SADL_V_ANNO_D view

Fields (10)

KeyFieldSource TableSource FieldDescription
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]
;