I_BalShtExpsrHdgReq
Basic View of BSE Hedge Request
I_BalShtExpsrHdgReq is a Basic CDS View that provides data about "Basic View of BSE Hedge Request" in SAP S/4HANA. It reads from 1 data source (fxm_bsr) and exposes 43 fields with key field BalShtExpsrHdgReqID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fxm_bsr | bsr | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IBSEHDGREQBASICV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Basic View of BSE Hedge Request | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (43)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BalShtExpsrHdgReqID | bsr_id | Hedge Request ID | |
| TreasuryTradeRequest | tr | trade_request_id | Trade Request ID | |
| BalShtExpsrSnapshotID | fxm_bsr | snap_id | Snapshot ID | |
| HedgeRequestErrorMessageClass | ||||
| HedgeRequestErrorMessageNumber | ||||
| HedgeReqErrMsgVariable1Text | ||||
| HedgeReqErrMsgVariable2Text | ||||
| HedgeReqErrMsgVariable3Text | ||||
| HedgeReqErrMsgVariable4Text | ||||
| BalShtExpsrHdgReqCreatedByUser | ||||
| BalShtExpsrHdgReqCreatedDteTme | ||||
| BalShtExpsrHdgReqLastChgdUsr | ||||
| HdgReqLastChangedDateTime | ||||
| CompanyCode | fxm_bsr | company_code | Company Code | |
| CompanyCodeCurrency | fxm_bsr | company_code_currency | Currency | |
| RiskFreeCurrency | fxm_bsr | risk_free_currency | ||
| BalShtExpsrHdgReqInstrCategory | fxm_bsr | instrument_category | Instrument Cat. | |
| BalShtExpsrHdgReqAmount | fxm_bsr | bsr_amount | Amount (B/S HR) | |
| Currency | fxm_bsr | bsr_currency | Currency | |
| BalShtExpsrHdgReqValueDate | fxm_bsr | value_date | Value date | |
| BalShtExpsrHdgReqDesc | fxm_bsr | description | Well Code Des. | |
| ForeignExchangeTradingActivity | fxm_bsr | buy_sell_indicator | Buy/Sell | |
| OptionPutCallCode | fxm_bsr | put_call_indicator | Put/Call | |
| BalShtExpsrHdgReqDeclinedAmt | fxm_bsr | declined_amount | Declined Amount | |
| BalShtExpsrHdgReqOpenAmt | fxm_bsr | open_amount | Open Amount | |
| BalShtExpsrHdgReqPerdStrtDte | ||||
| BalShtExpsrHdgReqPerdEndDte | ||||
| Portfolio | fxm_bsr | portfolio | Portfolio | |
| FinInstrExternalReference | fxm_bsr | external_ref | Hedge Spec. Ext Ref | |
| FinancialInstrumentAssignment | fxm_bsr | assignment | Assignment | |
| FinancialInstrumentReference | fxm_bsr | internal_ref | Internal Ref. | |
| FinancialInstrCharacteristic | fxm_bsr | chars | Characteristics | |
| ProfitCenter | fxm_bsr | profit_center | Profit Center | |
| ProfitCenterHierarchy | ||||
| ProfitCenterHierarchyNode | ||||
| CostCenter | fxm_bsr | cost_center | Posted Cost Center | |
| CostCenterHierarchy | ||||
| CostCenterHierarchyNode | ||||
| WBSElementInternalID | ||||
| OnBehalfOfCompany | fxm_bsr | on_behalf_of_company | On Behalf of CoCode | |
| Country | fxm_bsr | country | Venue: Ctry/Reg | |
| Segment | fxm_bsr | segment | Segment number | |
| BalShtExpsrHdgReqEditedSts | fxm_bsr | edit_indicator | Change Indicator |
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_BalShtExpsrHdgReq.
-- 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.
-- SQL view name: IBSEHDGREQBASICV
CREATE VIEW I_BalShtExpsrHdgReq AS
SELECT
bsr_id AS BalShtExpsrHdgReqID,
tr.trade_request_id AS TreasuryTradeRequest,
bsr.snap_id AS BalShtExpsrSnapshotID,
cast(bsr.msgid as hdg_req_err_msg_class preserving type ) AS HedgeRequestErrorMessageClass,
cast(bsr.msgno as hdg_req_err_msg_no preserving type ) AS HedgeRequestErrorMessageNumber,
cast(bsr.msgv1 as hdg_req_err_msg_var1_txt preserving type ) AS HedgeReqErrMsgVariable1Text,
cast(bsr.msgv2 as hdg_req_err_msg_var2_txt preserving type ) AS HedgeReqErrMsgVariable2Text,
cast(bsr.msgv3 as hdg_req_err_msg_var3_txt preserving type ) AS HedgeReqErrMsgVariable3Text,
cast(bsr.msgv4 as hdg_req_err_msg_var4_txt preserving type ) AS HedgeReqErrMsgVariable4Text,
cast(bsr.create_user as bse_hdg_req_created_by preserving type ) AS BalShtExpsrHdgReqCreatedByUser,
cast(bsr.create_timestamp as bse_hdg_req_created_time preserving type ) AS BalShtExpsrHdgReqCreatedDteTme,
cast(bsr.last_change_user as bse_hdg_req_last_change_user preserving type ) AS BalShtExpsrHdgReqLastChgdUsr,
cast(bsr.last_change_timestamp as hdg_req_last_changed_time preserving type ) AS HdgReqLastChangedDateTime,
bsr.company_code AS CompanyCode,
bsr.company_code_currency AS CompanyCodeCurrency,
bsr.risk_free_currency AS RiskFreeCurrency,
bsr.instrument_category AS BalShtExpsrHdgReqInstrCategory,
bsr.bsr_amount AS BalShtExpsrHdgReqAmount,
bsr.bsr_currency AS Currency,
bsr.value_date AS BalShtExpsrHdgReqValueDate,
bsr.description AS BalShtExpsrHdgReqDesc,
bsr.buy_sell_indicator AS ForeignExchangeTradingActivity,
bsr.put_call_indicator AS OptionPutCallCode,
bsr.declined_amount AS BalShtExpsrHdgReqDeclinedAmt,
bsr.open_amount AS BalShtExpsrHdgReqOpenAmt,
cast(bsr.period_start as bse_hdg_req_perd_start_dte preserving type ) AS BalShtExpsrHdgReqPerdStrtDte,
cast(bsr.period_end as bse_hdg_req_perd_end_dte preserving type ) AS BalShtExpsrHdgReqPerdEndDte,
bsr.portfolio AS Portfolio,
bsr.external_ref AS FinInstrExternalReference,
bsr.assignment AS FinancialInstrumentAssignment,
bsr.internal_ref AS FinancialInstrumentReference,
bsr.chars AS FinancialInstrCharacteristic,
bsr.profit_center AS ProfitCenter,
cast('' as fis_prctr_hryid_42) AS ProfitCenterHierarchy,
cast('' as fis_prctr_hrynid_50) AS ProfitCenterHierarchyNode,
bsr.cost_center AS CostCenter,
cast('' as fis_cctr_hryid_42) AS CostCenterHierarchy,
cast('' as fis_cctr_hrynid_50) AS CostCenterHierarchyNode,
cast(bsr.wbs_element as fis_wbsint_no_conv preserving type ) AS WBSElementInternalID,
bsr.on_behalf_of_company AS OnBehalfOfCompany,
bsr.country AS Country,
bsr.segment AS Segment,
bsr.edit_indicator AS BalShtExpsrHdgReqEditedSts
FROM fxm_bsr AS bsr
;
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