AunitElemInfo_01

DDL: SDDIC_TEST_ELM_INFO_ENTITY SQL: SDDICTESTELM01 Type: view

AunitElemInfo_01 is a CDS View in SAP S/4HANA. It reads from 1 data source (snwd_employees) and exposes 19 fields with key fields client, node_key. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
snwd_employees snwd_employees from

Associations (3)

CardinalityTargetAliasCondition
[1] AunitTestAddress Address pr_address_guid = Address.node_key
[2] t002 Lang language = Lang.spras
[0..*] tcurc SalaryCurrency currency = waers

Annotations (1)

NameValueLevelField
AbapCatalog.sqlViewName SDDICTESTELM01 view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY client snwd_employees client Workflow definition: Client
KEY node_key snwd_employees node_key Tree Model: Node Key
parent_key snwd_employees parent_key UUID
employee_id snwd_employees employee_id Personnel No.
first_name snwd_employees first_name Name
middle_name snwd_employees middle_name Patronymic
last_name snwd_employees last_name Name
initials snwd_employees initials Initials
sex snwd_employees sex Sex-Specific
language snwd_employees language Report Text Language
phone_number snwd_employees phone_number Phone
login_name snwd_employees login_name User Name
val_end_date snwd_employees val_end_date Validity End Date
currency snwd_employees currency Valuation Crcy
bank_id snwd_employees bank_id Bank ID
bank_name snwd_employees bank_name Bank Name
Address Address Subscription address
Lang Lang Language
SalaryCurrency SalaryCurrency

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 AunitElemInfo_01.
-- 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: SDDICTESTELM01

CREATE VIEW AunitElemInfo_01 AS
SELECT
  snwd_employees.client AS client,
  snwd_employees.node_key AS node_key,
  snwd_employees.parent_key AS parent_key,
  snwd_employees.employee_id AS employee_id,
  snwd_employees.first_name AS first_name,
  snwd_employees.middle_name AS middle_name,
  snwd_employees.last_name AS last_name,
  snwd_employees.initials AS initials,
  snwd_employees.sex AS sex,
  snwd_employees.language AS language,
  snwd_employees.phone_number AS phone_number,
  snwd_employees.login_name AS login_name,
  snwd_employees.val_end_date AS val_end_date,
  snwd_employees.currency AS currency,
  snwd_employees.bank_id AS bank_id,
  snwd_employees.bank_name AS bank_name,
  Address,
  Lang,
  SalaryCurrency
FROM snwd_employees
LEFT OUTER JOIN AunitTestAddress AS Address ON pr_address_guid = Address.node_key  -- association [1]
LEFT OUTER JOIN t002 AS Lang ON language = Lang.spras  -- association [2]
LEFT OUTER JOIN tcurc AS SalaryCurrency ON currency = waers  -- association [0..*]
;