A_FXExposure
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)
| Source | Alias | Join Type |
|---|---|---|
| R_FXExposureTP | R_FXExposureTP | projection |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA