SAP Reports / Programs

RTHMHR_CHANGE_DOCUMENT SAP ABAP Report - Change Documents for Hedge Accounting







RTHMHR_CHANGE_DOCUMENT 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_CHANGE_DOCUMENT 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

THM85 - Change documents for Hedge Managemnt


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_CHANGE_DOCUMENT. "Basic submit
SUBMIT RTHMHR_CHANGE_DOCUMENT AND RETURN. "Return to original report after report execution complete
SUBMIT RTHMHR_CHANGE_DOCUMENT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Change Documents for Hedge Management
Selection Text: S_USER = Changed By
Selection Text: S_TRANID = Exposure Transaction
Selection Text: S_RFHA = Derivative
Selection Text: S_PLANNE = D .
Selection Text: S_HR_VER = Version of the Hedging Relatio
Selection Text: S_HEDGE = D .
Selection Text: S_DATE = D .
Selection Text: S_BUKRS = D .
Selection Text: P_VAR = D .
Selection Text: P_THMTTI = IR Exposure Transaction
Selection Text: P_THMTTF = FX Exposure Transaction
Selection Text: P_THMTPL = Hedge Plan ID
Selection Text: P_THMTHR = Hedging Relationship
Selection Text: P_THMTHI = Hedge
Selection Text: P_DELOBJ = Include Deleted Objects
Selection Text: ALV_GRID = Display using List Viewer
Title: Change Documents for Hedge Accounting
Text Symbol: TRM = Hedge Accounting Selections
Text Symbol: PAR = Change Parameters
Text Symbol: OBJ = Object Selections
Text Symbol: FHA = Object Id
Text Symbol: BUK = Company Code
Text Symbol: ALV = Output Control


INCLUDES used within this REPORT RTHMHR_CHANGE_DOCUMENT

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:

TB_CD_DISPLAY_ACC_CHDOC CALL FUNCTION 'TB_CD_DISPLAY_ACC_CHDOC' EXPORTING ls_variant = g_variant ls_layout = gs_layout l_save = g_save l_obj_class = cd_objectclass l_obj_id = hlp_objectid TABLES lt_events = gt_events t_header = t_header.

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 = g_rng_company_code EXCEPTIONS no_company_code_found = 1 no_authority = 2 OTHERS = 99.

TB_CD_MINIMAL_DATE_DETERMINE CALL FUNCTION 'TB_CD_MINIMAL_DATE_DETERMINE' EXPORTING date = s_date-low option = s_date-option sign = s_date-sign IMPORTING minimal_date = hlp_date EXCEPTIONS OTHERS = 1.

CHANGEDOCUMENT_DISPLAY * CALL FUNCTION 'CHANGEDOCUMENT_DISPLAY' * EXPORTING * i_applicationid = g_repid ** IS_LAYOUT = ** IS_VARIANT = * FLG_AUTOCONDENSE = 'X' ** I_CB_PROGRAM = * I_OBJECTCLAS = cd_objectclass ** IS_SEL_HIDE = ** I_SCREEN_START_LINE = 0 ** I_SCREEN_START_COLUMN = 0 ** I_SCREEN_END_LINE = 0 ** I_SCREEN_END_COLUMN = 0 ** I_CALLBACK_PF_STATUS_SET = ' ' ** IT_EVENTS = * tables * i_cdred = g_tab_cdred .

TB_CD_NOT_FOUND_MESSAGE CALL FUNCTION 'TB_CD_NOT_FOUND_MESSAGE'.

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING objectclass = cd_objectclass objectid = hlp_objectid username = hlp_user date_of_change = hlp_date TABLES i_cdhdr = tcdhdr EXCEPTIONS no_position_found = 1 OTHERS = 2.

TB_CD_POSITIONS_WRITE CALL FUNCTION 'TB_CD_POSITIONS_WRITE' EXPORTING header = cdhdr EXCEPTIONS OTHERS = 1.

TB_CD_POSITIONS_WRITE CALL FUNCTION 'TB_CD_POSITIONS_WRITE' EXPORTING header = cdhdr is_accessible = 'X' EXCEPTIONS OTHERS = 1.

TB_CD_TOP_OF_PAGE CALL FUNCTION 'TB_CD_TOP_OF_PAGE' EXPORTING header = cdhdr EXCEPTIONS OTHERS = 1.

CHANGEDOCUMENT_READ CALL FUNCTION 'CHANGEDOCUMENT_READ' EXPORTING * ARCHIVE_HANDLE = 0 * CHANGENUMBER = ' ' * DATE_OF_CHANGE = '00000000' objectclass = cd_objectclass objectid = u_objectid * TABLEKEY = ' ' * TABLENAME = ' ' * TIME_OF_CHANGE = '000000' username = hlp_user * LOCAL_TIME = ' ' * TABLEKEY254 = ' ' * KEYGUID = ' ' date_until = hlp_date * TIME_UNTIL = '235959' TABLES editpos = u_tab_pos_with_header EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2 time_zone_conversion_error = 3 OTHERS = 4 .

REUSE_ALV_EVENTS_GET * CALL FUNCTION 'REUSE_ALV_EVENTS_GET' * EXPORTING * i_list_type = 0 * IMPORTING * et_events = rt_events.

REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' * EXPORTING ** i_logo = 'ENJOYSAP_LOGO' * it_list_commentary = g_tab_list_top_of_page.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save IMPORTING e_exit = g_exit es_variant = gx_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant.



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