A_CnsldtnBaseUnitT

DDL: A_CNSLDTNBASEUNITT Type: view BASIC

Unit of Measure - Text

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

Data Sources (1)

SourceAliasJoin Type
I_UnitOfMeasureText I_UnitOfMeasureText from

Associations (1)

CardinalityTargetAliasCondition
[0..1] A_CnsldtnBaseUnit _CnsldtnBaseUnit $projection.UnitOfMeasure = _CnsldtnBaseUnit.UnitOfMeasure

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ACSBASEUNITTEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Unit of Measure - Text view
OData.entitySet.name BaseUnitText view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language Language Report Text Language
KEY UnitOfMeasure Unit Protected Qty
BaseUnitText Meas. Unit Text
UnitOfMeasure_E UnitOfMeasure_E Commercial
UnitOfMeasureLongName Meas. Unit Text
_CnsldtnBaseUnit _CnsldtnBaseUnit

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_CnsldtnBaseUnitT.
-- 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_CnsldtnBaseUnitT AS
SELECT
  Language,
  cast(UnitOfMeasure as fincs_runit preserving type ) AS UnitOfMeasure,
  cast(UnitOfMeasureName as fincs_runit_t preserving type) AS BaseUnitText,
  UnitOfMeasure_E,
  cast(UnitOfMeasureLongName as fincs_unitofmeasure_long_desc preserving type) AS UnitOfMeasureLongName
FROM I_UnitOfMeasureText
LEFT OUTER JOIN A_CnsldtnBaseUnit AS _CnsldtnBaseUnit ON UnitOfMeasure = _CnsldtnBaseUnit.UnitOfMeasure  -- association [0..1]
;