SAP Reports / Programs | Financials | Financial Supply Chain Management | Transaction Manager(FIN-FSCM-TRM-TM) SAP FIN

RTHMHR_OVERVIEW_PLANNER SAP ABAP Report - Hedge Plan Overview







RTHMHR_OVERVIEW_PLANNER 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_OVERVIEW_PLANNER 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

THM82 - Hedge plan overview


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_OVERVIEW_PLANNER. "Basic submit
SUBMIT RTHMHR_OVERVIEW_PLANNER AND RETURN. "Return to original report after report execution complete
SUBMIT RTHMHR_OVERVIEW_PLANNER 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: S_VAREA = D .
Selection Text: S_START = D .
Selection Text: S_PLAN = D .
Selection Text: S_END = D .
Selection Text: S_BUKRS = D .
Selection Text: P_VARI = D .
Selection Text: P_PROGR = D .
Selection Text: P_GROUP = D .
Selection Text: CHK_IR = Interest Rate Risk Plans
Selection Text: CHK_HR = Show Plans with HRs Only
Selection Text: CHK_FX = FX Risk Plans
Selection Text: CHK_CO = Commodity Risk Plans
Title: Hedge Plan Overview
Text Symbol: 153 = Plan Currency
Text Symbol: 152 = Plan Crcy
Text Symbol: 151 = Transaction Currency
Text Symbol: 150 = Trans Crcy
Text Symbol: 149 = Transaction Amount
Text Symbol: 148 = Trans.Amt
Text Symbol: 147 = Transaction Expiration Date
Text Symbol: 146 = Trans.Exp
Text Symbol: 145 = Transaction Activity
Text Symbol: 144 = Trans Act
Text Symbol: 143 = Transaction Category
Text Symbol: 142 = Trans Cat
Text Symbol: 141 = Hedge Expiration Date
Text Symbol: 140 = Hedge Exp
Text Symbol: 139 = Exposure Expiration Date
Text Symbol: 138 = Exp.Expire
Text Symbol: 137 = Description
Text Symbol: 154 = Hedge Crcy
Text Symbol: 155 = Hedge Currency
Text Symbol: 156 = Trans. Start
Text Symbol: 157 = Exposure Transaction Start Date
Text Symbol: 158 = Hedging Relationship Dedesignated
Text Symbol: 159 = Exp.Comm
Text Symbol: 160 = Exposure Commodity ID
Text Symbol: 161 = Exp.UoM





Text Symbol: 162 = Exposure Unit of Measure
Text Symbol: 163 = Exp.Qty
Text Symbol: 164 = Exposure Quantity
Text Symbol: 165 = Des. Qty
Text Symbol: 166 = Designated Quantity of Hedged Item
Text Symbol: 167 = Des. Der. Qty
Text Symbol: 168 = Designated Quantity of Derivative
Text Symbol: 169 = Fwd. Price
Text Symbol: 170 = Expected Forward Price
Text Symbol: 171 = Hedging Relationship Active
Text Symbol: 136 = Description
Text Symbol: 111 = Act.Hg.Ratio
Text Symbol: 110 = Actual
Text Symbol: 109 = Target Ratio
Text Symbol: 108 = Target
Text Symbol: 107 = Nominal Amount of Hedge
Text Symbol: 106 = Nom.Amt
Text Symbol: 105 = Nominal Amount of Plan
Text Symbol: 104 = Nom.Amt
Text Symbol: 103 = End Date
Text Symbol: 102 = End Date
Text Symbol: 101 = Risk Category
Text Symbol: 100 = Risk Cat
Text Symbol: 026 = Valuation Area
Text Symbol: 025 = Financial Trans
Text Symbol: 024 = Transaction
Text Symbol: 023 = Exposure
Text Symbol: 022 = Hedge
Text Symbol: 021 = Plan
Text Symbol: 020 = Company Code
Text Symbol: 012 = Hedge Plan Overview
Text Symbol: 011 = Plan Structure
Text Symbol: 010 = Plan Structure
Text Symbol: 002 = Control
Text Symbol: 001 = General Selections
Text Symbol: 135 = Start Date
Text Symbol: 134 = Start Date
Text Symbol: 133 = Exposure Currency
Text Symbol: 132 = Currency





Text Symbol: 131 = Exposure Amount
Text Symbol: 130 = Exp.Amount
Text Symbol: 129 = Exposure ID
Text Symbol: 128 = Exposure
Text Symbol: 127 = Derivative Currency
Text Symbol: 126 = Currency
Text Symbol: 125 = Available Volume of Financial Transaction
Text Symbol: 124 = Avail.Vol.
Text Symbol: 123 = Total Volume of Financial Transaction
Text Symbol: 122 = Total Vol.
Text Symbol: 121 = Assigned Volume of Hedge
Text Symbol: 120 = Hedge Vol
Text Symbol: 119 = Assigned Volume of Financial Transaction
Text Symbol: 118 = Transactn
Text Symbol: 117 = Financial Transaction Rate
Text Symbol: 116 = Trans.Rate
Text Symbol: 115 = Start Date of Hedging Relationship
Text Symbol: 114 = Start Date
Text Symbol: 113 = Hedge Strategy
Text Symbol: 112 = HR Strat


INCLUDES used within this REPORT RTHMHR_OVERVIEW_PLANNER

INCLUDE RTHMHR_OVERVIEW_PLANNER_TOP.
INCLUDE RTHMHR_OVERVIEW_PLANNER_MOD.
INCLUDE RTHMHR_OVERVIEW_PLANNER_CLA.
INCLUDE RTHMHR_OVERVIEW_PLANNER_ALV.


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:

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.

THMEX_AUTHORITY_BUK_LIST CALL FUNCTION 'THMEX_AUTHORITY_BUK_LIST' EXPORTING im_activ_auth = thmex_con_activ_dis im_rng_company_code = s_bukrs[] IMPORTING ex_rng_company_code = l_rng_company_code EXCEPTIONS no_company_code_found = 1 no_authority = 2 OTHERS = 99.

GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'THM_RISKCAT' TABLES values_tab = gt_riskcat EXCEPTIONS no_values_found = 1 OTHERS = 2.

GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'THM_HEDGE_CATEGORY' TABLES values_tab = gt_hedgecat EXCEPTIONS no_values_found = 1 OTHERS = 2.

THMHR_BATCH_HEDGE_EXPIRE_DATE CALL FUNCTION 'THMHR_BATCH_HEDGE_EXPIRE_DATE' EXPORTING i_bukrs = l_hedge_wa-bukrs i_planner = l_hedge_wa-planner_id i_hedge = l_hedge_wa-hedge_id i_val_area = l_hedge_wa-valuation_area IMPORTING e_date = expire_date EXCEPTIONS no_hedge_found = 1 OTHERS = 2.

THMHR_BATCH_GET_TEXTS CALL FUNCTION 'THMHR_BATCH_GET_TEXTS' EXPORTING i_value = l_trans_wa-transactivity IMPORTING e_text = l_act_text EXCEPTIONS no_value_found = 1 OTHERS = 2.

THMHR_BATCH_GET_TEXTS



CALL FUNCTION 'THMHR_BATCH_GET_TEXTS' EXPORTING i_value = l_trans_wa-transactivity IMPORTING e_text = l_act_text EXCEPTIONS no_value_found = 1 OTHERS = 2.

THMHR_BATCH_GET_TEXTS CALL FUNCTION 'THMHR_BATCH_GET_TEXTS' EXPORTING i_value = l_trans_wa-transactivity IMPORTING e_text = l_act_text EXCEPTIONS no_value_found = 1 OTHERS = 2.

THMHR_BATCH_HEDGE_EXPIRE_DATE CALL FUNCTION 'THMHR_BATCH_HEDGE_EXPIRE_DATE' EXPORTING i_bukrs = l_hedge_wa-bukrs i_planner = l_hedge_wa-planner_id i_hedge = l_hedge_wa-hedge_id i_val_area = l_hedge_wa-valuation_area IMPORTING e_date = expire_date EXCEPTIONS no_hedge_found = 1 OTHERS = 2.

THMH_HEDGE_READ CALL FUNCTION 'THMH_HEDGE_READ' EXPORTING cocode = p_tree_wa-bukrs hedge_id = p_tree_wa-hedgeid planner_id = p_tree_wa-plannerid IMPORTING e_thmt_hedge_item = l_hedge EXCEPTIONS no_hedge_found = 1 OTHERS = 2.

THMHR_HR_READ_ALL_HR_FOR_HEDGE CALL FUNCTION 'THMHR_HR_READ_ALL_HR_FOR_HEDGE' EXPORTING hedge = l_hedge_wa IMPORTING hr = l_hrs EXCEPTIONS no_key = 1 OTHERS = 2.

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

THMHR_HR_READ_ALL_ST_FOR_HEDGE CALL FUNCTION 'THMHR_HR_READ_ALL_ST_FOR_HEDGE' EXPORTING hedge = l_hedge_wa TABLES strat = l_strat EXCEPTIONS no_key = 1 OTHERS = 2.

THMHR_DET_LATEST_ST_VERSION CALL FUNCTION 'THMHR_DET_LATEST_ST_VERSION' TABLES strat = l_strat EXCEPTIONS no_input_strat = 1 OTHERS = 2.

THMHR_DER_VOL_AND_AVAIL_VOL CALL FUNCTION 'THMHR_DER_VOL_AND_AVAIL_VOL' EXPORTING bukrs = l_hr_wa-bukrs rfha = l_hr_wa-rfha date = sy-datum currency = l_hr_wa-curr_derivative im_sign = l_sign IMPORTING e_tot_vol = l_total_vol e_avail_vol = l_avail_vol e_der_curr = l_currency EXCEPTIONS nominal_not_found = 1 OTHERS = 2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_deactivate info = text-158 IMPORTING result = ls_plan-status EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_activate info = text-171 IMPORTING result = ls_plan-status EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.



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_OVERVIEW_PLANNER or its description.