RTHMHR_REVERSE_PROSP 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_PROSP into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
THM51 - Reverse Trans. Prospect.Eff.Assess.
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: S_VAREA = D .
Selection Text: S_SGS = D .
Selection Text: S_RFHA = D .
Selection Text: S_PLAN = D .
Selection Text: S_HEDGE = D .
Selection Text: S_BUKRS = D .
Selection Text: P_VARI = D .
Selection Text: KEY_DATE = Key Date
Title: Reverse Transfer of Prospective Effectiveness Assessment
Text Symbol: 125 = Reversal Successful
Text Symbol: 124 = Reversal Terminated
Text Symbol: 123 = Reversal Not Possible
Text Symbol: 121 = Reversal Possible
Text Symbol: 101 = Reverse
Text Symbol: 100 = Reverse Retro Assessment
Text Symbol: 058 = Currency
Text Symbol: 055 = Curr
Text Symbol: 052 = OCI Balance
Text Symbol: 050 = OCI Bal
Text Symbol: 048 = Hedge Expiration Date
Text Symbol: 046 = Hedge Exp
Text Symbol: 041 = Processing Status
Text Symbol: 036 = Product Type
Text Symbol: 034 = Prod Type
Text Symbol: 018 = Hedge Plan ID
Text Symbol: 016 = Hedge Plan
Text Symbol: 010 = Reverse Prospective Effectiveness Assessment
Text Symbol: 002 = Control
Text Symbol: 001 = General Selections
INCLUDE RTHMHR_REVERSE_PROSP_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_LIST CALL FUNCTION 'THMEX_AUTHORITY_BUK_LIST' EXPORTING im_activ_auth = thmex_con_activ_chg im_rng_company_code = s_bukrs[] IMPORTING ex_rng_company_code = l_rng_company_code EXCEPTIONS no_company_code_found = 1 no_authority = 2 OTHERS = 99.
TB_DEAL_AUTHORITY_CHECK CALL FUNCTION 'TB_DEAL_AUTHORITY_CHECK' EXPORTING bukrs = ls_hr-bukrs sgsart = ls_hr-sgsart sfhaart = ls_hr-sfhaart trfct = '03' actvt = '48' EXCEPTIONS OTHERS = 1.
THMHR_BATCH_HEDGE_EXPIRE_DATE CALL FUNCTION 'THMHR_BATCH_HEDGE_EXPIRE_DATE' EXPORTING i_bukrs = ls_ext_pros-bukrs i_planner = ls_hedge_item-planner_id i_hedge = ls_ext_pros-hedge_id i_val_area = ls_hedge_item-valuation_area IMPORTING e_date = expire EXCEPTIONS no_hedge_found = 1 OTHERS = 2.
TPM_DTIL_GET_OCI_PER_HR CALL FUNCTION 'TPM_DTIL_GET_OCI_PER_HR' EXPORTING im_key_date = key_date im_hedge_id = ls_ext_pros-hedge_id im_bukrs = ls_ext_pros-bukrs im_rfha = ls_ext_pros-rfha IMPORTING ex_oci_amount = balance EXCEPTIONS prod_cat_not_supported = 1 deal_not_found = 2 OTHERS = 3.
GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'THM_HEDGE_CATEGORY' TABLES values_tab = l_values_tab EXCEPTIONS no_values_found = 1 OTHERS = 2.
TRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'TRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = p_bukrs IMPORTING currency = p_curr EXCEPTIONS not_found = 1 OTHERS = 2.
THMHR_READ_TZPAT CALL FUNCTION 'THMHR_READ_TZPAT' EXPORTING language = sy-langu prod_type = p_sgsart IMPORTING prodtxt = p_text EXCEPTIONS no_entry = 1 OTHERS = 2.
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.
TB_DEAL_AUTHORITY_CHECK CALL FUNCTION 'TB_DEAL_AUTHORITY_CHECK' EXPORTING bukrs = loc_tab_hr_out-bukrs sgsart = loc_tab_hr_out-sgsart sfhaart = loc_tab_hr_out-sfhaart trfct = '03' actvt = '16' EXCEPTIONS OTHERS = 1.
THMHR_EXP_PROS_DB_ACCESS CALL FUNCTION 'THMHR_EXP_PROS_DB_ACCESS' IN UPDATE TASK EXPORTING flag = db_delete tab_pros = lt_del_pros.
THMHR_HR_DISSOLVE_REVERSE CALL FUNCTION 'THMHR_HR_DISSOLVE_REVERSE' EXPORTING diss_hr = loc_diss_hr rev_reason = g_rev_reason im_rng_reclass_origin = l_rng_reclass_origin im_protocol_handler = l_p_protocol_handler 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_EXP_PROS_DB_ACCESS CALL FUNCTION 'THMHR_EXP_PROS_DB_ACCESS' IN UPDATE TASK EXPORTING flag = db_delete tab_pros = lt_del_pros.
THMHR_HR_REVERSE_DEDESIGNATION CALL FUNCTION 'THMHR_HR_REVERSE_DEDESIGNATION' EXPORTING dedes_hr = loc_diss_hr EXCEPTIONS incorrect_status = 1 incorrect_version = 2 later_valuation_exists = 3 invalid_hr = 4 error_reading_rfha = 5 reversal_error = 6 OTHERS = 7.
THMHR_EXP_PROS_DB_ACCESS CALL FUNCTION 'THMHR_EXP_PROS_DB_ACCESS' IN UPDATE TASK EXPORTING flag = db_delete tab_pros = lt_del_pros.
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_PROSP - Reverse Transfer of Prospective Effectiveness Assessment RTHMHR_REVERSE_PROSP - Reverse Transfer of Prospective Effectiveness Assessment RTHMHR_REVERSE_HR_DEDES_TOP - Include RTHMHR_REVERSE_EXPOS_EXP_TOP RTHMHR_REVERSE_HR_DEDES_MOD - Include RTHMHR_REVERSE_EXPOS_EXP_MOD RTHMHR_REVERSE_HR_DEDES_CLA - Include RTHMHR_REVERSE_EXPOS_EXP_CLA RTHMHR_REVERSE_HR_DEDES_ALV - Include RTHMHR_REVERSE_EXPOS_EXP_ALV