SAP Reports / Programs | Real Estate Management(RE) SAP RE

RFVIIR01 SAP ABAP Report - Rent Invoice According to FI Documents: Repeat Print







RFVIIR01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Rent Invoice: Repeat Print The repeat print function prints invoices that were created using the program 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 RFVIIR01 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

FOYC - Invoice for Rent: Repeat Print


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 RFVIIR01. "Basic submit
SUBMIT RFVIIR01 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIIR01 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: PAR_CUR2 = Second Currency
Selection Text: PAR_DEXC = Key Date Conversion 2nd Curr.
Selection Text: PAR_FBKZ = D Print Options
Selection Text: PAR_JAHW = Old Local Currency, Conv.Date
Selection Text: PAR_PDAT = Letter Creation Date
Selection Text: P_CORACT = D Correspondence Activity
Selection Text: P_DLDISP = D Selection List
Selection Text: P_DLMAX = D Max. No. of Entries
Selection Text: P_ITCND = D Summarize items?
Selection Text: P_PAYMED = D Print att. payment medium
Selection Text: P_PRTNAM = Other Output Device
Selection Text: S_INVNO = D Invoice Number
Selection Text: S_INVYEA = D Invoice Year
Title: Rent Invoice According to FI Documents: Repeat Print
Text Symbol: 095 = (Note: if you select by invoice no., other selections will be ignored)
Text Symbol: 094 = Create document overview...
Text Symbol: 092 = Read invoices...
Text Symbol: 091 = Read RE objects...
Text Symbol: 004 = Output Control
Text Symbol: 003 = Translation to Other Currency
Text Symbol: 002 = Invoice Preparation
Text Symbol: 001 = Invoice Selection


INCLUDES used within this REPORT RFVIIR01

RFVZTVI2, "CONSTANTS FOR CORRESPONDENCE (1)
INCLUDE IFRE_CHECK_RE_CLASSIC.


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:

MV_KVT_DEFAULT_GET CALL FUNCTION 'MV_KVT_DEFAULT_GET' EXPORTING i_korrber = con_corapp i_rantyp = con_rantyp-immo IMPORTING e_geschvorf = p_coract.

FVVI_AUTHORITY_MESSAGE CALL FUNCTION 'FVVI_AUTHORITY_MESSAGE' EXPORTING auth_actvt = '03' auth_bukrs = p_bukrs auth_object = 'F_BKPF_BUK' auth_subrc = sy-subrc EXCEPTIONS others = 1.

RECP_GUI_SB_UPDATE CALL FUNCTION 'RECP_GUI_SB_UPDATE' EXPORTING ic_text = text-091. "read objects...

RECP_GUI_SB_UPDATE CALL FUNCTION 'RECP_GUI_SB_UPDATE' EXPORTING ic_text = text-092. "read invoices...

ISGP_VZGPO_READ CALL FUNCTION 'ISGP_VZGPO_READ' EXPORTING I_SNUMOBJ = CON_SNUMOBJ-IMMO I_SOBJEKT = VIMIMV-INTRENO * I_DATE = get customers not time dependant * I_END_DATE = TABLES YVZGPO = lt_VZGPO * R_PARTNER = * R_ROLETYP = * R_ROLE = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

RECP_GUI_SB_UPDATE CALL FUNCTION 'RECP_GUI_SB_UPDATE' EXPORTING ic_text = text-092. "read invoice items...

RECP_INVLOG_SELECT_BY_OBJECT CALL FUNCTION 'RECP_INVLOG_SELECT_BY_OBJECT' TABLES it_cust_with_ra = gt_cust_with_ra it_so_invoice_no = s_invno it_so_invoice_year = s_invyea et_vimiih = lt_vimiih et_vimiip = lt_vimiip.

RECP_INVLOG_SELECT_BY_INVNO_SO CALL FUNCTION 'RECP_INVLOG_SELECT_BY_INVNO_SO' TABLES it_so_invoice_no = s_invno it_so_invoice_year = s_invyea it_so_bukrs = lt_so_bukrs et_vimiih = lt_vimiih et_vimiip = lt_vimiip.

RECP_INVOICE_PRINT_LIST CALL FUNCTION 'RECP_INVOICE_PRINT_LIST' EXPORTING is_invparams = gs_invparams is_itcpo = gs_itcpo TABLES it_vimiih = lt_vimiih it_vimiip = lt_vimiip.

RECP_GUI_SB_UPDATE CALL FUNCTION 'RECP_GUI_SB_UPDATE' EXPORTING ic_text = text-094. "create document list...

RECP_INVOICE_DOCLIST CALL FUNCTION 'RECP_INVOICE_DOCLIST' EXPORTING is_invparams = gs_invparams is_itcpo = gs_itcpo TABLES it_vimiih = lt_vimiih it_vimiip = lt_vimiip.



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