A_OIL_ExchangeBalance

DDL: A_OIL_EXCHANGEBALANCE Type: view_entity CONSUMPTION

Exchange Balance

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

Data Sources (1)

SourceAliasJoin Type
I_OIL_ExchangeBalance I_OIL_ExchangeBalance projection

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Exchange Balance view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
OData.entityType.name OIL_ExchangeBalance view
AccessControl.personalData.blocking #REQUIRED view

Fields (6)

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

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_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 A_OIL_ExchangeBalance AS
SELECT
  StockIdentifyingMaterial,
  Plant,
  MaterialBaseUnit,
  ExchangeLiftsQuantity,
  ExchangeReceiptsQuantity,
  ExchangeBalanceQuantity
FROM I_OIL_ExchangeBalance
;