SAP Reports / Programs

RTHMHR_SELECT_HR_DOCU SAP ABAP Report - Hedging Relationship Documentation







RTHMHR_SELECT_HR_DOCU 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_SELECT_HR_DOCU 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

THM86 - Hedge Relationship Documentation


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_SELECT_HR_DOCU. "Basic submit
SUBMIT RTHMHR_SELECT_HR_DOCU AND RETURN. "Return to original report after report execution complete
SUBMIT RTHMHR_SELECT_HR_DOCU 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_DATE = D .
Selection Text: P_VERS = Latest Version
Selection Text: SO_BUKRS = D .
Selection Text: SO_DEALN = D .
Selection Text: SO_EXPID = D .
Selection Text: SO_HID = D .
Selection Text: SO_PLNID = D .
Selection Text: SO_VALAR = D .
Title: Hedging Relationship Documentation
Text Symbol: 001 = Hedge Details
Text Symbol: SEC = General Selections


INCLUDES used within this REPORT RTHMHR_SELECT_HR_DOCU

No INCLUDES are used within this REPORT code!


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:

FTI_LDB_GET_HM_DATA_GENERAL CALL FUNCTION 'FTI_LDB_GET_HM_DATA_GENERAL' EXPORTING i_bukrs = so_bukrs[] "Company code i_hdgplnid = so_plnid[] "Hedge Plan i_hdgid = so_hid[] "hedge id i_expid = so_expid[] "Exposure ID i_vlarea = so_valar[] "Valuation area i_rfha = so_dealn[] "Hedge instrument * i_flg_vers = tpmco_xfalse "Last version flag IMPORTING e_tab_hedgeplan = l_tab_hedge_plan e_tab_exposure = l_tab_exposure e_tab_exp_trans = l_tab_exp_trans e_tab_hedge_id = l_tab_hedge_item e_tab_hedge_relation = l_tab_hedge_relation e_tab_exp_hedge_rel = l_tab_exp_hedge_rel.

THMHR_DOCU_EXECUTE CALL FUNCTION 'THMHR_DOCU_EXECUTE' EXPORTING * im_version = p_vers im_tab_hedge_relation = l_tab_hedge_relation im_tab_hedge_plan = l_tab_hedge_plan im_tab_exposure = l_tab_exposure im_tab_exp_trans = l_tab_exp_trans im_tab_exp_hedge_rel = l_tab_exp_hedge_rel im_tab_hedge_item = l_tab_hedge_item im_protocol = g_oref_protocol EXCEPTIONS hrel_not_found = 1 OTHERS = 2.



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