SAP Reports / Programs

RFVIAR47 SAP ABAP Report - Real Estate Lease-Out Archiving: Read Program







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

FOAR40R1 - Read lease-out archive
FO4Y - Read lease-out archive


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 RFVIAR47. "Basic submit
SUBMIT RFVIAR47 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIAR47 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Real Estate Lease-Out Archiving: Read Program
Text Symbol: 011 = IMKEY
Text Symbol: 010 = OBJNR
Text Symbol: 009 = INTRENO
Text Symbol: 008 = Internal Keys:
Text Symbol: 007 = Notice
Text Symbol: 006 = Rental End
Text Symbol: 005 = Rental Start
Text Symbol: 004 = Rental Unit
Text Symbol: 003 = Business Entity
Text Symbol: 002 = Lease-Out
Text Symbol: 001 = Company Code


INCLUDES used within this REPORT RFVIAR47

No INCLUDES are used within this REPORT code!


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:

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING OBJECT = 'RE_RNTL_AG' IMPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE EXCEPTIONS FILE_ALREADY_OPEN = 01 FILE_IO_ERROR = 02 NO_FILES_AVAILABLE = 04 OBJECT_NOT_FOUND = 05 OPEN_ERROR = 06.

ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING OBJECT = 'RE_RNTL_AG' IMPORTING COMMIT_COUNT_FOR_DELETE_PRG = COMMCNT MAINTAIN_INDEX = INDEX EXCEPTIONS OBJECT_NOT_FOUND = 01.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE IMPORTING OBJECT_ID = OBJECT_ID OBJECT_OFFSET = OFFSET ARCHIVE_NAME = ARKEY EXCEPTIONS END_OF_FILE = 01 OPEN_ERROR = 03 WRONG_ACCESS_TO_ARCHIVE = 04.

ARCHIVE_ADMIN_SAVE_INDEX CALL FUNCTION 'ARCHIVE_ADMIN_SAVE_INDEX' EXPORTING OBJECT = 'RE_RNTL_AG' OBJECT_ID = OBJECT_ID ARCHIVEKEY = ARKEY OBJECT_OFFSET = OFFSET.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' "builds up index EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE IMPORTING * RECORD = ARC_BUFFER-SEGMENT RECORD_REF = BUFFER_REF RECORD_STRUCTURE = BUFFER_NAME EXCEPTIONS END_OF_OBJECT = 01.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' "TH40C EXPORTING I_BUFFER_ACTIVE = 'X' "TH40C I_CALLBACK_PROGRAM = G_REPID "TH40C IT_FIELDCAT = GT_FIELDCAT[] "TH40C TABLES "TH40C T_OUTTAB = I_VIMIMV. "TH40C



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