SADL_V_AUnit_Prod
Product for local unit tests
SADL_V_AUnit_Prod is a CDS View that provides data about "Product for local unit tests" in SAP S/4HANA. It reads from 1 data source (snwd_pd) and exposes 26 fields with key field node_key. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| snwd_pd | snwd_pd | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | SADL_V_AUnit_Currency | _Currency | _Currency.waers = snwd_pd.currency_code |
| [0..1] | SADL_V_AUnit_Unit_Of_Measure | _MeasureUnit | $projection.measure_unit = _MeasureUnit.UnitOfMeasure |
| [0..1] | Sadl_V_Aunit_Uom_Special | _MeasureUnitSpecial | $projection.UnitOfMeasure = _MeasureUnitSpecial.UnitOfMeasure |
| [0..1] | SADL_V_AUnit_Unit_Of_Measure | _WeightUnit | $projection.weight_unit = _WeightUnit.UnitOfMeasure |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SADLVPROD | view | |
| EndUserText.label | Product for local unit tests | view | |
| Search.searchable | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | node_key | snwd_pd | node_key | Tree Model: Node Key |
| ProductID | snwd_pd | product_id | Simulated Product ID | |
| type_code | snwd_pd | type_code | Type Code | |
| category | snwd_pd | category | Violation Category | |
| created_by | snwd_pd | created_by | Version Created By | |
| created_at | snwd_pd | created_at | Uploaded On | |
| changed_by | snwd_pd | changed_by | User Name | |
| changed_at | snwd_pd | changed_at | Timestamp | |
| name_guid | snwd_pd | name_guid | Node Key | |
| desc_guid | snwd_pd | desc_guid | Node Key | |
| currency | snwd_pd | currency_code | Currency Code | |
| measure_unit | snwd_pd | measure_unit | Unit of Measure | |
| UnitOfMeasure | snwd_pd | measure_unit | Unit of Measure | |
| weight_unit | snwd_pd | weight_unit | Weight Unit | |
| price | snwd_pd | price | RVP f.PricePro. | |
| width | snwd_pd | width | Width | |
| depth | snwd_pd | depth | Draught | |
| height | snwd_pd | height | Height | |
| dim_unit | snwd_pd | dim_unit | Unit of length | |
| _Currency | _Currency | |||
| _Currency2 | _Currency2 | |||
| _Supplier | _Supplier | |||
| _Supplier2 | _Supplier | |||
| _MeasureUnit | _MeasureUnit | |||
| _WeightUnit | _WeightUnit | |||
| _MeasureUnitSpecial | _MeasureUnitSpecial |
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_Prod.
-- 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: SADLVPROD
CREATE VIEW SADL_V_AUnit_Prod AS
SELECT
snwd_pd.node_key AS node_key,
snwd_pd.product_id AS ProductID,
snwd_pd.type_code AS type_code,
snwd_pd.category AS category,
snwd_pd.created_by AS created_by,
snwd_pd.created_at AS created_at,
snwd_pd.changed_by AS changed_by,
snwd_pd.changed_at AS changed_at,
snwd_pd.name_guid AS name_guid,
snwd_pd.desc_guid AS desc_guid,
snwd_pd.currency_code AS currency,
snwd_pd.measure_unit AS measure_unit,
snwd_pd.measure_unit AS UnitOfMeasure,
snwd_pd.weight_unit AS weight_unit,
snwd_pd.price AS price,
snwd_pd.width AS width,
snwd_pd.depth AS depth,
snwd_pd.height AS height,
snwd_pd.dim_unit AS dim_unit
FROM snwd_pd
LEFT OUTER JOIN SADL_V_AUnit_Currency AS _Currency ON _Currency.waers = snwd_pd.currency_code -- association [0..*]
LEFT OUTER JOIN SADL_V_AUnit_Unit_Of_Measure AS _MeasureUnit ON measure_unit = _MeasureUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN Sadl_V_Aunit_Uom_Special AS _MeasureUnitSpecial ON UnitOfMeasure = _MeasureUnitSpecial.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN SADL_V_AUnit_Unit_Of_Measure AS _WeightUnit ON weight_unit = _WeightUnit.UnitOfMeasure -- association [0..1]
;
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