I_FXExposure
FX Exposure
I_FXExposure is a Basic CDS View that provides data about "FX Exposure" in SAP S/4HANA. It reads from 1 data source (fxemt_exposure) and exposes 27 fields with key field FXExposureUUID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fxemt_exposure | FXExposure | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | FX Exposure | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FXExposureUUID | fx_exposure_uuid | ||
| ForeignExchangeExposure | fx_exposure_id | |||
| FXExposureType | fx_exposure_type | |||
| CompanyCode | company_code | Company Code | ||
| Portfolio | portfolio | Portfolio | ||
| CostCenter | cost_center | Posted Cost Center | ||
| ProfitCenter | profit_center | Profit Center | ||
| Country | country | Venue: Ctry/Reg | ||
| WBSElementInternalID | wbs_element | WBS Internal ID | ||
| OnBehalfOfCompany | on_behalf_of_comp_code | On Behalf of CoCode | ||
| Segment | segment | Segment number | ||
| FXExposureDueDate | due_date | Net Due Date | ||
| FXExposureValidFromDate | valid_from | Validity Start Time | ||
| FXExposureAmountInRiskCurrency | amount | Value Amount | ||
| FXExposureRiskCurrency | risk_currency | |||
| FXExposureTargetCurrency | target_currency | |||
| FXExposureDirection | direction | Long/Short Position | ||
| FXExposureStatus | status | Workflow Status | ||
| FXExposureStsChgReasonText | exp_status_change_reason | |||
| ChangeDocObject | changedoc_object_id | Object Value | ||
| FXExposureExternalID | external_id | WEBGUI External ID | ||
| FXExposureCreationMode | fx_exposure_creation_mode | |||
| FXExposureCreatedBy | createdby | User Name | ||
| FXExposureCreatedAtDteTme | createdat | Time Stamp | ||
| FXExposureLastChangedBy | lastchangedby | User Name | ||
| FXExposureLastChangedAtDteTme | lastchangedat | Time Stamp | ||
| LocalLastChangeDateTime | local_last_change_datetime | Time Stamp |
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 I_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 I_FXExposure AS
SELECT
fx_exposure_uuid AS FXExposureUUID,
fx_exposure_id AS ForeignExchangeExposure,
fx_exposure_type AS FXExposureType,
company_code AS CompanyCode,
Portfolio,
cost_center AS CostCenter,
profit_center AS ProfitCenter,
Country,
wbs_element AS WBSElementInternalID,
on_behalf_of_comp_code AS OnBehalfOfCompany,
Segment,
due_date AS FXExposureDueDate,
valid_from AS FXExposureValidFromDate,
amount AS FXExposureAmountInRiskCurrency,
risk_currency AS FXExposureRiskCurrency,
target_currency AS FXExposureTargetCurrency,
direction AS FXExposureDirection,
status AS FXExposureStatus,
exp_status_change_reason AS FXExposureStsChgReasonText,
changedoc_object_id AS ChangeDocObject,
external_id AS FXExposureExternalID,
fx_exposure_creation_mode AS FXExposureCreationMode,
createdby AS FXExposureCreatedBy,
createdat AS FXExposureCreatedAtDteTme,
lastchangedby AS FXExposureLastChangedBy,
lastchangedat AS FXExposureLastChangedAtDteTme,
local_last_change_datetime AS LocalLastChangeDateTime
FROM fxemt_exposure AS FXExposure
;
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