C_OIL_ExchangeBalance

DDL: C_OIL_EXCHANGEBALANCE Type: view_entity CONSUMPTION

Exchanges Balance

C_OIL_ExchangeBalance is a Consumption CDS View that provides data about "Exchanges Balance" in SAP S/4HANA. It reads from 1 data source (I_OIL_ExchangeBalance) and exposes 8 fields with key fields StockIdentifyingMaterial, Plant, MaterialBaseUnit.

Data Sources (1)

SourceAliasJoin Type
I_OIL_ExchangeBalance I_OIL_ExchangeBalance projection

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
EndUserText.label Exchanges Balance view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY StockIdentifyingMaterial StockIdentifyingMaterial
KEY Plant Plant Valuation Area
KEY MaterialBaseUnit MaterialBaseUnit Valuation Unit
ExchangeLiftsQuantity ExchangeLiftsQuantity
ExchangeReceiptsQuantity ExchangeReceiptsQuantity
ExchangeBalanceQuantity ExchangeBalanceQuantity
MaterialName
_StockIdentifyingMaterial _StockIdentifyingMaterial

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 C_OIL_ExchangeBalance.
-- 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 C_OIL_ExchangeBalance AS
SELECT
  StockIdentifyingMaterial,
  Plant,
  MaterialBaseUnit,
  ExchangeLiftsQuantity,
  ExchangeReceiptsQuantity,
  ExchangeBalanceQuantity,
  _StockIdentifyingMaterial._Text[1:Language=$session.system_language].MaterialName AS MaterialName
FROM I_OIL_ExchangeBalance
;