I_Productunitomeasureeanwd

DDL: I_PRODUCTUNITOMEASUREEANWD SQL: IPRDUOMEANWD Type: view TRANSACTIONAL

Product: Composite view for UoM EAN

I_Productunitomeasureeanwd is a Transactional CDS View that provides data about "Product: Composite view for UoM EAN" in SAP S/4HANA. It reads from 1 data source (I_ProductUnitOfMeasureEAN) and exposes 11 fields with key fields Product, AlternativeUnit, ConsecutiveNumber. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductUnitOfMeasureEAN UomEAN from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ProductWD _Product $projection.Product = _Product.Product
[1..1] I_ProductUnitsOfMeasureWD _ActiveAlternativeUnit $projection.Product = _ActiveAlternativeUnit.Product and $projection.AlternativeUnit = _ActiveAlternativeUnit.AlternativeUnit

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPRDUOMEANWD view
Search.searchable true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Product: Composite view for UoM EAN view
VDM.viewType #TRANSACTIONAL view
ObjectModel.writeDraftPersistence PROD_UOM_GTIN view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Product I_ProductUnitOfMeasureEAN Product Product Sold
KEY AlternativeUnit I_ProductUnitOfMeasureEAN AlternativeUnit Base UoM
KEY ConsecutiveNumber I_ProductUnitOfMeasureEAN ConsecutiveNumber Sequence no.
AlternativeUnitForEdit I_ProductUnitOfMeasureEAN AlternativeUnit Base UoM
InternationalArticleNumberCat I_ProductUnitOfMeasureEAN InternationalArticleNumberCat GTIN Category
ProductStandardID I_ProductUnitOfMeasureEAN ProductStandardID GTIN
IsMainGlobalTradeItemNumber I_ProductUnitOfMeasureEAN IsMainGlobalTradeItemNumber Main EAN
_Product _Product
_ActiveAlternativeUnit _ActiveAlternativeUnit
_InternationalArticleNumber _InternationalArticleNumber
_IntlArticleNumberCatText _IntlArticleNumberCatText

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 I_Productunitomeasureeanwd.
-- 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: IPRDUOMEANWD

CREATE VIEW I_Productunitomeasureeanwd AS
SELECT
  UomEAN.Product AS Product,
  UomEAN.AlternativeUnit AS AlternativeUnit,
  UomEAN.ConsecutiveNumber AS ConsecutiveNumber,
  UomEAN.AlternativeUnit AS AlternativeUnitForEdit,
  UomEAN.InternationalArticleNumberCat AS InternationalArticleNumberCat,
  UomEAN.ProductStandardID AS ProductStandardID,
  UomEAN.IsMainGlobalTradeItemNumber AS IsMainGlobalTradeItemNumber
FROM I_ProductUnitOfMeasureEAN AS UomEAN
LEFT OUTER JOIN I_ProductWD AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_ProductUnitsOfMeasureWD AS _ActiveAlternativeUnit ON Product = _ActiveAlternativeUnit.Product AND AlternativeUnit = _ActiveAlternativeUnit.AlternativeUnit  -- association [1..1]
;