SAP Reports / Programs

RFVIAN01 SAP ABAP Report - Cross-Method Rent Adjustment: Correspondence







RFVIAN01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report prints rent adjustments...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 RFVIAN01 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

FORY - RE: Rent adj. - Print area
FORN - Rent Adj. - Print CEA
FOVK - Print general rent adjustment


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 RFVIAN01. "Basic submit
SUBMIT RFVIAN01 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIAN01 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: SEL_IDNT = User Identification
Selection Text: SEL_DCNT = Number of Printed Letters
Selection Text: PAR_RDAT = Reply By
Selection Text: PAR_PRTC = Issue Log
Selection Text: PAR_PDAT = Letter Creation Date
Selection Text: PAR_NZPO = Subj.to Appr., No Approval Gvn
Selection Text: PAR_NZPM = Subj.to Appr., Approval Given
Selection Text: PAR_NZPF = Subject to Approval (All)
Selection Text: PAR_NNZP = Not Subject to Approval
Selection Text: PAR_NARC = Do Not Archive Correspondence
Selection Text: PAR_NALL = All
Selection Text: PAR_JAHW = Old Local Currency, Conv.Date
Selection Text: PAR_GV = D Correspondence Activity
Selection Text: PAR_DMIN = Adjustment Date Lower Limit
Selection Text: PAR_DMAX = Adjustment Date Upper Limit
Selection Text: PAR_DEXC = Key Date Conversion 2nd Curr.
Selection Text: PAR_CUR2 = Second Currency
Selection Text: PAR_AZST = Subject to Approval
Selection Text: PAR_ANZS = Not Subject to Approval
Selection Text: PAR_AKEI = None
Selection Text: PAR_ACND = Also for Changed Conditions
Selection Text: PAR_AALL = All
Title: Cross-Method Rent Adjustment: Correspondence
Text Symbol: 5** = * Name of elements which the program expects in the form
Text Symbol: 201 = Value-Added Tax
Text Symbol: 2** = * Texts in Table Entries
Text Symbol: 1** = * List Headings
Text Symbol: 010 = Translation to Other Currency
Text Symbol: 009 = With Zero Adjustments (Old Amount = New Amount)
Text Symbol: 008 = To
Text Symbol: 007 = Consideration of Active Rent Adjustments
Text Symbol: 006 = Consideration of Inactive Rent Adjustments
Text Symbol: 005 = Rent Adjustment Selection
Text Symbol: 004 = Adjustment Date
Text Symbol: 003 = Select Real Estate objects
Text Symbol: 002 = Output Control
Text Symbol: 001 = General Selections
Text Symbol: 0** = * Report Title / Selection Parameters





INCLUDES used within this REPORT RFVIAN01

INCLUDE RFVIMVD1_LOAD_DATA.
INCLUDE RFVIMVCA.
INCLUDE RFVIMVCF.
INCLUDE RFVZTVI2.
INCLUDE IMA10T16.
INCLUDE RFVZTVI3.


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:

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_manp 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.

RE_PRINT_LTTR_FOR_OBJ_CORRAPPL CALL FUNCTION 'RE_PRINT_LTTR_FOR_OBJ_CORRAPPL' EXPORTING i_intreno = fle_vimimv-intreno i_korrber = con_kanw_manp i_korrvorf = par_gv i_viprintfromobj1 = fle_viprintfromobj1 IMPORTING e_flg_prog_end = flg_prog_end TABLES t_i_rsoxident = sel_idnt t_i_rsosanpnr = sel_sanp t_i_rsovvndoccnt = sel_dcnt 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 OTHERS = 8.

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.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'VIMI17' fieldname = 'XIDENT' searchhelp = pc_shlpname * dynpprog = lc_repid * dynpnr = lc_dynnr dynprofield = con_sel_xident_low callback_program = lc_repid callback_form = 'F4_CALLBACK' TABLES return_tab = lt_return EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = lt_return-fieldval IMPORTING date_internal = pd_guelab EXCEPTIONS date_external_is_invalid = 1.

CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = pd_guelab IMPORTING date_external = lt_rsselread-fieldvalue EXCEPTIONS date_internal_is_invalid = 1 OTHERS = 2.

RS_SELECTIONSCREEN_UPDATE CALL FUNCTION 'RS_SELECTIONSCREEN_UPDATE' EXPORTING program = lc_repid TABLES updatevalues = lt_rsselread EXCEPTIONS OTHERS = 1.

DATE_CREATE CALL FUNCTION 'DATE_CREATE' EXPORTING anzahl_tage = li_add_days datum_ein = id_dstich ultimo_setzen = 'X' IMPORTING datum_aus = ld_danp.



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