A_CnsldtnBaseUnit

DDL: A_CNSLDTNBASEUNIT Type: view BASIC

Unit of Measure

A_CnsldtnBaseUnit is a Basic CDS View that provides data about "Unit of Measure" in SAP S/4HANA. It reads from 1 data source (I_UnitOfMeasure) and exposes 6 fields with key field UnitOfMeasure. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_UnitOfMeasure I_UnitOfMeasure from

Associations (1)

CardinalityTargetAliasCondition
[0..*] A_CnsldtnBaseUnitT _CnsldtnBaseUnitT $projection.UnitOfMeasure = _CnsldtnBaseUnitT.UnitOfMeasure

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ACSBASEUNIT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey UnitOfMeasure view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Unit of Measure view
OData.entitySet.name BaseUnit view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY UnitOfMeasure Unit Protected Qty
UnitOfMeasureISOCode UnitOfMeasureISOCode ISO Code
UnitOfMeasureNumberOfDecimals UnitOfMeasureNumberOfDecimals Rounding
UnitOfMeasureDspNmbrOfDcmls UnitOfMeasureDspNmbrOfDcmls Decimal Places
UnitOfMeasureSAPCode UnitOfMeasureSAPCode
_CnsldtnBaseUnitT _CnsldtnBaseUnitT

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 A_CnsldtnBaseUnit.
-- 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 A_CnsldtnBaseUnit AS
SELECT
  cast(UnitOfMeasure as fincs_runit preserving type ) AS UnitOfMeasure,
  UnitOfMeasureISOCode,
  UnitOfMeasureNumberOfDecimals,
  UnitOfMeasureDspNmbrOfDcmls,
  UnitOfMeasureSAPCode
FROM I_UnitOfMeasure
LEFT OUTER JOIN A_CnsldtnBaseUnitT AS _CnsldtnBaseUnitT ON UnitOfMeasure = _CnsldtnBaseUnitT.UnitOfMeasure  -- association [0..*]
;