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
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: 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
INCLUDE MF60EJAN.
INCLUDE MF60ETRF.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFVIAVG2 - Rental Units for Comparative Group of Apartment & & RFVIAVG2 - Rental Units for Comparative Group of Apartment & & RFVIAUTH - INCLUDE Authority Check RFVIAS02 - Correspondence - Print General Letter RFVIAS02 - Correspondence - Print General Letter RFVIAS01 - General Information on Tenancy: Correspondence