SAP Reports / Programs

RTHMHR_REVERSE_DISSOLVE SAP ABAP Report - Reverse Dissolution of Individual Hedging Relationship







RTHMHR_REVERSE_DISSOLVE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RTHMHR_REVERSE_DISSOLVE into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

THMR2 - Reverse single HR dissolve


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RTHMHR_REVERSE_DISSOLVE. "Basic submit
SUBMIT RTHMHR_REVERSE_DISSOLVE AND RETURN. "Return to original report after report execution complete
SUBMIT RTHMHR_REVERSE_DISSOLVE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_VARI = D .
Selection Text: P_RFHA = D .
Selection Text: P_REASON = D .
Selection Text: P_HEDGE = D .
Selection Text: P_FIPER = D .
Selection Text: P_FIDAT = D .
Selection Text: P_BUKRS = D .
Title: Reverse Dissolution of Individual Hedging Relationship
Text Symbol: 125 = Reversal Successful
Text Symbol: 124 = Reversal Terminated
Text Symbol: 110 = Transaction Activity
Text Symbol: 109 = Trans Act
Text Symbol: 108 = Transaction Category
Text Symbol: 107 = Trans Cat
Text Symbol: 106 = Hedge Category
Text Symbol: 105 = Hedge Cat
Text Symbol: 104 = Contract Type
Text Symbol: 103 = Hedge Risk Category
Text Symbol: 102 = Risk Cat
Text Symbol: 101 = Reversal Status
Text Symbol: 100 = Status
Text Symbol: 021 = Reverse
Text Symbol: 020 = Reverse Dissolution of HR
Text Symbol: 010 = Reverse Dissolve of Hedging Relationship
Text Symbol: 002 = Control
Text Symbol: 001 = General Selections


INCLUDES used within this REPORT RTHMHR_REVERSE_DISSOLVE

INCLUDE RTHMHR_REVERSE_DISSOLVE_TOP.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

LVC_VARIANT_DEFAULT_GET CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = def_variant EXCEPTIONS not_found = 2.

THMEX_AUTHORITY_BUK CALL FUNCTION 'THMEX_AUTHORITY_BUK' EXPORTING im_company_code = p_bukrs im_activ_auth = thmex_con_activ_chg.

LVC_VARIANT_F4 CALL FUNCTION 'LVC_VARIANT_F4' EXPORTING is_variant = def_variant i_save = g_save IMPORTING e_exit = g_exit es_variant = def_variant EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant EXCEPTIONS not_found = 2.

GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'THM_RISKCAT' TABLES values_tab = loc_t_riskcat EXCEPTIONS no_values_found = 0 OTHERS = 0.

GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'RANTYP' TABLES values_tab = loc_t_rantyp EXCEPTIONS no_values_found = 0 OTHERS = 0.

GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'THM_HEDGE_CATEGORY' TABLES values_tab = loc_t_hed_cat EXCEPTIONS no_values_found = 0 OTHERS = 0.

GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'THM_TRANSCAT' TABLES values_tab = loc_t_txn_cat EXCEPTIONS no_values_found = 0 OTHERS = 0.

THMHR_HR_READ_ALL_HR_FOR_DERI CALL FUNCTION 'THMHR_HR_READ_ALL_HR_FOR_DERI' EXPORTING bukrs = p_bukrs rfha = p_rfha TABLES hr = l_tab_hr EXCEPTIONS no_key = 1 OTHERS = 2.

THMHR_DET_LATEST_HR_VERSION CALL FUNCTION 'THMHR_DET_LATEST_HR_VERSION' TABLES hr = l_tab_hr EXCEPTIONS no_input_hr = 1 OTHERS = 2.

THMHR_BATCH_GET_TEXTS CALL FUNCTION 'THMHR_BATCH_GET_TEXTS' EXPORTING i_value = l_str_trans-transactivity IMPORTING e_text = loc_txn_text EXCEPTIONS no_value_found = 0 OTHERS = 0.

THMHR_HR_DISSOLVE_REVERSE CALL FUNCTION 'THMHR_HR_DISSOLVE_REVERSE' EXPORTING diss_hr = loc_hr rev_reason = p_reason im_rng_reclass_origin = l_rng_reclass_origin im_protocol_handler = l_p_protocol_handler im_fi_reversal_date = p_fidat im_fi_reversal_period = p_fiper IMPORTING rev_hr = l_tab_rev_hr EXCEPTIONS incorrect_status = 1 incorrect_version = 2 later_valuation_exists = 3 rfha_reallocated = 4 invalid_hr = 5 error_reading_rfha = 6 rfha_overallocated = 7 reversal_error = 8 reclass_error = 9 OTHERS = 10.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = con_red_led info = text-124 IMPORTING result = loc_out-except EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = con_green_led info = text-125 IMPORTING result = loc_out-except EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

THMEX_START_APPL CALL FUNCTION 'THMEX_START_APPL' EXPORTING i_companycode = p_bukrs i_plannerid = p_plannerid EXCEPTIONS planner_not_found = 1 OTHERS = 2.

THMHR_ADMIN_PICK_AND_DISP_DERI CALL FUNCTION 'THMHR_ADMIN_PICK_AND_DISP_DERI' EXPORTING bukrs = p_bukrs rfha = p_rfha EXCEPTIONS deal_not_found status_not_found transaction transactiontype.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RTHMHR_REVERSE_DISSOLVE or its description.