RFVIWEGN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Writing Business Entities To a File This program enables you to write existing business entities 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 RFVIWEGN into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FOWEGN - BE: 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: LDS_NAME = Logical Name
Selection Text: OS_NAME = Physical name
Selection Text: P_EXTERN = External Number Assignment
Selection Text: P_INTERN = Internal Number Assignment
Selection Text: P_SANO1 = Address
Selection Text: P_VIEIGE = Owner
Selection Text: P_VIOB07 = Option rates
Selection Text: P_VIOB38 = Project System
Selection Text: P_VIOB39 = Plant Maintenance
Selection Text: P_VIOB42 = Availability
Selection Text: P_VZGPO = Partner
Selection Text: P_VZSORT = User fields
Selection Text: SO_BUKRS = Company code
Selection Text: SO_SWENR = Business Entity
Title: RE Business Entity: 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 IFVIDIWE_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.
RFVIWEGN - RE Business Entity: Direct Input (Generate) RFVIWEGN - RE Business Entity: Direct Input (Generate) RFVIWEDI - RE Business Entity: Direct Input RFVIWEDI - RE Business Entity: Direct Input RFVIWE02 - Correspondence - Print Res.RA Rent Adj. in acc. with Repr. Rent List RFVIWE02 - Correspondence - Print Res.RA Rent Adj. in acc. with Repr. Rent List