Sadl_V_Aunit_So_Agg

DDL: SADL_V_AUNIT_SO_AGG SQL: SADLVASOAGG Type: view

Analytical View

Sadl_V_Aunit_So_Agg is a CDS View that provides data about "Analytical View" in SAP S/4HANA. It reads from 1 data source (SADL_V_AUnit_SO) and exposes 11 fields with key field node_key. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
SADL_V_AUnit_SO SalesOrder from

Associations (3)

CardinalityTargetAliasCondition
[0..*] SADL_V_AUnit_SOI_Agg _Items SalesOrder.node_key = _Items.parent_key
[0..*] SADL_V_AUnit_SOI_Agg _ItemsBySoID SalesOrder.SalesOrderID = _ItemsBySoID.SalesOrderID
[0..1] Sadl_V_Aunit_Curr _CurrencyCode $projection.currency_code = _CurrencyCode.Currency

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName SADLVASOAGG view
ClientDependent true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Analytical View view
Search.searchable true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY node_key SADL_V_AUnit_SO node_key Tree Model: Node Key
SalesOrderID SADL_V_AUnit_SO SalesOrderID Sales Order ID
created_by SADL_V_AUnit_SO created_by Version Created By
created_at SADL_V_AUnit_SO created_at Uploaded On
CurrencyISOCode _CurrencyCode CurrencyISOCode Document Currency
gross_amount SADL_V_AUnit_SO gross_amount Tax-Inclusive Amount
net_amount SADL_V_AUnit_SO net_amount Tax-Exclusive Amount
tax_amount SADL_V_AUnit_SO tax_amount VAT Amount Type
_Items _Items
_ItemsBySoID _ItemsBySoID
_CurrencyCode _CurrencyCode

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_Aunit_So_Agg.
-- 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: SADLVASOAGG

CREATE VIEW Sadl_V_Aunit_So_Agg AS
SELECT
  SalesOrder.node_key AS node_key,
  SalesOrder.SalesOrderID AS SalesOrderID,
  SalesOrder.created_by AS created_by,
  SalesOrder.created_at AS created_at,
  _CurrencyCode.CurrencyISOCode AS CurrencyISOCode,
  SalesOrder.gross_amount AS gross_amount,
  SalesOrder.net_amount AS net_amount,
  SalesOrder.tax_amount AS tax_amount
FROM SADL_V_AUnit_SO AS SalesOrder
LEFT OUTER JOIN SADL_V_AUnit_SOI_Agg AS _Items ON SalesOrder.node_key = _Items.parent_key  -- association [0..*]
LEFT OUTER JOIN SADL_V_AUnit_SOI_Agg AS _ItemsBySoID ON SalesOrder.SalesOrderID = _ItemsBySoID.SalesOrderID  -- association [0..*]
LEFT OUTER JOIN Sadl_V_Aunit_Curr AS _CurrencyCode ON currency_code = _CurrencyCode.Currency  -- association [0..1]
;