SAP Reports / Programs

RTHMHR_HR_STATUS SAP ABAP Report - Hedging Relationship Status Overview: Reverse Status







RTHMHR_HR_STATUS 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_HR_STATUS 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

THMST - Hedging Relationship Status 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_HR_STATUS. "Basic submit
SUBMIT RTHMHR_HR_STATUS AND RETURN. "Return to original report after report execution complete
SUBMIT RTHMHR_HR_STATUS 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: S_BUKRS = D .
Selection Text: S_CHDAT = System Date of Hedging Rel.
Selection Text: S_PLAN = D .
Selection Text: S_PORTF = D .
Selection Text: S_RFHA = D .
Selection Text: S_VAREA = D .
Title: Hedging Relationship Status Overview: Reverse Status
Text Symbol: 001 = General Selections
Text Symbol: 002 = Control
Text Symbol: 004 = Entered By
Text Symbol: 010 = HR History: (Green and red lights are current and historical versions)
Text Symbol: 017 = Historical Version
Text Symbol: 019 = Current Version
Text Symbol: 020 = Reverse Dissolve/Dedesignation
Text Symbol: 021 = Reverse


INCLUDES used within this REPORT RTHMHR_HR_STATUS

INCLUDE RTHMHR_HR_STATUS_TOP.
INCLUDE RTHMHR_HR_STATUS_CLA.
INCLUDE RTHMHR_HR_STATUS_MOD.
INCLUDE RTHMHR_HR_STATUS_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:

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

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

THMEX_START_APPL CALL FUNCTION 'THMEX_START_APPL' EXPORTING i_companycode = l_bukrs i_plannerid = l_planner EXCEPTIONS planner_not_found = 1 OTHERS = 2.

THMHR_ADMIN_PICK_AND_DISP_DERI CALL FUNCTION 'THMHR_ADMIN_PICK_AND_DISP_DERI' EXPORTING bukrs = l_bukrs rfha = l_rfha EXCEPTIONS deal_not_found status_not_found transaction transactiontype.

THMHR_HR_READ_HR_GIVEN_KEY CALL FUNCTION 'THMHR_HR_READ_HR_GIVEN_KEY' EXPORTING bukrs = l_t_out-bukrs rfha = l_t_out-rfha hedge_id = l_t_out-hedge_id hr_version = l_t_out-hr_version IMPORTING hr = p_hr EXCEPTIONS not_found = 1 OTHERS = 2.

TB_DEAL_AUTHORITY_CHECK CALL FUNCTION 'TB_DEAL_AUTHORITY_CHECK' EXPORTING bukrs = p_hr-bukrs sgsart = p_hr-sgsart sfhaart = p_hr-sfhaart trfct = '03' actvt = '16' EXCEPTIONS OTHERS = 1.

THMHR_HR_DISSOLVE_REVERSE CALL FUNCTION 'THMHR_HR_DISSOLVE_REVERSE' EXPORTING diss_hr = u_str_hr rev_reason = u_reason im_rng_reclass_origin = l_rng_reclass_origin im_protocol_handler = l_p_protocol_handler 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.

THMHR_HR_REVERSE_DEDESIGNATION CALL FUNCTION 'THMHR_HR_REVERSE_DEDESIGNATION' EXPORTING dedes_hr = p_hr IMPORTING rev_hr = p_new_hr EXCEPTIONS incorrect_status = 1 incorrect_version = 2 later_valuation_exists = 3 invalid_hr = 4 error_reading_rfha = 5 reversal_error = 6 OTHERS = 7.

SUSR_USER_ADDRESS_READ_ARRAY CALL FUNCTION 'SUSR_USER_ADDRESS_READ_ARRAY' TABLES user_name_tab = user_name_tab user_name_address_tab = user_name_address_tab EXCEPTIONS internal_error = 0 user_name_tab_is_empty = 0 * addr_numbers_is_empty = 0 OTHERS = 0.



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