A_FXExposure

DDL: A_FXEXPOSURE Type: view_entity CONSUMPTION

Manage FX Exposures

A_FXExposure is a Consumption CDS View that provides data about "Manage FX Exposures" in SAP S/4HANA. It reads from 1 data source (R_FXExposureTP) and exposes 31 fields with key field FXExposureUUID.

Data Sources (1)

SourceAliasJoin Type
R_FXExposureTP R_FXExposureTP projection

Annotations (12)

NameValueLevelField
EndUserText.label Manage FX Exposures view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
OData.entitySet.name ForeignExchangeExposure_Set view
OData.entityType.name ForeignExchangeExposure_Type view
ObjectModel.sapObjectNodeType.name ForeignExchangeExposure view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY FXExposureUUID FXExposureUUID
ForeignExchangeExposure ForeignExchangeExposure
FXExposureType FXExposureType
FXExposureTypeName _FXExposureTypeText FXExposureTypeName
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName _CompanyCodeText CompanyCodeName Company Name
Portfolio Portfolio Portfolio
PortfolioName
CostCenter CostCenter Cost Center
CostCenterName
ProfitCenter ProfitCenter Profit Center
ProfitCenterName
Country Country Venue: Ctry/Reg
CountryName
WBSElementExternalID WBSElementExternalID WBS Element External ID
WBSElementName _WBSElementText WBSDescription WBS Element Name
OnBehalfOfCompany OnBehalfOfCompany
OnBehalfOfCompanyName _BehalfOfCoCodeText CompanyCodeName Company Name
Segment Segment Segment number
SegmentName
FXExposureValidFromDate FXExposureValidFromDate
FXExposureDueDate FXExposureDueDate
FXExposureAmountInRiskCurrency FXExposureAmountInRiskCurrency
FXExposureRiskCurrency FXExposureRiskCurrency
FXExposureRiskCurrencyName
FXExposureTargetCurrency FXExposureTargetCurrency
FXExposureDirection FXExposureDirection
FXExposureDirectionName _DirectionText FXExposureDirectionName
FXExposureExternalID FXExposureExternalID
FXExposureStatus FXExposureStatus
FXExposureStatusName _StatusText FXExposureStatusName

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_FXExposure.
-- 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_FXExposure AS
SELECT
  FXExposureUUID,
  ForeignExchangeExposure,
  FXExposureType,
  _FXExposureTypeText.FXExposureTypeName AS FXExposureTypeName,
  CompanyCode,
  _CompanyCodeText.CompanyCodeName AS CompanyCodeName,
  Portfolio,
  _PortfolioText[1:Language=$session.system_language].PortfolioName AS PortfolioName,
  CostCenter,
  _CostCenterText[1:Language=$session.system_language].CostCenterName AS CostCenterName,
  ProfitCenter,
  _ProfitCenterText[1:Language=$session.system_language].ProfitCenterName AS ProfitCenterName,
  Country,
  _CountryText[1:Language=$session.system_language].CountryName AS CountryName,
  WBSElementExternalID,
  _WBSElementText.WBSDescription AS WBSElementName,
  OnBehalfOfCompany,
  _BehalfOfCoCodeText.CompanyCodeName AS OnBehalfOfCompanyName,
  Segment,
  _SegmentText[1:Language=$session.system_language].SegmentName AS SegmentName,
  FXExposureValidFromDate,
  FXExposureDueDate,
  FXExposureAmountInRiskCurrency,
  FXExposureRiskCurrency,
  cast(_RiskCurrencyText.CurrencyName as fxem_fx_exposure_risk_crcy_nm preserving type ) AS FXExposureRiskCurrencyName,
  FXExposureTargetCurrency,
  FXExposureDirection,
  _DirectionText.FXExposureDirectionName AS FXExposureDirectionName,
  FXExposureExternalID,
  FXExposureStatus,
  _StatusText.FXExposureStatusName AS FXExposureStatusName
FROM R_FXExposureTP
;