SAP Reports / Programs | Financials | Financial Supply Chain Management | Transaction Manager(FIN-FSCM-TRM-TM) SAP FIN

RTHMHR_REVERSE_DEDESIGNATION SAP ABAP Report - Reverse a Single Hedging Relationship Dedesignation







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

THMR1 - Reverse single HR dedesignation


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_REVERSE_DEDESIGNATION. "Basic submit
SUBMIT RTHMHR_REVERSE_DEDESIGNATION AND RETURN. "Return to original report after report execution complete
SUBMIT RTHMHR_REVERSE_DEDESIGNATION 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: 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


INCLUDES used within this REPORT RTHMHR_REVERSE_DEDESIGNATION

INCLUDE RTHMHR_REVERSE_DEDES_TOP.


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_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.



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