RTHMHR_REVERSE_DEDESIGNATION 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_REVERSE_DEDESIGNATION into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
THMR1 - Reverse single HR dedesignation
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.
Selection Text: P_VARI = D .
Selection Text: P_RFHA = D .
Selection Text: P_HEDGE = D .
Selection Text: P_BUKRS = D .
Selection Text: P_DATE = D .
Title: Reverse a Single Hedging Relationship Dedesignation
Text Symbol: 125 = Reversal Successful
Text Symbol: 124 = Reversal Terminated
Text Symbol: 110 = Transaction Activity
Text Symbol: 109 = Trans Act
Text Symbol: 108 = Transaction Category
Text Symbol: 107 = Trans Cat
Text Symbol: 106 = Hedge Category
Text Symbol: 105 = Hedge Cat
Text Symbol: 104 = Contract Type
Text Symbol: 103 = Hedge Risk Category
Text Symbol: 102 = Risk Cat
Text Symbol: 101 = Reversal Status
Text Symbol: 100 = Status
Text Symbol: 021 = Reverse Dedesignation of HR
Text Symbol: 020 = Reverse
Text Symbol: 010 = Reverse Dedesignation of Hedging Relationship
Text Symbol: 002 = Control
Text Symbol: 001 = General Selections
INCLUDE RTHMHR_REVERSE_DEDES_TOP.
No SAP DATABASE tables are accessed within this REPORT code!
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_AUTHORITY_BUK CALL FUNCTION 'THMEX_AUTHORITY_BUK' EXPORTING im_company_code = p_bukrs im_activ_auth = thmex_con_activ_chg.
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.
GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'THM_RISKCAT' TABLES values_tab = loc_t_riskcat EXCEPTIONS no_values_found = 0 OTHERS = 0.
GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'RANTYP' TABLES values_tab = loc_t_rantyp EXCEPTIONS no_values_found = 0 OTHERS = 0.
GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'THM_HEDGE_CATEGORY' TABLES values_tab = loc_t_hed_cat EXCEPTIONS no_values_found = 0 OTHERS = 0.
GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'THM_TRANSCAT' TABLES values_tab = loc_t_txn_cat EXCEPTIONS no_values_found = 0 OTHERS = 0.
THMHR_READ_HR_GIVEN_DATE_RFHA CALL FUNCTION 'THMHR_READ_HR_GIVEN_DATE_RFHA' EXPORTING i_rfha = p_rfha i_bukrs = p_bukrs excl_diss_and_settle = tpmco_xfalse IMPORTING hr_tab = loc_hr_tab EXCEPTIONS bukrs_missing = 1 rfha_missing = 2 OTHERS = 3.
THMHR_HR_READ_ALL_ST_FOR_HR CALL FUNCTION 'THMHR_HR_READ_ALL_ST_FOR_HR' EXPORTING hr = loc_hr IMPORTING strat = loc_strat EXCEPTIONS no_strat_found = 1 OTHERS = 2.
THMHR_BATCH_GET_TEXTS CALL FUNCTION 'THMHR_BATCH_GET_TEXTS' EXPORTING i_value = loc_trans-transactivity IMPORTING e_text = loc_txn_text EXCEPTIONS no_value_found = 0 OTHERS = 0.
THMHR_HR_REVERSE_DEDESIGNATION CALL FUNCTION 'THMHR_HR_REVERSE_DEDESIGNATION' EXPORTING dedes_hr = loc_hr im_hr_date = p_date IMPORTING rev_hr = loc_rev_hr EXCEPTIONS incorrect_status = 1 incorrect_version = 2 later_valuation_exists = 3 invalid_hr = 4 error_reading_rfha = 5 reversal_error = 6 later_hr_date = 7 OTHERS = 99.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = con_red_led info = text-124 IMPORTING RESULT = loc_out-except EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = con_green_led info = text-125 IMPORTING RESULT = loc_out-except EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
THMEX_START_APPL CALL FUNCTION 'THMEX_START_APPL' EXPORTING i_companycode = p_bukrs i_plannerid = p_plannerid EXCEPTIONS planner_not_found = 1 OTHERS = 2.
THMHR_ADMIN_PICK_AND_DISP_DERI CALL FUNCTION 'THMHR_ADMIN_PICK_AND_DISP_DERI' EXPORTING bukrs = p_bukrs rfha = p_rfha EXCEPTIONS deal_not_found status_not_found transaction transactiontype.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RTHMHR_REVERSE_DEDESIGNATION - Reverse a Single Hedging Relationship Dedesignation RTHMHR_REVERSE_DEDESIGNATION - Reverse a Single Hedging Relationship Dedesignation RTHMHR_PROSP_ASSESSMENT_TOP - Include RTHMHR_PROSP_ASSESSMENT_TOP_LC RTHMHR_PROSP_ASSESSMENT_MOD - Include RTHMHR_PROSP_POPUP RTHMHR_PROSP_ASSESSMENT_CLA - Include RTHMHR_PROSP_ASSESSMENT_CLA_LC RTHMHR_PROSP_ASSESSMENT_ALV - Include RTHMHR_PROSP_ASSESSMENT_ALV_LC