Sadl_V_Aunit_So_C
Sales Order Consumption View for AUTs
Sadl_V_Aunit_So_C is a CDS View that provides data about "Sales Order Consumption View for AUTs" in SAP S/4HANA. It reads from 2 data sources (tcurt, SADL_V_AUnit_SO_TP) and exposes 22 fields with key field SalesOrderID. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| tcurt | CurrencyTab | left_outer |
| SADL_V_AUnit_SO_TP | SalesOrder | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | Sadl_V_Aunit_Soi_C | _Items | SalesOrder.node_key = _Items.parent_key |
| [0..*] | Sadl_V_Aunit_Soi_C | _Items2 | SalesOrder.node_key = _Items2.parent_key |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SADLVASOC | view | |
| ClientDependent | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Sales Order Consumption View for AUTs | view | |
| Search.searchable | true | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrderID | SalesOrderID | ||
| created_by | SADL_V_AUnit_SO_TP | created_by | Version Created By | |
| CurrencyTabText | tcurt | ktext | Text | |
| created_at | created_at | Uploaded On | ||
| changed_by | changed_by | User Name | ||
| changed_at | changed_at | Timestamp | ||
| buyer_guid | buyer_guid | Node Key | ||
| Currency | currency_code | Currency Code | ||
| CurrencyAgain | currency_code | Currency Code | ||
| CurrencyConsumption | currency_code | Currency Code | ||
| CurrencyWithFK | currency_code | Currency Code | ||
| gross_amount | gross_amount | Tax-Inclusive Amount | ||
| net_amount | net_amount | Tax-Exclusive Amount | ||
| tax_amount | tax_amount | VAT Amount Type | ||
| node_key | node_key | Tree Model: Node Key | ||
| CurrencySpras | _Currency | spras | Off. Language | |
| _Items | _Items | |||
| _ItemsInEur | ||||
| _Currency | _Currency | |||
| _CurrencyLanguageCons | _Currency | _Language | ||
| _CurrencyConsumption | _CurrencyConsumption | |||
| _FKCurrency | _FKCurrency |
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_C.
-- 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: SADLVASOC
CREATE VIEW Sadl_V_Aunit_So_C AS
SELECT
SalesOrderID,
SalesOrder.created_by AS created_by,
CurrencyTab.ktext AS CurrencyTabText,
created_at,
changed_by,
changed_at,
buyer_guid,
currency_code AS Currency,
currency_code AS CurrencyAgain,
currency_code AS CurrencyConsumption,
currency_code AS CurrencyWithFK,
gross_amount,
net_amount,
tax_amount,
node_key,
_Currency.spras AS CurrencySpras,
_Currency._Language AS _CurrencyLanguageCons
FROM SADL_V_AUnit_SO_TP AS SalesOrder
LEFT OUTER JOIN tcurt AS CurrencyTab ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN Sadl_V_Aunit_Soi_C AS _Items ON SalesOrder.node_key = _Items.parent_key -- association [0..*]
LEFT OUTER JOIN Sadl_V_Aunit_Soi_C AS _Items2 ON SalesOrder.node_key = _Items2.parent_key -- 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