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

RTHMHR_EXCEPTION SAP ABAP Report - Prematurely Reclassified OCI







RTHMHR_EXCEPTION 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_EXCEPTION 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

THM84 - Prematurely Reclassified OCI


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_EXCEPTION. "Basic submit
SUBMIT RTHMHR_EXCEPTION AND RETURN. "Return to original report after report execution complete
SUBMIT RTHMHR_EXCEPTION VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Prematurely Reclassified OCI
Selection Text: VAREA = D .
Selection Text: TXN_CAT = D .
Selection Text: TXN_ACT = D .
Selection Text: RFHA = D .
Selection Text: REC_DATE = Reclassification Date
Selection Text: P_VARI = Layout
Selection Text: PROD_TYP = D .
Selection Text: PLANNER = D .
Selection Text: HEDGE = D .
Selection Text: HDG_CAT = D .
Selection Text: CCODE = D .
Title: Prematurely Reclassified OCI
Text Symbol: 100 = OCI Reclassifications Prior to Exposure due Date
Text Symbol: 027 = Document Entry Date
Text Symbol: 026 = Entry Date
Text Symbol: 025 = Scheduled Expiration Date
Text Symbol: 024 = Exp Date
Text Symbol: 023 = Reclassified OCI Balance
Text Symbol: 022 = OCI Bal
Text Symbol: 021 = Posting Date
Text Symbol: 020 = Post Date
Text Symbol: 019 = Transaction Activity
Text Symbol: 018 = Trans Act
Text Symbol: 017 = Transaction Category
Text Symbol: 016 = Trans Cat
Text Symbol: 015 = Hedge Category
Text Symbol: 014 = Hedge Cat
Text Symbol: 013 = Product Type
Text Symbol: 012 = Prod Type
Text Symbol: 011 = Financial Transaction
Text Symbol: 010 = Fin Trans
Text Symbol: 004 = Control
Text Symbol: 003 = Hedging Relationship Details
Text Symbol: 002 = Hedging Relationship
Text Symbol: 001 = General Selections


INCLUDES used within this REPORT RTHMHR_EXCEPTION

INCLUDE RTHMHR_EXCEPTION_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 = ls_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_dis 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_RECLASSED_OCI CALL FUNCTION 'THMHR_BATCH_FIND_RECLASSED_OCI' EXPORTING im_rng_company_code = l_rng_company_code im_rng_deal_number = rfha[] im_rng_key_date = rec_date[] im_rng_val_area = varea[] IMPORTING ex_tab_dflow = l_tab_dflow EXCEPTIONS none_found = 1 OTHERS = 2.

GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'THM_HEDGE_CATEGORY' TABLES values_tab = loc_hedge_text EXCEPTIONS no_values_found = 1 OTHERS = 2.

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

THMHR_BATCH_GET_HEDGE_DETAILS CALL FUNCTION 'THMHR_BATCH_GET_HEDGE_DETAILS' EXPORTING i_bukrs = l_str_dflow-company_code i_hedge_id = loc_hedge_id IMPORTING e_hedge_details = loc_hedge EXCEPTIONS no_hedge_found = 1 OTHERS = 2.

THMHR_BATCH_HEDGE_EXPIRE_DATE CALL FUNCTION 'THMHR_BATCH_HEDGE_EXPIRE_DATE' EXPORTING i_bukrs = l_str_dflow-company_code i_planner = loc_hedge-planner_id i_hedge = loc_hedge_id i_val_area = loc_hedge-valuation_area IMPORTING e_date = expire_date EXCEPTIONS no_hedge_found = 1 OTHERS = 2.

THMHR_BATCH_RETRIEVE_HEDGE_DET CALL FUNCTION 'THMHR_BATCH_RETRIEVE_HEDGE_DET' EXPORTING i_bukrs = l_str_dflow-company_code i_plannerid = loc_hedge-planner_id i_hedgeid = loc_hedge_id IMPORTING e_transcat = loc_transcat e_transact = loc_transact EXCEPTIONS no_exposure_found = 1 invalid_fx_risk = 2 invalid_ir_risk = 3 no_transaction_found = 4 OTHERS = 5.

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

THMHR_READ_TZPAT CALL FUNCTION 'THMHR_READ_TZPAT' EXPORTING language = sy-langu prod_type = l_product_type IMPORTING prodtxt = loc_prod_text EXCEPTIONS no_entry = 1 OTHERS = 2.

THMHR_BATCH_GET_TEXTS CALL FUNCTION 'THMHR_BATCH_GET_TEXTS' EXPORTING i_value = loc_transact IMPORTING e_text = loc_transact_text EXCEPTIONS no_value_found = 1 OTHERS = 2.

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.



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