A_CnsldtnBaseUnit

DDL: A_CNSLDTNBASEUNIT Type: view BASIC Package: FIN_CS_MD_API

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. It is exposed through 5 OData services (ASQL_F7093, ASQL_F7094, ASQL_F7095, ...). Part of development package FIN_CS_MD_API.

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

OData Services (5)

ServiceBindingVersionContractRelease
ASQL_F7093 ASQL_F7093 C2 NOT_RELEASED
ASQL_F7094 ASQL_F7094 C2 NOT_RELEASED
ASQL_F7095 ASQL_F7095 C2 NOT_RELEASED
ASQL_F7096 ASQL_F7096 C2 NOT_RELEASED
ASQL_F7867 ASQL_F7867 C2 NOT_RELEASED

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..*]
;