swf_c_ut_doc_items

DDL: SWF_C_UT_DOC_ITEMS Type: view_entity

Customer Attributes UT: Mock-Up for Customer Attributes

swf_c_ut_doc_items is a CDS View that provides data about "Customer Attributes UT: Mock-Up for Customer Attributes" in SAP S/4HANA. It reads from 1 data source (swf_ut_doc_items) and exposes 9 fields with key fields documentId, documentItemId. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
swf_ut_doc_items swf_ut_doc_items from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Currency _Currency $projection.itemCurrency = _Currency.Currency
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.itemUOM = _UnitOfMeasure.UnitOfMeasure

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Customer Attributes UT: Mock-Up for Customer Attributes view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY documentId doc_id Reference Doc Number
KEY documentItemId doc_item_id Document Item ID
itemQuantity item_quantity Item Quantity
itemUOM item_uom ItemUoM
itemAmount item_ammount Item Amount
itemCurrency item_currency Item Currency
CurrencyName
_Currency _Currency
_UnitOfMeasure _UnitOfMeasure

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 swf_c_ut_doc_items.
-- 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.

CREATE VIEW swf_c_ut_doc_items AS
SELECT
  doc_id AS documentId,
  doc_item_id AS documentItemId,
  item_quantity AS itemQuantity,
  item_uom AS itemUOM,
  item_ammount AS itemAmount,
  item_currency AS itemCurrency,
  _Currency._Text.CurrencyName AS CurrencyName
FROM swf_ut_doc_items
LEFT OUTER JOIN I_Currency AS _Currency ON itemCurrency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON itemUOM = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
;