SAP Reports / Programs

RFVIAVG2 SAP ABAP Report - Rental Units for Comparative Group of Apartment & &







RFVIAVG2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RFVIAVG2 into the relevant SAP transactions such as SE38 or SE80


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 RFVIAVG2. "Basic submit
SUBMIT RFVIAVG2 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIAVG2 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: P_BUKRS = Company code
Selection Text: P_DGAB = Valid from
Selection Text: P_ERRONL = Only RUs w/o comparat. group
Selection Text: P_RVGLB = Comparative group
Selection Text: P_SGENR = Building
Selection Text: P_SMENR = Rental unit
Selection Text: P_SMIVE = Lease-out
Selection Text: P_SWENR = Business entity
Selection Text: SGENR = Building
Title: Rental Units for Comparative Group of Apartment & &
Text Symbol: 001 = Rental unit does not exist for lease-out
Text Symbol: 002 = NO COMPARATIVE GROUP ASSIGNED
001 CoCd BE RU Address
002 Storey Liv.area Roo/HRm Build.yr Rep.rn Loc.class Fix./fitt. class


INCLUDES used within this REPORT RFVIAVG2

INCLUDE MF60EJAN.
INCLUDE MF60ETRF.


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_GET_AREA CALL FUNCTION 'MV_GET_AREA' EXPORTING BUKRS = RVIMI21-BUKRS SMENR = RVIMI21-SMENR SWENR = RVIMI21-SWENR IMPORTING PVIMI01 = VIMI01 RMEDAT = RMEDAT EXCEPTIONS AREADESC_NOTFOUND = 01 AREATYPE_NOTFOUND = 01 AREA_NOTFOUND = 01 DATABASE_ERROR = 02 ME_NOTFOUND = 02 OTHERS = 01.

ADDRESS_ASSIGN CALL FUNCTION 'ADDRESS_ASSIGN' EXPORTING ADR_IN = VIMI01-SADRME FUNCTION = 'P' " Provide (zur Verfügung stellen) OBJEKTTYP = K_OBTYP_ME IMPORTING ADRWA_OUT = SANS1 ADRZUS_OUT = SANO1 EXCEPTIONS ADDRESS_NOT_FOUND = 01 ILLEGAL_FUNCTION = 02 NO_ADDRESS_ASSIGNED = 03.

ADDRESS_TEXT CALL FUNCTION 'ADDRESS_TEXT' EXPORTING SANS1 = SANS1 IMPORTING ADR_TEXT = RF60E-ADRESSE.

MV_STOCKWERK_GET CALL FUNCTION 'MV_STOCKWERK_GET' EXPORTING IN_SSTOCKW = VIVGME-SSTOCKW IMPORTING OUT_TIV37 = TIV37 OUT_TIV3G = TIV3G EXCEPTIONS INVALID_STOCKWERK = 01.



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