AunitElemInfo_01
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)
| Source | Alias | Join Type |
|---|---|---|
| snwd_employees | snwd_employees | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | AunitTestAddress | Address | pr_address_guid = Address.node_key |
| [2] | t002 | Lang | language = Lang.spras |
| [0..*] | tcurc | SalaryCurrency | currency = waers |
Annotations (1)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SDDICTESTELM01 | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
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