RFVIUA01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The letter prints
If you would like to execute this report or see the full code listing simply enter RFVIUA01 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FOVU - Print sales settlement
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: PAR_CUR2 = Second currency
Selection Text: PAR_DBIS = Reporting interval to date
Selection Text: PAR_DEXC = Key date conversion 2nd curr.
Selection Text: PAR_DVON = Reporting interval from date
Selection Text: PAR_GV = D Correspondence activity
Selection Text: PAR_JAHW = Old local currency, conv.date
Selection Text: PAR_NARC = Do Not Archive Correspondence
Selection Text: PAR_PDAT = Letter creation date
Selection Text: PAR_PRTC = Issue log
Title: Sales-Based Rent Settlement: Correspondence
Text Symbol: 0** = * Report Title/Selection Parameters
Text Symbol: 001 = General selections
Text Symbol: 002 = Output control
Text Symbol: 003 = Select Real Estate objects
Text Symbol: 004 = Reporting interval
Text Symbol: 005 = Sales report selection
Text Symbol: 006 = To
Text Symbol: 010 = Translation to other currency
Text Symbol: 1** = * List headings
Text Symbol: 2** = * Texts in table entries
Text Symbol: 5** = * Name of elements which the program expects in the form
INCLUDE RFVIMVD1_LOAD_DATA.
INCLUDE RFVIMVCA.
INCLUDE RFVIMVCF.
INCLUDE RFVZTVI2.
INCLUDE RFVZTVI3.
No SAP DATABASE tables are accessed within this REPORT code!
RE_CORRESPOND_PRTCL_FLAG_DFLT CALL FUNCTION 'RE_CORRESPOND_PRTCL_FLAG_DFLT' CHANGING c_flg_show_errors = par_prtc EXCEPTIONS OTHERS = 1.
FI_EMU_GET_CONVERSION_DATE CALL FUNCTION 'FI_EMU_GET_CONVERSION_DATE' EXPORTING i_bukrs = p_bukrs IMPORTING e_date = fle_vikorr-dexchcuk EXCEPTIONS OTHERS = 1.
MV_KVT_VALUES_LIST CALL FUNCTION 'MV_KVT_VALUES_LIST' EXPORTING i_korrber = con_kanw_slst i_rantyp = con_rantyp-immo IMPORTING e_korrvorf = hlp_kv EXCEPTIONS nothing_selected = 1 no_list = 2 OTHERS = 3.
FI_EMU_GET_CONVERSION_DATE CALL FUNCTION 'FI_EMU_GET_CONVERSION_DATE' EXPORTING i_bukrs = p_bukrs IMPORTING e_date = fle_vikorr-dexchcuk EXCEPTIONS OTHERS = 1.
FI_EMU_GET_OLD_CURRENCY CALL FUNCTION 'FI_EMU_GET_OLD_CURRENCY' EXPORTING i_bukrs = p_bukrs IMPORTING e_hwaer = fle_vikorr-swhrkndcuk * E_HWAE2 = * E_HWAE3 = EXCEPTIONS companycode_not_found = 1 system_error = 2 OTHERS = 3.
MV_ADJUST_TYPE_CHECK CALL FUNCTION 'MV_ADJUST_TYPE_CHECK' EXPORTING i_smvanart = con_smvar_umsatzmiete i_vimimv = vimimv EXCEPTIONS not_active = 01.
RE_SALES_STTLMNT_VIRTUAL_FLDS * CALL FUNCTION 'RE_SALES_STTLMNT_VIRTUAL_FLDS' * EXPORTING * i_second_currency = fle_vikorr-swhrkndcuk * i_valid_date = fle_vikorr-dexchcuk * TABLES * t_c_errors = tab_errors * CHANGING * c_rvimi28_zs = tab_rvimi28_zs * EXCEPTIONS * OTHERS = 0.
RE_PRINT_LTTR_FOR_OBJ_CORRAPPL CALL FUNCTION 'RE_PRINT_LTTR_FOR_OBJ_CORRAPPL' EXPORTING i_intreno = fle_vimimv-intreno i_korrber = con_kanw_slst i_korrvorf = par_gv i_viprintfromobj1 = fle_viprintfromobj1 IMPORTING e_flg_prog_end = flg_prog_end TABLES t_c_errors = tab_errors EXCEPTIONS object_key_failure = 1 corr_activity_def_failure = 2 printing_canceled = 3 printing_failure = 4 tenancy_law_not_unique = 5 no_notice_for_rental_contract = 6 corract_corrappl_not_assigned = 7 no_sales_settlement_for_rc = 8 OTHERS = 9.
ERROR_RULE_ACCOUNT_NEW CALL FUNCTION 'ERROR_RULE_ACCOUNT_NEW' EXPORTING * ARBEITSGEBIET = 'X' channel = output_channel * DATEI = 'fehlerprotokoll' * MESSAGENUMMER = 'X' nur_import = 'X' * SEVERITY = 'X' * SORTIERT = 'X' * importing * ausgabedatei = * spool_nr = TABLES fehler_import = tab_errors EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.