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

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







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

FO3L - Read lease-out flow archive
FOAR30R1 - Read Lease-Out Flow 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 RFVIAR37. "Basic submit
SUBMIT RFVIAR37 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIAR37 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_VARI = Display Variant
Selection Text: P_AUTO = Field Catalog from DDIC (test)
Title: Real Estate Lease-Out Flows Archiving: Read Program
Text Symbol: 022 = Flows
Text Symbol: 021 = Lease-Out
Text Symbol: 012 = Execute
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 RFVIAR37

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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING I_SAVE = ALV_SAVE CHANGING CS_VARIANT = ALV_X_VARIANT EXCEPTIONS NOT_FOUND = 2.

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING OBJECT = 'RE_FLOW_DT' 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_FLOW_DT' 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_FLOW_DT' 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_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = ALV_REPID IS_LAYOUT = ALV_LAYOUT IT_FIELDCAT = ALV_FIELDCAT[] I_SAVE = ALV_SAVE IS_VARIANT = ALV_VARIANT I_TABNAME_HEADER = ALV_TABNAME_HEADER I_TABNAME_ITEM = ALV_TABNAME_ITEM IS_KEYINFO = ALV_KEYINFO TABLES T_OUTTAB_HEADER = I_VIMIMV T_OUTTAB_ITEM = I_VIBEPP.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_INTERNAL_TABNAME = LS_INTERNAL_TABNAME I_STRUCTURE_NAME = 'VIMIMV' I_CLIENT_NEVER_DISPLAY = 'X' CHANGING CT_FIELDCAT = LS_T_FIELDCAT_VIMIMV EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_INTERNAL_TABNAME = LS_INTERNAL_TABNAME I_STRUCTURE_NAME = 'VIBEPP' I_CLIENT_NEVER_DISPLAY = 'X' CHANGING CT_FIELDCAT = LS_T_FIELDCAT_VIBEPP EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = ALV_VARIANT I_SAVE = ALV_SAVE I_TABNAME_HEADER = ALV_TABNAME_HEADER I_TABNAME_ITEM = ALV_TABNAME_ITEM * it_default_fieldcat = IMPORTING E_EXIT = ALV_EXIT ES_VARIANT = ALV_X_VARIANT EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING I_SAVE = ALV_SAVE CHANGING CS_VARIANT = ALV_X_VARIANT.



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