SADL_V_EXP_Query
view_label
SADL_V_EXP_Query is a CDS View that provides data about "view_label" in SAP S/4HANA. It reads from 1 data source (snwd_so) and exposes 20 fields with key field salesOrderKey. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| snwd_so | snwd_so | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | SADL_V_EXP_SalesOrderItem | items | node_key = items.salesOrderItemKey |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SADL_V_E_QUERY | view | |
| EndUserText.label | view_label | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.query | true | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | salesOrderKey | node_key | Tree Model: Node Key | |
| salesOrderId | so_id | Sales Order ID | ||
| createdBy | created_by | Version Created By | ||
| createdAt | created_at | Uploaded On | ||
| changedBy | changed_by | User Name | ||
| changedAt | changed_at | Timestamp | ||
| currencyCode | currency_code | Currency Code | ||
| grossAmount | gross_amount | Tax-Inclusive Amount | ||
| netAmount | net_amount | Tax-Exclusive Amount | ||
| taxAmount | tax_amount | VAT Amount Type | ||
| lifecycleStatus | lifecycle_status | Status | ||
| billingStatus | billing_status | SO Confirmation | ||
| deliveryStatus | delivery_status | SO Ordering | ||
| Items | items | Single-Character Flag | ||
| buyerGuid | buyer_guid | Node Key | ||
| Customer | customer | Sold-to Party | ||
| businessPartnerId | customer | businessPartnerId | Team Member | |
| companyName | customer | company_name | Company | |
| companyEmailAddress | customer | email_address | Email Address | |
| companyWebAddress | customer | web_address | URI |
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_Query.
-- 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_E_QUERY
CREATE VIEW SADL_V_EXP_Query AS
SELECT
node_key AS salesOrderKey,
so_id AS salesOrderId,
created_by AS createdBy,
created_at AS createdAt,
changed_by AS changedBy,
changed_at AS changedAt,
currency_code AS currencyCode,
gross_amount AS grossAmount,
net_amount AS netAmount,
tax_amount AS taxAmount,
lifecycle_status AS lifecycleStatus,
billing_status AS billingStatus,
delivery_status AS deliveryStatus,
Items,
buyer_guid AS buyerGuid,
Customer,
customer.businessPartnerId AS businessPartnerId,
customer.company_name AS companyName,
customer.email_address AS companyEmailAddress,
customer.web_address AS companyWebAddress
FROM snwd_so
LEFT OUTER JOIN SADL_V_EXP_SalesOrderItem AS items ON node_key = items.salesOrderItemKey -- 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