RTPMHR_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 RTPMHR_CHANGE_DOCUMENT into the relevant SAP transactions such as SE38 or SE80
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.
Change Documents for Hedge Accounting
Selection Text: ALV_GRID = Display Using List Viewer
Selection Text: P_DELOBJ = Include Deleted Objects
Selection Text: P_TPMHIN = Hedging Instrument
Selection Text: P_TPMTHI = Hedged Item
Selection Text: P_TPMTHR = Hedging Relationship
Selection Text: P_VAR = D .
Selection Text: S_BUKRS = D .
Selection Text: S_DATE = D .
Selection Text: S_HEDGE = D .
Selection Text: S_USER = Changed By
Title: Change Documents for Hedge Accounting for Positions
Text Symbol: ALV = Output Control
Text Symbol: BUK = Company Code
Text Symbol: FHA = Object ID
Text Symbol: OBJ = Object Selections
Text Symbol: PAR = Change Parameters
Text Symbol: TRM = Hedge Accounting Selections
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
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_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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RTPMHR_CHANGE_DOCUMENT - Change Documents for Hedge Accounting for Positions RTPMHR_CHANGE_DOCUMENT - Change Documents for Hedge Accounting for Positions RTPMARCHIVE_WRITE_SELECT_DATA - Include RTPMARCHIVE_WRITE_SELECT_DATA RTPMARCHIVE_WRITE_POS_GROUP - Include RTPMARCHIVE_WRITE_POS_GROUP RTPMARCHIVE_WRITE_CHECK_TRFF01 - Include RTPMARCHIVE_WRITE_CHECK_TRFF01 RTPMARCHIVE_WRITE_CHECK_CONF01 - Include RTPMARCHIVE_WRITE_CHECK_CONF01