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

RTHMHR_PROSP_ASSESSMENT SAP ABAP Report - Transfer Prospective Effectiveness Assessment







RTHMHR_PROSP_ASSESSMENT 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_PROSP_ASSESSMENT 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

THM50 - Transfer Prospect. Effect.Assessment


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_PROSP_ASSESSMENT. "Basic submit
SUBMIT RTHMHR_PROSP_ASSESSMENT AND RETURN. "Return to original report after report execution complete
SUBMIT RTHMHR_PROSP_ASSESSMENT 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: S_VAREA = D .
Selection Text: S_PRDTYP = D .
Selection Text: S_PLANID = D .
Selection Text: S_HGID = D .
Selection Text: S_DERVID = Financial Transaction
Selection Text: S_COCDE = D .
Selection Text: P_VARI = Layout
Selection Text: KEY_DTE = Key Date
Title: Transfer Prospective Effectiveness Assessment
Text Symbol: 136 = Ineffective
Text Symbol: 135 = Effective
Text Symbol: 130 = Completed
Text Symbol: 125 = Processing Successful
Text Symbol: 124 = Processing Terminated
Text Symbol: 123 = Processing Not Possible
Text Symbol: 121 = Processing Possible
Text Symbol: 106 = Select all
Text Symbol: 105 = Save Determinations
Text Symbol: 060 = Effectiveness Assessment Executed
Text Symbol: 055 = Done
Text Symbol: 049 = Date of Last Effectiveness Assessment
Text Symbol: 048 = Previous Val. Date
Text Symbol: 047 = Hedge Strategy
Text Symbol: 046 = Origin Inception Date of Hedging Relationship
Text Symbol: 045 = Origin StrtDate
Text Symbol: 044 = Inception Date of the Current HR Version
Text Symbol: 043 = Current Start Date
Text Symbol: 042 = Processing Status
Text Symbol: 041 = Status
Text Symbol: 040 = Prospective Effectiveness Assessment On
Text Symbol: 031 = Product Type
Text Symbol: 030 = Prod Type
Text Symbol: 024 = Hedge Expiration Date
Text Symbol: 020 = Hedge Exp.
Text Symbol: 012 = Hedge ID
Text Symbol: 010 = Effective
Text Symbol: 007 = Financial Transaction
Text Symbol: 006 = Fin Trans





Text Symbol: 005 = EC Balance to Be Reclassified
Text Symbol: 003 = EC Balance
Text Symbol: 002 = Control
Text Symbol: 001 = General Selections


INCLUDES used within this REPORT RTHMHR_PROSP_ASSESSMENT

INCLUDE RTHMHR_PROSP_ASSESSMENT_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.

LVC_VARIANT_EXISTENCE_CHECK CALL FUNCTION 'LVC_VARIANT_EXISTENCE_CHECK' EXPORTING i_save = save_var CHANGING cs_variant = g_str_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

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

THMHR_FIND_EXPOS_GIVEN_PLANNER CALL FUNCTION 'THMHR_FIND_EXPOS_GIVEN_PLANNER' EXPORTING im_rng_exp_date = l_rng_exp_date IMPORTING e_tab_exp_hdg = l_tab_exp_hdg TABLES i_companycode = l_rng_company_code i_plannerid = s_planid EXCEPTIONS no_entries_found = 1 OTHERS = 2.

THMH_HEDGE_READ CALL FUNCTION 'THMH_HEDGE_READ' EXPORTING cocode = -bukrs hedge_id = -hedge_id IMPORTING e_thmt_hedge_item = l_tab_hedge_hlp EXCEPTIONS no_hedge_found = 1 db_error = 2 OTHERS = 3.

THMHR_HR_READ_ALL_HR_FOR_HEDGE CALL FUNCTION 'THMHR_HR_READ_ALL_HR_FOR_HEDGE' EXPORTING hedge = IMPORTING hr = l_tab_hr EXCEPTIONS no_key = 1 OTHERS = 2.

THMHR_DET_LATEST_HR_VERSION CALL FUNCTION 'THMHR_DET_LATEST_HR_VERSION' TABLES hr = l_tab_hr EXCEPTIONS no_input_hr = 1 OTHERS = 2.

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

THMHR_HR_READ_ALL_ST_FOR_HR CALL FUNCTION 'THMHR_HR_READ_ALL_ST_FOR_HR' EXPORTING hr = IMPORTING strat = l_str_strat EXCEPTIONS no_strat_found = 1 OTHERS = 2.

THMHR_READ_STRATEGY CALL FUNCTION 'THMHR_READ_STRATEGY' EXPORTING hr_strategy = l_str_strat-strat IMPORTING c_strat = l_str_c_strat EXCEPTIONS no_customized_strat = 1 OTHERS = 2.

TPM_DTIL_GET_OCI_PER_HR CALL FUNCTION 'TPM_DTIL_GET_OCI_PER_HR' EXPORTING im_key_date = key_dte im_hedge_id = -hedge_id im_bukrs = -bukrs im_rfha = -rfha IMPORTING ex_oci_amount = l_oci_amt EXCEPTIONS prod_cat_not_supported = 1 deal_not_found = 2 OTHERS = 3.

TRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'TRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = -bukrs IMPORTING currency = l_oci_curr EXCEPTIONS not_found = 1 OTHERS = 2.

THMHR_READ_TZPAT CALL FUNCTION 'THMHR_READ_TZPAT' EXPORTING language = sy-langu prod_type = -sgsart IMPORTING prodtxt = l_str_out-prodtyp EXCEPTIONS no_entry = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_okay info = text-130 IMPORTING result = -done 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_plan_id 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.

THMHR_HR_READ_HR_GIVEN_KEY CALL FUNCTION 'THMHR_HR_READ_HR_GIVEN_KEY' EXPORTING bukrs = -cocde rfha = -derivid hedge_id = -hedgeid hr_version = -hrver IMPORTING hr = l_str_hr EXCEPTIONS not_found = 1 OTHERS = 2.

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

THMHR_EXT_PROS_DB_AND_PLAUSI CALL FUNCTION 'THMHR_EXT_PROS_DB_AND_PLAUSI' EXPORTING tab_pros = l_tab_pros EXCEPTIONS no_input = 1 db_error = 2 OTHERS = 3.

THMHR_HR_MASS_DISSOLVE CALL FUNCTION 'THMHR_HR_MASS_DISSOLVE' EXPORTING show_reclass_popup = ' ' im_protocol_handler = l_p_protocol_handler IMPORTING t_not_diss = l_tab_err TABLES t_to_be_diss = l_tab_hr_to_dissolve t_recl_date = dissolve_date EXCEPTIONS no_input_table = 1 reclass_failed = 2 bad_numkr_config = 3 OTHERS = 4.

THMHR_HR_SETTLED CALL FUNCTION 'THMHR_HR_SETTLED' EXPORTING hr = l_str_hr set_date = key_dte EXCEPTIONS no_hedge_found = 1 bad_numkr_config = 2 db_error = 3 dedes_with_later_vals = 4 persistency_error = 5 tmp_number_error = 6 already_dedesignated = 7 OTHERS = 99.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_okay info = text-130 IMPORTING result = -done EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.



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