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

RTHMHR_REVERSE_FV_CHANGES SAP ABAP Report - Reverse Fair Value Changes to Be Posted







RTHMHR_REVERSE_FV_CHANGES is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Reverse Fair Value to be Posted...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RTHMHR_REVERSE_FV_CHANGES 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

THM57 - Reverse FV Changes to be Posted


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_FV_CHANGES. "Basic submit
SUBMIT RTHMHR_REVERSE_FV_CHANGES AND RETURN. "Return to original report after report execution complete
SUBMIT RTHMHR_REVERSE_FV_CHANGES 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: TXN_CAT = D .
Selection Text: TXN_ACT = D .
Selection Text: P_VARI = D .
Selection Text: PLANNER = D .
Selection Text: HEDGE = D .
Selection Text: CCODE = D .
Selection Text: VAL_DATE = Calculation Date
Selection Text: VAL_AREA = D .
Title: Reverse Fair Value Changes to Be Posted
Text Symbol: 125 = Reversal Successful
Text Symbol: 124 = Reversal Terminated
Text Symbol: 123 = Reversal Not Possible
Text Symbol: 121 = Reversal Possible
Text Symbol: 115 = Hedging Relationship Number
Text Symbol: 114 = HR Num
Text Symbol: 111 = Accounting Document Reversed
Text Symbol: 110 = Status
Text Symbol: 106 = Select all
Text Symbol: 105 = Save Assignments
Text Symbol: 055 = Rever.
Text Symbol: 050 = Fair Value Posting Reversed
Text Symbol: 024 = Financial Transaction
Text Symbol: 023 = FI Trans
Text Symbol: 022 = Valuation Date
Text Symbol: 021 = Value Date
Text Symbol: 018 = Transaction Activity
Text Symbol: 017 = Trans Act
Text Symbol: 016 = Transaction Category
Text Symbol: 015 = Trans Cat
Text Symbol: 010 = Reverse Posted Fair Value Changes
Text Symbol: 003 = Control
Text Symbol: 002 = Hedging Details
Text Symbol: 001 = General Selections


INCLUDES used within this REPORT RTHMHR_REVERSE_FV_CHANGES

INCLUDE RTHMHR_REVERSE_FV_CHANGES_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 = save_var CHANGING cs_variant = def_variant EXCEPTIONS not_found = 2.

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

THMEX_AUTHORITY_BUK_LIST CALL FUNCTION 'THMEX_AUTHORITY_BUK_LIST' EXPORTING im_activ_auth = thmex_con_activ_chg im_rng_company_code = ccode[] IMPORTING ex_rng_company_code = l_rng_company_code EXCEPTIONS no_company_code_found = 1 no_authority = 2 OTHERS = 99.

THMHR_BATCH_FIND_HI_MEASURES CALL FUNCTION 'THMHR_BATCH_FIND_HI_MEASURES' EXPORTING not_xfrd_only = tpmco_xfalse TABLES i_bukrs = l_rng_company_code i_val_date = val_date i_hedge_item = hedge e_hi_meas = le_hi_meas EXCEPTIONS no_measurements_found = 1 OTHERS = 2.

GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'THM_TRANSCAT' TABLES values_tab = l_txn_cat_value_tab EXCEPTIONS no_values_found = 1 OTHERS = 2.

THMHR_BATCH_GET_HEDGE_DETAILS CALL FUNCTION 'THMHR_BATCH_GET_HEDGE_DETAILS' EXPORTING i_bukrs = le_hi_meas-bukrs i_hedge_id = le_hi_meas-hedge_id IMPORTING e_hedge_details = le_hedge_item EXCEPTIONS no_hedge_found = 1 OTHERS = 2.

THMHR_BATCH_RETRIEVE_HEDGE_DET CALL FUNCTION 'THMHR_BATCH_RETRIEVE_HEDGE_DET' EXPORTING i_bukrs = le_hedge_item-bukrs i_plannerid = le_hedge_item-planner_id i_hedgeid = le_hedge_item-hedge_id IMPORTING e_transcat = transaction_cat e_transact = transaction_act EXCEPTIONS no_exposure_found = 1 invalid_fx_risk = 2 invalid_ir_risk = 3 no_transaction_found = 4 OTHERS = 5.

THMHR_BATCH_GET_TEXTS CALL FUNCTION 'THMHR_BATCH_GET_TEXTS' EXPORTING i_value = transaction_act IMPORTING e_text = l_txn_act_text EXCEPTIONS no_value_found = 1 OTHERS = 2.

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

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

THMHR_HR_READ_HR_GIVEN_KEY CALL FUNCTION 'THMHR_HR_READ_HR_GIVEN_KEY' EXPORTING bukrs = wa_fv_changes-bukrs rfha = wa_fv_changes-rfha hedge_id = wa_fv_changes-hedge_id hr_version = wa_fv_changes-hr_vers IMPORTING hr = le_hr EXCEPTIONS not_found = 1 OTHERS = 2.

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

THMHR_MEASURE_TAB_DB_ACCESS CALL FUNCTION 'THMHR_MEASURE_TAB_DB_ACCESS' IN UPDATE TASK EXPORTING flag = update hi_meas = e_meas_tab[].

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.

TRCA_FI_DOCUMENT_DISPLAY CALL FUNCTION 'TRCA_FI_DOCUMENT_DISPLAY' EXPORTING companycode = p_bukrs document = p_belnr year = p_gjahr EXCEPTIONS not_found = 1 OTHERS = 2.



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