Sadl_V_Element_W_NS

DDL: SADL_V_ELEMENT_W_NS SQL: SADLVELNS Type: view

Test View for Namespaces

Sadl_V_Element_W_NS is a CDS View that provides data about "Test View for Namespaces" in SAP S/4HANA. It reads from 2 data sources (snwd_bp, snwd_so) and exposes 7 fields with key field /aunit/SalesOrder.

Data Sources (2)

SourceAliasJoin Type
snwd_bp bp left_outer
snwd_so header from

Annotations (2)

NameValueLevelField
AbapCatalog.sqlViewName SADLVELNS view
EndUserText.label Test View for Namespaces view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY /aunit/SalesOrder snwd_so so_id Sales Order ID
/aunit/BusinessPartner snwd_bp bp_id BusPartner
/aunit/CompanyName snwd_bp bp_company_name Company
/aunit/CurrencyCode snwd_so currency_code Currency Code
/aunit/GrossAmount snwd_so gross_amount Tax-Inclusive Amount
/aunit/NetAmount snwd_so net_amount Tax-Exclusive Amount
/aunit/TaxAmount snwd_so tax_amount VAT Amount Type

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_Element_W_NS.
-- 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: SADLVELNS

CREATE VIEW Sadl_V_Element_W_NS AS
SELECT
  header.so_id AS /aunit/SalesOrder,
  bp.bp_id AS /aunit/BusinessPartner,
  bp.bp_company_name AS /aunit/CompanyName,
  header.currency_code AS /aunit/CurrencyCode,
  header.gross_amount AS /aunit/GrossAmount,
  header.net_amount AS /aunit/NetAmount,
  header.tax_amount AS /aunit/TaxAmount
FROM snwd_so AS header
LEFT OUTER JOIN snwd_bp AS bp ON /* join condition not captured in parsed metadata */
;