THM_HR_HISTORY SAP (Hedging Relationship history status) Structure details

Dictionary Type: Structure
Description: Hedging Relationship history status




ABAP Code to SELECT data from THM_HR_HISTORY
Related tables to THM_HR_HISTORY
Access table THM_HR_HISTORY




Structure field list including key, data, relationships and ABAP select examples

THM_HR_HISTORY is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Hedging Relationship history status" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_THM_HR_HISTORY TYPE THM_HR_HISTORY.

The THM_HR_HISTORY table consists of various fields, each holding specific information or linking keys about Hedging Relationship history status data available in SAP. These include PLANNERID (Hedge Plan ID), RFHA (Financial Transaction), VALUATION_AREA (Valuation Area), RPORTB (Portfolio).. 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP THM_HR_HISTORY structure 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
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
PLANNERIDHedge Plan ID THM_PLANNERIDCHAR13Assigned to domainALPHATHM_PLANNERIDPLN
RFHAFinancial Transaction TB_RFHACHAR13Assigned to domainALPHAT_RFHAFANVTBA
VALUATION_AREAValuation Area TPM_VAL_AREACHAR3Assigned to domainTPM_VAL_AREATPM_VAL_AREATRG_VALUATION_AREA
RPORTBPortfolio RPORTBCHAR10Assigned to domainRPORTBT50H_RPORTB_CORE
HEDGE_IDIdentification Number of Hedge Item THM_HEDGE_IDNUMC10Assigned to domainTHM_HEDGE_IDHEDGEID
HR_VERSIONVersion of the hedging relationship THM_HR_VERSIONNUMC3THM_HR_VERSION
HR_DATEInception date of the current hedge relationship version THM_HR_DATEDATS8DATUM
CRUSEREntered by TB_CRUSERCHAR12SYCHAR12
USERNAME Changed by0
HR_CR_DATESystem date when hr is written THM_HR_AUDITDATS8DATUM
HR_TIMETime when hedge relationship is written THM_HR_TIMETIMS6TIME
VOL_DERIVATIVEDesignated volume of the derivative THM_DES_VOL_DERCURR17(2) WERTV9
CURR_DERIVATIVECurrency of the designated volume of the derivative THM_CURR_DERCUKY5Assigned to domainWAERS
VOL_HEDGE_ITEMDesignated volume of the hedge item THM_DES_VOL_HEDGECURR17(2) WERTV9
CURR_HEDGE_ITEMCurrency of the hedge item THM_HEDGE_CURRENCYCUKY5Assigned to domainWAERS
STATUSHedging relationship status THM_HR_STATUSINT13THM_HR_STATUS
STAT_TXTDescription for Status of Hedging Relationship THA_STATUS_TXTCHAR15
STATUS_CHANGEReason for a status change on the hedging relationship THM_HR_STATUS_CHANGEINT13THM_HR_STATUS_CHANGE
STATUS_CHANGE_TXTDescription of Status Change THA_STATUS_CHANGE_TXTCHAR60
LIGHT Exception light0

Key field Non-key field



How do I retrieve data from SAP structure THM_HR_HISTORY using ABAP code?

As THM_HR_HISTORY is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on THM_HR_HISTORY as there is no data to select.

How to access SAP table THM_HR_HISTORY

Within an ECC or HANA version of SAP you can also view further information about THM_HR_HISTORY and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!