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
Below is a list of transaction codes which are relevant to this SAP report
FOAR40R1 - Read lease-out archive
FO4Y - Read lease-out archive
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFVIAR47 - Real Estate Lease-Out Archiving: Read Program RFVIAR47 - Real Estate Lease-Out Archiving: Read Program RFVIAR46 - Real Estate Rental Agreement Archiving: Index Table Deletion RFVIAR46 - Real Estate Rental Agreement Archiving: Index Table Deletion RFVIAR45 - Real Estate Rental Agreement Archiving: Index Table Structure RFVIAR45 - Real Estate Rental Agreement Archiving: Index Table Structure