I_TreasuryTradeRequest
Treasury Trade Request
I_TreasuryTradeRequest is a Basic CDS View that provides data about "Treasury Trade Request" in SAP S/4HANA. It reads from 1 data source (tpit_trade_req) and exposes 57 fields with key field TreasuryTradeRequestUUID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tpit_trade_req | tpit_trade_req | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | ITRSYTRDREQ | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Treasury Trade Request | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view |
Fields (57)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TreasuryTradeRequestUUID | guid | UUID 22 char. | |
| TreasuryTradeRequest | trade_request_id | Trade Request ID | ||
| TrsyTrdReqInstrumentGroup | instrument_group | Instrument Group | ||
| TreasuryTradeRequestStatus | request_status | Trade Req. Status | ||
| TreasuryTradeRequestCategory | request_category | Trade Request Cat. | ||
| CompanyCode | company_code | Company Code | ||
| TrsyTrdReqInstrumentCategory | instrument_category | Instrument Cat. | ||
| HedgingArea | hedging_area | Hedging Area | ||
| HedgeRequestIdentifier | hedge_request_id | Hedge Request ID | ||
| TrsyTradeReqCancellationReason | cancel_reason | Cancelation Reason | ||
| TreasuryTradeRequestNote | note | TradeRequest Comment | ||
| TrsyTrdReqIsDocumentAvailable | flag_document | Documents Available | ||
| TrsyTradeRequestDescription | request_description | TReq Description | ||
| TreasuryTradeRequestCreatedBy | create_user | User Name | ||
| TreasuryTradeRequestCreatedAt | create_time | Time | ||
| TrsyTradeRequestLastChangedBy | last_change_user | Last Changed By | ||
| TrsyTradeRequestLastChangedAt | last_change_time | Time Stamp | ||
| TrsyTrdReqRefObjectCategory | object_cat | Release Object | ||
| TrsyTrdReqRefObjectIdentifier | object_reference | Object Ref. | ||
| TrsyTradeRequestNodeCategory | node_cat | Node Category | ||
| TrsyTradeRequestNodeReference | node_reference | Node Ref. | ||
| FinancialTransactionPortfolio | portfolio | Portfolio | ||
| FinTransHedgingClassification | hedging_class | Hedging Classificatn | ||
| TrsyTrdReqExternalReference | external_referenece | External Ref. | ||
| FinancialTransactionAssignment | assignment | Assignment | ||
| FinTransInternalReference | internal_reference | Internal Ref. | ||
| FinTransactionCharacteristics | characteristics | Characteristics | ||
| ProfitCenter | profit_center | Profit Center | ||
| CostCenter | cost_center | Posted Cost Center | ||
| WBSElementInternalID | WBS Internal ID | |||
| OnBehalfOfCompany | on_behalf_of_company | On Behalf of CoCode | ||
| Country | country | Venue: Ctry/Reg | ||
| Segment | segment | Segment number | ||
| BusinessArea | business_area | Business Area | ||
| ForeignExchangeValueDate | value_date | Value date | ||
| TrsyTrdReqRequestedAmount | traded_amount | Traded Amount | ||
| TrsyTradeRequestTradedCurrency | traded_currency | Traded Currency | ||
| TreasuryFXLeadingCurrency | leading_currency | Lead. Currency | ||
| TreasuryFXFollowingCurrency | following_currency | Following Crcy | ||
| TrsyTradedAmountBuySellCode | buy_sell_indicator | Buy/Sell | ||
| FinTransFixingDate | fixing_date | Fixing Date | ||
| ForeignExchangeFixingReference | fixing_reference | Fix.Ref.ID | ||
| CashSettlementCurrency | settlement_currency | NDF Settlement Currency | ||
| FXLeg2ValueDate | value_date_leg_2 | Value Date | ||
| FXLeg2TradedAmount | traded_amount_leg_2 | Traded Amount | ||
| FXLeg2TradedCurrency | traded_currency_leg_2 | Traded Currency | ||
| FXSwapLeg2FixingDate | fixing_date_leg_2 | Fixing Date | ||
| FXSwapLeg2FixingReference | fixing_reference_leg_2 | Fix.Ref.ID | ||
| FXSwapLeg2CashSettleCurrency | settlement_currency_leg_2 | NDF Settlement Currency | ||
| TrsyTradeReqInvestBorrow | invest_borrow | Invest/Borrow | ||
| TrsyTradeReqInterestRateStruc | interest_rate_structure | Interest Rate Str. | ||
| NominalAmountInNominalCurrency | nominal_amount | Nominal Amount | ||
| NominalCurrency | nominal_currency | Nominal Currency | ||
| TrsyTradeReqMinStartDate | min_start_term | Earliest Term Start | ||
| TrsyTradeReqMaxStartDate | max_start_term | Latest Term Start | ||
| TrsyTradeReqMinEndDate | min_end_term | Earliest Term End | ||
| TrsyTradeReqMaxEndDate | max_end_term | Latest Term End |
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_TreasuryTradeRequest.
-- 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: ITRSYTRDREQ
CREATE VIEW I_TreasuryTradeRequest AS
SELECT
guid AS TreasuryTradeRequestUUID,
trade_request_id AS TreasuryTradeRequest,
instrument_group AS TrsyTrdReqInstrumentGroup,
request_status AS TreasuryTradeRequestStatus,
request_category AS TreasuryTradeRequestCategory,
company_code AS CompanyCode,
instrument_category AS TrsyTrdReqInstrumentCategory,
hedging_area AS HedgingArea,
hedge_request_id AS HedgeRequestIdentifier,
cancel_reason AS TrsyTradeReqCancellationReason,
note AS TreasuryTradeRequestNote,
flag_document AS TrsyTrdReqIsDocumentAvailable,
request_description AS TrsyTradeRequestDescription,
create_user AS TreasuryTradeRequestCreatedBy,
create_time AS TreasuryTradeRequestCreatedAt,
last_change_user AS TrsyTradeRequestLastChangedBy,
last_change_time AS TrsyTradeRequestLastChangedAt,
object_cat AS TrsyTrdReqRefObjectCategory,
object_reference AS TrsyTrdReqRefObjectIdentifier,
node_cat AS TrsyTradeRequestNodeCategory,
node_reference AS TrsyTradeRequestNodeReference,
portfolio AS FinancialTransactionPortfolio,
hedging_class AS FinTransHedgingClassification,
external_referenece AS TrsyTrdReqExternalReference,
assignment AS FinancialTransactionAssignment,
internal_reference AS FinTransInternalReference,
characteristics AS FinTransactionCharacteristics,
profit_center AS ProfitCenter,
cost_center AS CostCenter,
cast(wbs_element as ps_s4_pspnr preserving type) AS WBSElementInternalID,
on_behalf_of_company AS OnBehalfOfCompany,
Country,
Segment,
business_area AS BusinessArea,
value_date AS ForeignExchangeValueDate,
traded_amount AS TrsyTrdReqRequestedAmount,
traded_currency AS TrsyTradeRequestTradedCurrency,
leading_currency AS TreasuryFXLeadingCurrency,
following_currency AS TreasuryFXFollowingCurrency,
buy_sell_indicator AS TrsyTradedAmountBuySellCode,
fixing_date AS FinTransFixingDate,
fixing_reference AS ForeignExchangeFixingReference,
settlement_currency AS CashSettlementCurrency,
value_date_leg_2 AS FXLeg2ValueDate,
traded_amount_leg_2 AS FXLeg2TradedAmount,
traded_currency_leg_2 AS FXLeg2TradedCurrency,
fixing_date_leg_2 AS FXSwapLeg2FixingDate,
fixing_reference_leg_2 AS FXSwapLeg2FixingReference,
settlement_currency_leg_2 AS FXSwapLeg2CashSettleCurrency,
invest_borrow AS TrsyTradeReqInvestBorrow,
interest_rate_structure AS TrsyTradeReqInterestRateStruc,
nominal_amount AS NominalAmountInNominalCurrency,
nominal_currency AS NominalCurrency,
min_start_term AS TrsyTradeReqMinStartDate,
max_start_term AS TrsyTradeReqMaxStartDate,
min_end_term AS TrsyTradeReqMinEndDate,
max_end_term AS TrsyTradeReqMaxEndDate
FROM tpit_trade_req
;
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