THM_HR_HISTORY SAP (Hedging Relationship history status) Structure details
Description: Hedging Relationship history status
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 |
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
PLANNERID | Hedge Plan ID | THM_PLANNERID | CHAR | 13 | Assigned to domain | ALPHA | THM_PLANNERID | PLN | |
RFHA | Financial Transaction | TB_RFHA | CHAR | 13 | Assigned to domain | ALPHA | T_RFHA | FAN | VTBA |
VALUATION_AREA | Valuation Area | TPM_VAL_AREA | CHAR | 3 | Assigned to domain | TPM_VAL_AREA | TPM_VAL_AREA | TRG_VALUATION_AREA | |
RPORTB | Portfolio | RPORTB | CHAR | 10 | Assigned to domain | RPORTB | T50 | H_RPORTB_CORE | |
HEDGE_ID | Identification Number of Hedge Item | THM_HEDGE_ID | NUMC | 10 | Assigned to domain | THM_HEDGE_ID | HEDGEID | ||
HR_VERSION | Version of the hedging relationship | THM_HR_VERSION | NUMC | 3 | THM_HR_VERSION | ||||
HR_DATE | Inception date of the current hedge relationship version | THM_HR_DATE | DATS | 8 | DATUM | ||||
CRUSER | Entered by | TB_CRUSER | CHAR | 12 | SYCHAR12 | ||||
USERNAME | Changed by | 0 | |||||||
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 | ||||
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 | Assigned to domain | 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 | Assigned to domain | WAERS | |||
STATUS | Hedging relationship status | THM_HR_STATUS | INT1 | 3 | THM_HR_STATUS | ||||
STAT_TXT | Description for Status of Hedging Relationship | THA_STATUS_TXT | CHAR | 15 | |||||
STATUS_CHANGE | Reason for a status change on the hedging relationship | THM_HR_STATUS_CHANGE | INT1 | 3 | THM_HR_STATUS_CHANGE | ||||
STATUS_CHANGE_TXT | Description of Status Change | THA_STATUS_CHANGE_TXT | CHAR | 60 | |||||
LIGHT | Exception light | 0 |
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 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