RFTVBW29 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RFTVBW29 calculates rates for bonds, warrant bonds, and convertible bonds...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 RFTVBW29 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
TV46 - Bond price calc.
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: TESTL = Test run
Selection Text: S_SGSART = Product type
Selection Text: S_RANL = Class
Selection Text: P_RHANDL = Exchange
Selection Text: P_KUART = Price type
Selection Text: P_CUEX = Cum/ex
Selection Text: P_AUSWT = Evaluation type
Selection Text: P_AKTU = Current date
Title: Price Calculation for Securities (Bonds)
Text Symbol: 902 = Control of save function
Text Symbol: 901 = Calculation control
Text Symbol: 900 = Selection
Text Symbol: 301 = Cancel evaluation?
Text Symbol: 300 = Errors occurred
Text Symbol: 038 = Dummy! No detail log activated, NO TRANSLATION!
Text Symbol: 037 = Dummy! No detail log activated, NO TRANSLATION!
Text Symbol: 036 = Dummy! No detail log activated, NO TRANSLATION!
Text Symbol: 035 = Dummy! No detail log activated, NO TRANSLATION!
Text Symbol: 034 = Dummy! No detail log activated, NO TRANSLATION!
Text Symbol: 033 = Dummy! No detail log activated, NO TRANSLATION!
Text Symbol: 032 = Dummy! No detail log activated, NO TRANSLATION!
Text Symbol: 031 = Dummy! No detail log activated, NO TRANSLATION!
Text Symbol: 030 = Dummy! No detail log activated, NO TRANSLATION!
Text Symbol: 014 = The price could not be saved for the following classes
Text Symbol: 013 = |Class |
Text Symbol: 012 = No prices were found for the following classes
Text Symbol: 011 = Error log
Text Symbol: 005 = Test run
Text Symbol: 003 = Evaluation type
Text Symbol: 002 = Calculation date
Text Symbol: 001 = |Class |Price |Nominal trading unit |Accrued interest |NPV
INCLUDE RFTVSKTO.
No SAP DATABASE tables are accessed within this REPORT code!
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING I_IDENTIFICATION = SY-UZEIT.
TV_INIT_READ_ATSYC CALL FUNCTION 'TV_INIT_READ_ATSYC' EXPORTING auswt = p_auswt EXCEPTIONS evalid_not_found = 1 OTHERS = 2.
F4_HILFE_WP CALL FUNCTION 'F4_HILFE_WP' " DS281097 EXPORTING " DS281097 dynpfield_ranl = 'S_RANL-LOW' " DS281097 x_ranl = 'X' " DS281097 EXCEPTIONS " DS281097 no_entries = 1 " DS281097 wrong_values_read = 2 " DS281097 no_help_request = 3 " DS281097 no_request_match = 4 " DS281097 * table_output = 5 " DS270499 OTHERS = 5. " DS281097
F4_HILFE_WP CALL FUNCTION 'F4_HILFE_WP' " DS281097 EXPORTING " DS281097 dynpfield_ranl = 'S_RANL-HIGH' " DS281097 x_ranl = 'X' " DS281097 EXCEPTIONS " DS281097 no_entries = 1 " DS281097 wrong_values_read = 2 " DS281097 no_help_request = 3 " DS281097 no_request_match = 4 " DS281097 * table_output = 5 " DS270499 OTHERS = 5. " DS281097
FVZK_LOAD_VZZKOPO_BATCH CALL FUNCTION 'FVZK_LOAD_VZZKOPO_BATCH' EXPORTING gsart = it_vwpanla-gsart koko_key = st_vzzkokokey read_text = space TABLES ivzzkopo = it_vzzkopo EXCEPTIONS OTHERS = 1.
CASH_FLOW_CONSTRUCT_SECURITY CALL FUNCTION 'CASH_FLOW_CONSTRUCT_SECURITY' EXPORTING i_bukrs = it_vzzkoko-bukrs i_koko = it_vzzkoko "Struktur! i_rldepo = space i_vwpanla = it_vwpanla * importing * e_bfrate = * e_datum_lfz = * e_drsaldo = * e_rsaldo = TABLES i_bepp = it_vzzbepp i_kopo = it_vzzkopo EXCEPTIONS keine_tilgungskonditionen = 1 laufzeitende_fehlt = 2 laufzeitende_nicht_ermittelbar = 3 laufzeit_oder_rate_fehlt = 4 negative_tilgung_aufgetreten = 5 OTHERS = 6.
FVSS_VZTRDAT_FUELLEN CALL FUNCTION 'FVSS_VZTRDAT_FUELLEN' EXPORTING hauswaer = it_vwpanla-rewhr * RANTYP = '2' "Wertpapier TABLES bepp = it_vzzbepp beweg = it_vztrdat kopo = it_vzzkopo EXCEPTIONS OTHERS = 1.
TV_FILL_MSEG_FOR_EG CALL FUNCTION 'TV_FILL_MSEG_FOR_EG' EXPORTING eval = p_auswt sgsart = w_vzbest-sgsart IMPORTING w_jbrmseg = w_mseg.
TV_GET_WP_FROM_BUFFER CALL FUNCTION 'TV_GET_WP_FROM_BUFFER' EXPORTING konddatum = p_aktu * NOTTYPE = 1 ranl = w_vzbest-ranl rhandpl = pt_rhandl skursart = p_kuart IMPORTING e_vtvszwpku = vtvszwpku EXCEPTIONS not_f_kurs = 1 no_initialization = 2 OTHERS = 3.
TV_BOND_METHODS CALL FUNCTION 'TV_BOND_METHODS' EXPORTING akt_datum = p_aktu i_vzbest = w_vzbest res_curr = it_vwpanla-rewhr auswtyp = p_auswt i_mseg = w_mseg * IMPORTING * MISSING_FIXING = MISSING_FIXING TABLES e_cashflow = wet_cashflow i_methoden = i_meth i_vzbeweg = w_vzbeweg e_methoden = wet_method e_exposure = wet_exposure EXCEPTIONS market_data_rates = 01 market_data_spot = 02 no_calc = 03 fill_variable = 04 "DS 120198 OTHERS = 05. "DS 120198
TV_BOND_STUECKZINS CALL FUNCTION 'TV_BOND_STUECKZINS' EXPORTING akt_datum = p_aktu IMPORTING stueckzins = h_stueckzins stueckzins_whr = h_stueckwhr TABLES i_vzbeweg = w_vzbeweg EXCEPTIONS days_method_not_defined = 1 OTHERS = 2.
TV_GET_CR_FROM_BUFFER CALL FUNCTION 'TV_GET_CR_FROM_BUFFER' EXPORTING konddatum = p_aktu * SZENARIO = ' ' waehrung1 = h_stueckwhr waehrung2 = wet_method-waers IMPORTING e_vtvszcurr = it_vtvszcurr.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = p_aktu foreign_amount = h_stueckzins foreign_currency = h_stueckwhr local_currency = wet_method-waers rate = it_vtvszcurr-gukurs type_of_rate = w_mseg-kurstg read_tcurr = space " SEI990309 IMPORTING * EXCHANGE_RATE = I01 * FOREIGN_FACTOR = I02 local_amount = stueckzins.
TB_DATAFEED_MODIFY_ATRAS CALL FUNCTION 'TB_DATAFEED_MODIFY_ATRAS' TABLES mod_atras = i_vwpwpku EXCEPTIONS empty_table = 1 foreign_lock = 2 system_failure = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.