SAP Reports / Programs | Financials | Financial Supply Chain Management | Market Risk Analyzer(FIN-FSCM-TRM-MR) SAP FIN

RFTVEX00 SAP ABAP Report - Currency Exposure







RFTVEX00 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 RFTVEX00 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

TV36 - Currency exposure


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 RFTVEX00. "Basic submit
SUBMIT RFTVEX00 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTVEX00 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_ANZWHR = Alternative Evaluation Crcy
Selection Text: P_AUSWT = Evaluation Type
Selection Text: P_EINH = Increment
Selection Text: P_GLIED = Grouping
Selection Text: P_HORI = Horizon
Selection Text: P_INKL = Including Accumulated Balance
Selection Text: P_JDARL = Loans
Selection Text: P_JDERI = Derivatives
Selection Text: P_JDEVI = Foreign Exchange
Selection Text: P_JGELD = Money Market
Selection Text: P_JWERTP = Securities
Selection Text: P_MO =
Selection Text: P_POSTED = Do not include posted flows
Selection Text: P_SZEN1 = Scenario 1
Selection Text: P_SZEN2 = Scenario 2
Selection Text: P_XAUSZ = Only Disbursed Loans
Selection Text: P_XHOR = Cash Flow at Horizon Included
Selection Text: S_BILK = Balance Sheet Indicator
Selection Text: S_BUKRS = Company Code
Selection Text: S_DBLFZ = Start of Term
Selection Text: S_DEALER = Trader
Selection Text: S_DELFZ = End of Term
Selection Text: S_DISPW = Planning Currency
Selection Text: S_GLZB = Asset Group
Selection Text: S_GSBER = Business Area
Selection Text: S_MERKM = Characteristics
Selection Text: S_PARTNR = Business Partner
Selection Text: S_RANL = ID Number
Selection Text: S_RANLVD = Contract Number
Selection Text: S_REFER = Reference
Selection Text: S_REFKON = Account Assignment Reference
Selection Text: S_RFHA = Financial Transaction
Selection Text: S_RLDEPO = Securities Account
Selection Text: S_RPORTB = Portfolio
Selection Text: S_SANLF = Product Category
Selection Text: S_SBWHR = Transaction Currency
Selection Text: S_SFHAAR = Transaction Type
Selection Text: S_SGSART = Product Type





Selection Text: S_TILGAR = Repayment Type
Selection Text: S_ZUOND = Assignment
Selection Text: T_DATE = To Date
Selection Text: P_AKTU = Evaluation as at
Selection Text: P_ABZINS = Discount Underlyings
Selection Text: F_DATE = From Date
Title: Currency Exposure
Text Symbol: 038 = Transaction:
Text Symbol: 036 = Security Volatility Type Bid/Ask :
Text Symbol: 035 = Interest Volatility Type Bid/Ask :
Text Symbol: 034 = Currency Volatility Type Bid/Ask :
Text Symbol: 033 = Exchange Rate Category Bid/Ask
Text Symbol: 032 = Yield Curve Type Bid/Ask
Text Symbol: 031 = Calculation Routines :
Text Symbol: 030 = Default Calc. Parameters
Text Symbol: 017 = dummy
Text Symbol: 016 = dummy
Text Symbol: 013 = NPV Calculation:
Text Symbol: 011 = To
Text Symbol: 010 = From
Text Symbol: 009 = Period
Text Symbol: 007 = To
Text Symbol: 006 = Company Code
Text Symbol: 005 = Grouping
Text Symbol: 004 = CURRENT
Text Symbol: 003 = Global FX Exposure of
Text Symbol: 101 = Money/Forex/Deriv.
Text Symbol: 102 = Securities/Loans
Text Symbol: 103 = General Selections
Text Symbol: 104 = Further Selections
Text Symbol: 303 = - Term View
Text Symbol: 304 = - Line Items
Text Symbol: 801 = Days
Text Symbol: 802 = Weeks
Text Symbol: 803 = Months
Text Symbol: 804 = Global View
Text Symbol: 805 = Term View
Text Symbol: 806 = Line Items
Text Symbol: 901 = Cash Management





Text Symbol: 902 = Valuation Parameters
Text Symbol: 903 = Output Control
Text Symbol: 905 = Display Interval
Text Symbol: 906 = Other Market Data Records
Text Symbol: 907 = Increment Control
Text Symbol: 908 = Level of Detail


INCLUDES used within this REPORT RFTVEX00

INCLUDE RFTVALV0.
INCLUDE RFTVSKTO.
INCLUDE RFTVSELOPTIONS.


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:

TV_INIT_READ_ATSYC CALL FUNCTION 'TV_INIT_READ_ATSYC' EXPORTING auswt = p_auswt EXCEPTIONS evalid_not_found = 1 OTHERS = 2.

RM_SZENARIO_GETDETAIL CALL FUNCTION 'RM_SZENARIO_GETDETAIL' EXPORTING szenario = p_szen1 EXCEPTIONS szenario_not_exist = 1 OTHERS = 2.

RM_SZENARIO_GETDETAIL CALL FUNCTION 'RM_SZENARIO_GETDETAIL' EXPORTING szenario = p_szen2 EXCEPTIONS szenario_not_exist = 1 OTHERS = 2.

TRCA_COMPANYCODE_GETDETAIL * CALL FUNCTION 'TRCA_COMPANYCODE_GETDETAIL' * EXPORTING * companycode = s_bukrs-low.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING i_identification = sy-uzeit.

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.

TV_CHECK_SFGZUSTT * CALL FUNCTION 'TV_CHECK_SFGZUSTT' * EXPORTING * I_VZKOPF = VZKOPF * IMPORTING * FLG_EVALUATE = FLG_EVALUATE * EXCEPTIONS * OTHERS = 0.

RM_SL_DEALS_SELECT CALL FUNCTION 'RM_SL_DEALS_SELECT' EXPORTING date = p_aktu"#EC DOM_EQUAL devisen = p_jdevi derivate = p_jderi geldhandel = p_jgeld wertpapiere = p_jwertp darlehen = p_jdarl * P_BUKRS = * FIKTIV_INCL = ' ' auszdarl_only = p_xausz IMPORTING e_t_risk_carrier = tab_risk_carrier TABLES s_bukrs = s_bukrs s_rportb = s_rportb s_sanlf = s_sanlf s_dblfz = s_dblfz s_delfz = s_delfz s_partnr = s_partnr s_sfhaar = s_sfhaar s_rfha = s_rfha s_ranlvd = s_ranlvd s_ranl = s_ranl s_rldepo = s_rldepo s_dealer = s_dealer s_sgsart = s_sgsart s_sbwhr = s_sbwhr * s_wgsft1 = * s_wgsft2 = s_zuond = s_zuond s_refer = s_refer s_merkm = s_merkm s_bilk = s_bilk s_glzb = s_glzb s_tilgar = s_tilgar s_refkon = s_refkon i_best = i_vzbest i_beweg = i_vzbeweg i_opti = i_vzopti i_u_beweg = iu_vzbeweg.

REUSE_ALV_VARIANT_SELECT * CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT' * EXPORTING * i_dialog = ' ' * i_user_specific = 'X ' ** I_DEFAULT = 'X' ** I_TABNAME_HEADER = ** I_TABNAME_ITEM = * it_default_fieldcat = t_fieldcat * i_layout = s_layout * IMPORTING ** E_EXIT = * et_fieldcat = t_fieldcat_var * et_sort = t_sort ** ET_FILTER = * es_layout = s_layout_var * CHANGING * cs_variant = g_variant.

TV_MRM_METHODS CALL FUNCTION 'TV_MRM_METHODS' EXPORTING i_t_sfgdt = tab_risk_carrier i_atsyc = i_atsyc i_aktudat = vtv_klko-aktudat "#EC DOM_EQUAL i_auswt = p_auswt i_res_curr = ' ' TABLES i_t_methoden = i_methoden i_t_atvmo = i_atvmo e_t_methoden = i_method e_t_cashflow = e_cashflow e_t_exposure = e_exposure.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * i_interface_check = 'X' I_BUFFER_ACTIVE = ' ' i_callback_program = g_repid i_callback_pf_status_set = 'STATUS_SET_EX' i_callback_user_command = 'USER_COMMAND' is_layout = s_layout it_fieldcat = t_fieldcat * it_sort = t_sort * IT_FILTER = * I_DEFAULT = 'X' i_save = g_save is_variant = g_variant it_events = t_events * IT_EVENT_EXIT = * IS_PRINT = TABLES t_outtab = exposure_sum.

CASH_FORECAST_SELECT_AND_COMPR CALL FUNCTION 'CASH_FORECAST_SELECT_AND_COMPR' EXPORTING until_date = t_date x_cash_forecast = 'X' x_cash_management = 'X' * X_GROUP_COMPRESSION = E04 * X_LEVEL_COMPRESSION = E05 * X_SUBACCOUNT_COMPRESSION = E06 * X_ZERO_RECORDS = E07 TABLES s_bukrs = s_bukrs s_dispw = s_dispw s_glied = r_glied s_gsber = s_gsber tab_rf40v = i_rf40v EXCEPTIONS not_found_t038 = 01 not_found_t038_group = 02 not_found_t038_level = 03.

TV_INIT_READ_ATSYC CALL FUNCTION 'TV_INIT_READ_ATSYC' EXPORTING auswt = p_auswt IMPORTING w_atsyc = i_atsyc EXCEPTIONS evalid_not_found = 1 OTHERS = 2.

TV_PROT_TEXT CALL FUNCTION 'TV_PROT_TEXT' EXPORTING * LEVEL = '1' lines = 1 text1 = text-013.




TV_PROT_BEWEG_HEAD CALL FUNCTION 'TV_PROT_BEWEG_HEAD' EXPORTING * LEVEL = '1' lines = 0.

ISB_PRESENT_VALUE_CALCULATE CALL FUNCTION 'ISB_PRESENT_VALUE_CALCULATE' EXPORTING sav_jbd14 = jbd14 IMPORTING bpreva = act_pv TABLES sav_jbd11 = h_jbd11_tab sav_jbdzstr = pv_tab.

TV_MARKET_DATA_RATES2 CALL FUNCTION 'TV_MARKET_DATA_RATES2' EXPORTING akt_datum = akt_datum konddatum = konddatum horizont = horizont maturity = delfz szename = szename * ZERO_PAR = ' ' shift_regel = shift_regel TABLES e_forward_rates = i_forward_rate i_yieldctype = i_yieldctype EXCEPTIONS default_yieldcurve_missing = 1 division_by_zero = 2 konddat_lt_olddat = 3 not_f_jbd14 = 4 not_f_szenario = 5 no_data_found = 6 no_initialization = 7 referenzzins_missing = 9 no_curve_data = 10 shift_error = 11 OTHERS = 12.



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