RFVIGRGN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Writing a Building to a File This program allows you to write existing properties to a file...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RFVIGRGN into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FOGRGN - Property: Generate Data File
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: SO_SWENR = Business Entity
Selection Text: SO_SGRNR = Property
Selection Text: SO_BUKRS = Company Code
Selection Text: P_VZSORT = User Fields
Selection Text: P_VZGPO = Partner
Selection Text: P_VIOB42 = Availability
Selection Text: P_VIOB41 = Spaces
Selection Text: P_VIOB39 = Plant Maintenance
Selection Text: P_VIOB38 = Project System
Selection Text: P_VIOB37 = Assets
Selection Text: P_VIOB35 = Productive Holdings
Selection Text: P_VIOB06 = Option Rates
Selection Text: P_VIEIGE = Owner
Selection Text: P_SANO1 = Address
Selection Text: P_INTERN = Internal Number Assignment
Selection Text: P_EXTERN = External Number Assignment
Selection Text: OS_NAME = Physical Name
Selection Text: LDS_NAME = Logical Name
Title: RE Property: Direct Input (Generate)
Text Symbol: 103 = with physical file name
Text Symbol: 102 = Write file to presentation server
Text Symbol: 101 = with logical file name
Text Symbol: 100 = Write file to application server
Text Symbol: 010 = Physical File Name:
Text Symbol: 005 = Technical Details
Text Symbol: 003 = General Data
Text Symbol: 002 = Dependent Data
INCLUDE IFVIDIGR_CT.
INCLUDE RFVICNGP.
INCLUDE IFVIDI_GENF.
INCLUDE IFRE_CHECK_RE_CLASSIC.
No SAP DATABASE tables are accessed within this REPORT code!
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING * DEF_FILENAME = ' ' * DEF_PATH = ' ' mask = mask mode = 'O' * TITLE = ' ' IMPORTING filename = os_name * RC = EXCEPTIONS inv_winsys = 1 no_batch = 2 selection_cancel = 3 selection_error = 4 OTHERS = 5.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING * CLIENT = SY-MANDT logical_filename = lds_name * OPERATING_SYSTEM = SY-OPSYS * PARAMETER_1 = ' ' * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * USE_PRESENTATION_SERVER = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' IMPORTING * EMERGENCY_FLAG = * FILE_FORMAT = file_name = lc_filename EXCEPTIONS file_not_found = 1 OTHERS = 2.
REMD_DI_MOVE_STRUCTURE CALL FUNCTION 'REMD_DI_MOVE_STRUCTURE' EXPORTING i_sourcename = pc_sourcename i_targetname = pc_targetname i_source = pr_source i_int2ext = 'X' IMPORTING e_target = pr_target.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.