THMHRT_HR SAP (Hedge Relationship) Table details
Dictionary Type: Table
Description: Hedge Relationship
Description: Hedge Relationship
Table field list including key, data, relationships and ABAP select examples
THMHRT_HR is a standard SAP Table which is used to store Hedge Relationship data and is available within R/3 SAP systems depending on the version and release level.
The THMHRT_HR table consists of various fields, each holding specific information or linking keys about Hedge Relationship data available in SAP. These include BUKRS (Company Code), RFHA (Financial Transaction), HEDGE_ID (Identification Number of Hedge Item), HR_VERSION (Version of the hedging relationship).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP THMHRT_HR table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
RFHA | Financial Transaction | TB_RFHA | CHAR | 13 | VTBFHA | ALPHA | T_RFHA | FAN | VTBA |
HEDGE_ID | Identification Number of Hedge Item | THM_HEDGE_ID | NUMC | 10 | THMT_HEDGE_ITEM | THM_HEDGE_ID | HEDGEID | ||
HR_VERSION | Version of the hedging relationship | THM_HR_VERSION | NUMC | 3 | THM_HR_VERSION | ||||
HR_COMP_KEY | Key for hr | THM_HR_COMP_KEY | NUMC | 10 | THM_HR_COMP_KEY | ||||
VALUATION_AREA | Valuation Area | TPM_VAL_AREA | CHAR | 3 | Assigned to domain | TPM_VAL_AREA | TPM_VAL_AREA | TRG_VALUATION_AREA | |
HR_DATE | Inception date of the current hedge relationship version | THM_HR_DATE | DATS | 8 | DATUM | ||||
HR_CR_DATE | System date when hr is written | THM_HR_AUDIT | DATS | 8 | DATUM | ||||
HR_TIME | Time when hedge relationship is written | THM_HR_TIME | TIMS | 6 | TIME | ||||
CRUSER | Entered by | TB_CRUSER | CHAR | 12 | SYCHAR12 | ||||
UPUSER | Last Changed by | TB_UPUSER | CHAR | 12 | SYCHAR12 | ||||
VOL_DERIVATIVE | Designated volume of the derivative | THM_DES_VOL_DER | CURR | 17(2) | WERTV9 | ||||
CURR_DERIVATIVE | Currency of the designated volume of the derivative | THM_CURR_DER | CUKY | 5 | TCURC | WAERS | |||
VOL_HEDGE_ITEM | Designated volume of the hedge item | THM_DES_VOL_HEDGE | CURR | 17(2) | WERTV9 | ||||
CURR_HEDGE_ITEM | Currency of the hedge item | THM_HEDGE_CURRENCY | CUKY | 5 | TCURC | WAERS | |||
MEAS_EXISTS | Indicator that HR has an associated measurement | THM_HR_VALUED | INT1 | 3 | THM_HR_VALUED | ||||
NOT_DELETABLE | Is hedging relationship deletable? | THM_HR_NOT_DELETABLE | INT1 | 3 | THM_HR_NOT_DELETABLE | ||||
STATUS | Hedging relationship status | THM_HR_STATUS | INT1 | 3 | THM_HR_STATUS | ||||
STATUS_CHANGE | Reason for a status change on the hedging relationship | THM_HR_STATUS_CHANGE | INT1 | 3 | THM_HR_STATUS_CHANGE | ||||
SANLF | Product Category | SANLF | NUMC | 3 | Assigned to domain | VVSANLF | |||
SFGTYP | Transaction Category | TB_SFGTYP | NUMC | 3 | Assigned to domain | T_SFGTYP | |||
SGSART | Product Type | VVSART | CHAR | 3 | Assigned to domain | VVSART | SAN | VVSART_APPL_BAS | |
SFHAART | Financial Transaction Type | TB_SFHAART | CHAR | 3 | Assigned to domain | T_SFHAART | T02 | C_AT10 | |
RANTYP | Contract Type | RANTYP | CHAR | 1 | RANTYP | ||||
HR_RATE_CAT | Rates for the hr | THM_RATE_CAT | INT1 | 3 | THM_RATE_CAT | ||||
HR_INT_FIX | Planned interest hedge rate for an hedging relationship | THM_HEDGE_RATE_INT | DEC | 10(7) | DECV3_7 | ||||
HR_INT_VAR | Planned interest reference hedge rate for an hedging rel. | THM_HEDGE_RATE_INT_REF | CHAR | 10 | Assigned to domain | ZIREFKU | |||
HR_FX_RATE | Planned FX hedge rate for a hedging relationship | THM_HEDGE_RATE | DEC | 13(9) | TB_KKURS | ||||
HR_STARTVAL | Determine hedged item's value at inception date | THM_STARTVALUE_SET | NUMC | 1 | THM_STARTVALUE_SET | ||||
BENCHMARK | Benchmark interest reference for an hedging relationship | THM_HR_BENCHMARK | CHAR | 10 | T056R | ZIREFKU | |||
FIX_BENCHMARK | Fixed benchmark interest rate of an hedging relationship | THM_HR_FIX_BENCHMARK | DEC | 10(7) | DECV3_7 | ||||
H_RFHA | Hypothetical transaction (hedge accounting) | GE_HYPTRANS | CHAR | 13 | VTBFHA | ALPHA | T_RFHA | FAN | VTBA |
HR_SPREAD | Interest Rate Spread to Risk Free Market Interest Rate | THA_SPREAD | DEC | 10(7) | DECV3_7 | ||||
PMAX | Strike price upper limit | TB_PMAX | DEC | 10(7) | DECV3_7 | ||||
PMIN | Strike Price Lower Limit | TB_PMIN | DEC | 10(7) | DECV3_7 | ||||
REFTYP | Reference Category (Unit Category) | KL_TYP | CHAR | 3 | ATR1 | KL_TYP | T31 | ||
REFNR | Reference number (unit no.) | KL_NR | CHAR | 10 | REFH | ALPHA | KL_NR | T30 | |
HR_BEGIN_DATE | Hedging Relationship Start Date | THA_HR_BEGIN_DATE | DATS | 8 | DATUM | ||||
KKASSA | Spot Rate | TB_KKASSA | DEC | 13(9) | TB_KKURS | ||||
DVTRAB | Contract Conclusion Date | TB_DVTRAB | DATS | 8 | DATUM | ||||
DESIG_QUANTITY | Designated quantity | THA_DES_QUANTITY | QUAN | 15(3) | THA_QUANTITY | ||||
UNIT_OF_MEASURE | Unit of Measure for the Commodity | TPM_CTY_UOM | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
COMMODITY_ID | Commodity ID | TRCO_COMM_ID | CHAR | 18 | TPM_CTY_ID | COMMODITY_ID | F4_CTY_ID_CORE | ||
COMMODITY_PRICE | Commodity Price | FTR_COMPRICE | DEC | 13(5) | FTR_COMPRICE | ||||
HR_REFNR | Reference number (unit no.) | KL_NR | CHAR | 10 | Assigned to domain | ALPHA | KL_NR | T30 | |
EXP_FORW_PRICE | Forward price of the exposure | THA_EXP_FORW_PRICE | DEC | 29(10) | THA_PRICE_PER_UNIT | ||||
COMM_ID_DERIV | Commodity ID | TRCO_COMM_ID | CHAR | 18 | TPM_CTY_ID | COMMODITY_ID | F4_CTY_ID_CORE | ||
HEDGE_DES_QTY | Designated quantity of Hedged Item | THA_HEDGE_DES_QTY | QUAN | 15(3) | THA_QUANTITY | ||||
HEDGE_DES_UOM | Unit of Measure for the Commodity | TPM_CTY_UOM | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
HD_NUMBER | Hypothetical Derivative Instrument Number | FTR_HD_NUMBER | CHAR | 13 | Assigned to domain | FTR_HD_NUMBER | |||
HD_VERSION | Hypothetical Derivative Instrument Version Number | FTR_HD_VERSION | INT1 | 3 | FTR_HD_VERSION | ||||
FP_CALC_METH | Calculation Method for expected forward price of exposure | THM_FP_CALC_METHOD | CHAR | 1 | THM_FP_CALC_METHOD |
Key field | Non-key field |
How do I retrieve data from SAP table THMHRT_HR using ABAP code
The following ABAP code Example will allow you to do a basic selection on THMHRT_HR to SELECT all data from the tableDATA: WA_THMHRT_HR TYPE THMHRT_HR.
SELECT SINGLE *
FROM THMHRT_HR
INTO CORRESPONDING FIELDS OF WA_THMHRT_HR
WHERE...
How to access SAP table THMHRT_HR
Within an ECC or HANA version of SAP you can also view further information about THMHRT_HR and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects