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

RFVWINF2 SAP ABAP Report - Sec. Info: Display Sec. Account Position for an ID No. / Sec. Account







RFVWINF2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for See report program RFVWINF0 for more information...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 RFVWINF2 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

FWIW - Securities information


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


Text pool values


List of Available Positions (Position Indicator)
Selection Text: SO_RANL = ID number
Selection Text: SO_PKOND = Coupon for fixed-interest bond
Selection Text: SO_GSART = Product type
Selection Text: SO_DEPO = Securities account
Selection Text: SO_BUKRS = Company code
Selection Text: SO_ANLF = Product category
Selection Text: P_SSPERR = With blocking reason
Selection Text: P_SDAT = Key date
Selection Text: FLGSPERR = Suppress blocked sec. accts:
Selection Text: FLGNULLB = Suppress zero positions
Selection Text: FLGDBEST = Value date instead of due date
Selection Text: FLGCPLAN = Include planned data
Title: Sec. Info: Display Sec. Account Position for an ID No. / Sec. Account
Text Symbol: U12 = Single
Text Symbol: U11 = Total
Text Symbol: U10 = T O T A L
Text Symbol: T73 = in NC
Text Symbol: T72 = Frm
Text Symbol: T71 = Curr.value on
Text Symbol: T70 = Curr.val.
Text Symbol: T60 = CapCsts PC
Text Symbol: T50 = CapCsts DC
Text Symbol: T42 = BkVal+IC
Text Symbol: T40 = Bk Value
Text Symbol: T32 = AcqVal+IC
Text Symbol: T30 = Acq.Value
Text Symbol: 800 = Selection Criteria
Text Symbol: 810 = Other Control
Text Symbol: 811 = Suppress blocked sec.accts with following blocking indicator:
Text Symbol: 812 = Block type for restraint on disposal
Text Symbol: I10 = Company Code
Text Symbol: I20 = ID Number
Text Symbol: I30 = SecAc
Text Symbol: I35 = Position inconsist.
Text Symbol: I40 = Issuer
Text Symbol: I50 = Due date
Text Symbol: I55 = Remain. term months/days





Text Symbol: I57 = /
Text Symbol: I60 = Nom.Int.Rte
Text Symbol: M10 = Sec.acct pos. on key date
Text Symbol: M15 = Cash Flow
Text Symbol: M20 = ...all...
Text Symbol: M30 = No positions found for this selection
Text Symbol: M40 = Positions are displayed including planned data
Text Symbol: M50 = Zero positions are not displayed
Text Symbol: M60 = Blocked sec. accounts are not displayed
Text Symbol: S10 = Position Crcy
Text Symbol: S20 = Local Crcy
Text Symbol: S30 = Price Amnt
Text Symbol: S40 = FC Rate
Text Symbol: T10 = Nom. Amount
Text Symbol: T20 = Units
001 | Company code ID number Sec.acct |


INCLUDES used within this REPORT RFVWINF2

No INCLUDES are used within this REPORT code!


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:

TPM_TRG_OBSOLETE_TRANSACTIONS CALL FUNCTION 'TPM_TRG_OBSOLETE_TRANSACTIONS' EXPORTING im_old_transaction = 'FWIW' im_new_transaction = 'TPM12'.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = funcname_check_date EXCEPTIONS function_not_exist = 1 OTHERS = 2.

LAST_DAY_IN_YEAR_GET CALL FUNCTION 'LAST_DAY_IN_YEAR_GET' EXPORTING i_date = d_stichtag i_periv = t001-periv IMPORTING e_date = dende_gsjahr EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3.

TRANSACTIONS_SEC_LOAD_I_VIEW CALL FUNCTION 'TRANSACTIONS_SEC_LOAD_I_VIEW' EXPORTING bukrs = fm_bukrs ranl = fm_ranl rldepo = fm_rldepo type_of_selection = ' ' flag_plan = 'X' TABLES tvwbevi = it_vwbevi EXCEPTIONS table_tvwbevi_not_empty = 01.

TRANSACTIONS_SEC_LOAD_P CALL FUNCTION 'TRANSACTIONS_SEC_LOAD_P' EXPORTING bukrs = fm_bukrs ranl = fm_ranl rldepo = fm_rldepo type_of_selection = ' ' flag_no_plan_ref_ist = 'X' TABLES tvwbepp = it_vwbepp EXCEPTIONS table_tvwbepp_not_empty = 01 vwbepp_no_record_found = 02.

ACCUMULATION_DEPOT CALL FUNCTION 'ACCUMULATION_DEPOT' EXPORTING dbestand = e_stichtag * JNULLB = e03 jnullb = '1' " 24.01.1997 EBec

FV70_GET_INTEREST_RATE CALL FUNCTION 'FV70_GET_INTEREST_RATE' EXPORTING i_ranl = vwpanla-ranl i_keydate = f_sdat IMPORTING e_interest_rate = s_vzzkopo-pkond EXCEPTIONS productcategory_not_supported = 1 selection_error = 2 internal_error = 3 OTHERS = 4.

DAYS_BETWEEN_TWO_DATES CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES' EXPORTING i_datum_bis = s_vzzkoko-delfz i_datum_von = datum_von IMPORTING e_tage = anz_difftage.

FVWD_PRICE_CALCULATE CALL FUNCTION 'FVWD_PRICE_CALCULATE' EXPORTING bestand = st_revalb stammdaten = vwpanla rkursber = tzbz-rkursber IMPORTING kurswerte = st_revalc EXCEPTIONS allg_fehler = 01.

NAMETAB_GET CALL FUNCTION 'NAMETAB_GET' EXPORTING tabname = tabname IMPORTING header = header TABLES nametab = fm_nametab EXCEPTIONS internal_error = 01 no_texts_found = 02 table_has_no_fields = 03 table_not_activ = 04.






FTR_PARTNER_CHECK CALL FUNCTION 'FTR_PARTNER_CHECK' EXPORTING pi_partner_id = f_partner_nr EXCEPTIONS OTHERS = 1.

BPAR_R_PARTNER_CHECK * CALL FUNCTION 'BPAR_R_PARTNER_CHECK' * EXPORTING * partner = f_partner_nr ** RELEASE = ' ' * IMPORTING * bp000_entry = f_bp000 * EXCEPTIONS * partner = 1 * partner_not_released = 2 * OTHERS = 3.

FVZK_LOAD_VZZKOPO CALL FUNCTION 'FVZK_LOAD_VZZKOPO' EXPORTING * DEFAULT_VALUES = E01 dguel_kp = dguel_kp get_empty = space gsart = f_vwpanla-gsart init_tables = 'X' koko_key = koko_key TABLES ivzzkopo = ivzzkopo EXCEPTIONS group_not_found = 01 kondition_not_found = 02 sbewziti_different = 03 skoart_not_found = 04 text_not_found = 05.

COMPANY_CODE_READ_SEC CALL FUNCTION 'COMPANY_CODE_READ_SEC' EXPORTING i_bukrs = st_revalb-bukrs IMPORTING e_t001 = lwa_t001 e_tzbz = lwa_tzbz EXCEPTIONS t001_entry_not_found = 1 tzbz_entry_not_found = 2 i_bukrs_initial = 3 OTHERS = 4.

FV70_GET_POSITION_VALUE_SINGLE CALL FUNCTION 'FV70_GET_POSITION_VALUE_SINGLE' EXPORTING i_ranl = st_revalb-ranl * I_RHANDPL = i_stichtag = fo_stichtag * i_quotation_flg = i_skursart = s_kursart i_astueck = st_revalb-astueck i_nominal = st_revalb-bnominal i_rkursber = s_rkursber i_bw = st_revalb-sbwhr i_hw = s_shwhr i_flg_wpkurs_genaudat = ' ' i_flg_wpkurs_genauart = ' ' i_flg_rhandpl_genau = ' ' i_flg_devkurs_genaudat = ' ' IMPORTING e_nw = st_kursstruc-not_waers e_pktkurnw = st_kursstruc-kurs_abs_proz_nw e_bkurbw = st_kursstruc-kurs_abs_proz_bw * E_BKURHW = e_bwertnw = st_tagwerte-betrag_nw e_bwertbw = st_tagwerte-betrag e_bwerthw = st_tagwerte-betrag_hw e_kursdatum_gef = st_kursstruc-kursdatum * E_RHANDPL_GEF = * E_KURSART_GEF = * E_WARNING_RC = e_flg_snoti = st_kursstruc-snoti EXCEPTIONS import_inconsistent = 1 no_sec_record_found = 2 no_sec_price_for_date = 3 no_sec_price_for_prctype = 4 no_sec_price_for_rhandpl = 5 no_fx_rate_found = 6 no_fx_rate_for_date = 7 unknown_general_error = 8 OTHERS = 9.

EXCHANGE_RATE_SERVICE CALL FUNCTION 'EXCHANGE_RATE_SERVICE' EXPORTING i_betrag = st_kursstruc-kurs_abs_proz_nw i_gdatu = st_kursstruc-kursdatum * I_HANDELSPLATZ = * I_KURS = '0000.00000'

EXCHANGE_RATE_SERVICE CALL FUNCTION 'EXCHANGE_RATE_SERVICE' EXPORTING i_betrag = betrag_nw i_gdatu = st_kursstruc-kursdatum * I_HANDELSPLATZ = * I_KURS = '0000.00000'

STOCK_RATE_SELECT CALL FUNCTION 'STOCK_RATE_SELECT' EXPORTING anlage_nummer = anlage_nummer handelsplatz = handelsplatz kursart = kursart kursdatum_ges = kursdatum_ges IMPORTING * KURSART_GEF = kursdatum_gef = kursdatum_gef * kurs_absolut = kurs_absolut kurs_abs_proz = kurs_abs_proz * kurs_prozent = kurs_prozent waehrung = f_waehrung * HANDELSPLATZ_GEF = EXCEPTIONS no_record_found = 4 OTHERS = 8.

EXCHANGE_RATE_SERVICE CALL FUNCTION 'EXCHANGE_RATE_SERVICE' EXPORTING i_betrag = fo_amnt i_gdatu = ddatum i_kursber = i_kursber i_waehrung_nach = lo_curr i_waehrung_von = fo_curr IMPORTING o_betrag = lo_amnt o_currdec = currdec o_datum_gueltig_ab = dguelt o_kurs = o_kurs EXCEPTIONS OTHERS = 06.

ACCUMULATION_DEPOT * call function 'ACCUMULATION_DEPOT' * exporting * bukrs = fm_bukrs * dbestand = fm_stichtag * JNULLB = e03 * jnullb = '1' " also report zero positions * kz_bevi = '1' * ranl = fm_ranl * rldepot = fm_rldepo * importing * anzah = fm_anzahl * tables * i_tvwbevi = i_tvwbevi * o_revalb = fm_itab_nullbestand.



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