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

RFVIIN01 SAP ABAP Report - Invoice for Rent on Basis of FI Documents: First Print







RFVIIN01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Rent Invoice on the Basis of FI Documents: First Print Invoices for lease-out-related open items are created in the first print...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 RFVIIN01 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

FOYB - Invoice for Rent: First 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 RFVIIN01. "Basic submit
SUBMIT RFVIIN01 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIIN01 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: S_ZLSCH = D Payment Method
Selection Text: S_PRREFN = D Reference Document Number
Selection Text: S_PRACTV = D Posting Run Activity
Selection Text: S_BLART = D Document Type
Selection Text: P_PRTNAM = Other Output Device
Selection Text: P_PAYMED = D Print att. payment medium
Selection Text: P_ITCND = D Summarize items?
Selection Text: P_INVPER = D Divide up invoices
Selection Text: P_INVCLT = D Group invoices
Selection Text: P_DLMAX = D Max. No. of Entries
Selection Text: P_DLDISP = D Selection List
Selection Text: P_CREDCH = D Clear credit memo items
Selection Text: P_CORACT = D Correspondence Activity
Selection Text: P_AMOUNT = D Minimum Amount
Selection Text: P_ALLOI = D Print ALL Open Items
Selection Text: PAR_PDAT = Letter Creation Date
Selection Text: PAR_JAHW = Old Local Currency, Conv.Date
Selection Text: PAR_FBKZ = D Print Options
Selection Text: PAR_DVON = D Due From
Selection Text: PAR_DEXC = Key date conversion 2nd curr.
Selection Text: PAR_DBIS = D Due By
Selection Text: PAR_CUR2 = Second Currency
Title: Invoice for Rent on Basis of FI Documents: First Print
Text Symbol: 094 = Create document overview...
Text Symbol: 093 = Group invoices...
Text Symbol: 092 = Read invoice items...
Text Symbol: 091 = Read RE objects...
Text Symbol: 022 = Items may be invoiced again. Do you want to carry out this activity?
Text Symbol: 021 = Print ALL Open Items
Text Symbol: 012 = To
Text Symbol: 011 = Due Period
Text Symbol: 004 = Output Control
Text Symbol: 003 = Translation to Other Currency
Text Symbol: 002 = Invoice Creation
Text Symbol: 001 = Selection of Open Items


INCLUDES used within this REPORT RFVIIN01

RFVZTVI2, "CONSTANTS FOR CORRESPONDENCE
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:

DATE_CREATE CALL FUNCTION 'DATE_CREATE' EXPORTING anzahl_monate = con_sel_open_items_month datum_ein = sy-datum "#EC DOM_EQUAL ultimo_setzen = 'X' IMPORTING datum_aus = par_dbis. "#EC DOM_EQUAL

DATE_CREATE CALL FUNCTION 'DATE_CREATE' EXPORTING anzahl_monate = con_sel_posting_run_month datum_ein = sy-datum "#EC DOM_EQUAL IMPORTING datum_aus = s_derf-low. "#EC DOM_EQUAL

RECP_DD_DOMVALUE_GET_FIRST CALL FUNCTION 'RECP_DD_DOMVALUE_GET_FIRST' EXPORTING ic_domname = 'RECPINVCOLLECT' IMPORTING ec_domvalue = p_invclt(1) EXCEPTIONS OTHERS = 0.

RECP_DD_DOMVALUE_GET_FIRST CALL FUNCTION 'RECP_DD_DOMVALUE_GET_FIRST' EXPORTING ic_domname = 'RECPINVPERIOD' IMPORTING ec_domvalue = p_invper(1) EXCEPTIONS OTHERS = 0.

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.

RECP_DD_DOMVALUE_GET CALL FUNCTION 'RECP_DD_DOMVALUE_GET' EXPORTING ic_domname = 'RECPINVCOLLECT' ic_domvalue = p_invclt IMPORTING ec_domvaluetext = cmm_iclt EXCEPTIONS OTHERS = 0.

RECP_DD_DOMVALUE_GET CALL FUNCTION 'RECP_DD_DOMVALUE_GET' EXPORTING ic_domname = 'RECPINVPERIOD' ic_domvalue = p_invper IMPORTING ec_domvaluetext = cmm_iper EXCEPTIONS OTHERS = 0.

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

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.

DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'VVSVORG' langu = sy-langu TABLES dd07v_tab = lt_dd07v.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = '6B' I_DTYPE = '-' I_MSGNR = '149' * I_VAR01 = ' ' * I_VAR02 = ' ' * I_VAR03 = ' ' * I_VAR04 = ' ' .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-021 text_question = text-022 display_cancel_button = ' ' userdefined_f1_help = 'RECP_DIA_INV_ALL_OI' IMPORTING answer = lc_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

PC_FUNCTION_FIND CALL FUNCTION 'PC_FUNCTION_FIND' EXPORTING i_procs = '00705000' TABLES t_fmrfc = st_dummy EXCEPTIONS nothing_found = 1 more_than_one_entry = 2 OTHERS = 3.

OUTBOUND_CALL_00705000_P CALL FUNCTION 'OUTBOUND_CALL_00705000_P' EXPORTING is_vimimv = is_vimimv is_invparams = is_invparams IMPORTING eb_ignore = eb_ignore.

DATE_CREATE CALL FUNCTION 'DATE_CREATE' EXPORTING datum_ein = ls_vimiih-dinvfrom "#EC DOM_EQUAL ultimo_setzen = 'X' IMPORTING datum_aus = ls_vimiih-dinvto. "#EC DOM_EQUAL

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

RECP_FI_INVOICE_ITEMS_RA_GET CALL FUNCTION 'RECP_FI_INVOICE_ITEMS_RA_GET' EXPORTING id_due_date_from = par_dvon id_due_date_to = par_dbis ib_credit_charge = p_credch ib_all_open_items = p_alloi TABLES it_cust_with_ra = gt_cust_with_ra it_so_doc_type = s_blart it_so_ref_numb = s_xblnr et_invoice_items = lt_invoice_items.

RECP_GUI_SB_UPDATE





CALL FUNCTION 'RECP_GUI_SB_UPDATE' EXPORTING ic_text = text-093. "group invoices...

RECP_FI_INVOICE_PAYMETHOD_SET CALL FUNCTION 'RECP_FI_INVOICE_PAYMETHOD_SET' TABLES it_so_paymeth = s_zlsch ct_invoice_items = lt_invoice_items.

OUTBOUND_CALL_00705001_P CALL FUNCTION 'OUTBOUND_CALL_00705001_P' EXPORTING is_invparams = gs_invparams TABLES ct_invoice_items = lt_invoice_items.

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