RFVIMESH is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Displaying/Changing Rental Unit Data Files With this program, you can display or change batch imput or direct input files...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 RFVIMESH into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FOTB - Change data file rental units
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: SERVER = Application Server
Selection Text: OS_NAME = Physical File Name
Selection Text: MIN_LINE = Output transactions from no.
Selection Text: MAX_LINE = Output transactions up to no.
Selection Text: LDS_NAME = Logical File Name
Selection Text: DATA_REM = .
Title: RE Rental Unit: Direct Input (Show)
Text Symbol: 034 = Address
Text Symbol: 033 = Info
Text Symbol: 031 = Trans.
Text Symbol: 029 = Error!
Text Symbol: 028 = Unknown
Text Symbol: 027 = Availability
Text Symbol: 026 = Plant Maintenance
Text Symbol: 025 = Project System
Text Symbol: 024 = Apprtnmt Unit
Text Symbol: 023 = Owner
Text Symbol: 022 = Partner
Text Symbol: 021 = User Fields
Text Symbol: 020 = New Sess.
Text Symbol: 011 = More transactions exist
Text Symbol: 010 = Record Sequence or Type with Errors
Text Symbol: 006 = Save ?
Text Symbol: 005 = No
Text Symbol: 004 = Yes
Text Symbol: 003 = Data was changed
Text Symbol: 002 = Save data file?
Text Symbol: 001 = & Transactions from File &
Text Symbol: 035 = Fixt./Fitt.Chars
Text Symbol: 036 = Cost Centers
Text Symbol: 037 = Assets
Text Symbol: 038 = Spaces
Text Symbol: 039 = Condition Hdr
Text Symbol: 040 = Condition Item
Text Symbol: 851 = Or
Text Symbol: 850 = Transactions/Checks
Text Symbol: 813 = Presentation Server
Text Symbol: 812 = Application Server
INCLUDE IFVIDIME_CT.
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 = space def_path = os_name mask = mask mode = 'O' title = text-005 IMPORTING filename = os_name * RC = DUMMY EXCEPTIONS inv_winsys = 1 no_batch = 2 selection_cancel = 3 selection_error = 4.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = lds_name IMPORTING file_name = ds_name EXCEPTIONS file_not_found = 01.
TH_SELECT_SERVER CALL FUNCTION 'TH_SELECT_SERVER' * EXPORTING * SERVICES = 255 IMPORTING server = server EXCEPTIONS no_server_list_received = 1 no_server_selected = 2.
BI_EDIT_DATA CALL FUNCTION 'BI_EDIT_DATA' EXPORTING list_title = title alter_allowed = alter_allowed create_tables_statement = 'X' nodata_sign = nodata display_only_data = ' ' IMPORTING save_pressed = save_pressed TABLES disp_data = datedit CHANGING data_altered = altered EXCEPTIONS no_tables_statement = 1 OTHERS = 2.
POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING defaultoption = '1' textline2 = 'Daten-File zurückschreiben?'(002) textline1 = 'Die Daten wurden geändert'(003) * TEXTLINE3 = ' ' text_option1 = 'Ja'(004) text_option2 = 'Nein'(005) titel = 'Sichern ?'(006) * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = antwort EXCEPTIONS OTHERS = 1.
CLBA_UPDATE_FILE_REMOTE_HOST * CALL FUNCTION 'CLBA_UPDATE_FILE_REMOTE_HOST' DESTINATION server * EXPORTING * file_name = ds_name * TABLES * data_tab = datedit * EXCEPTIONS * open_failure = 1 * OTHERS = 2.
RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING * LANGUAGE = SY-LANGU message_id = 'MG' message_number = pr_symsg-msgno message_var1 = pr_symsg-msgv1 message_var2 = pr_symsg-msgv2 message_var3 = pr_symsg-msgv3 message_var4 = pr_symsg-msgv4 IMPORTING message_text = message_text * TABLES * LONGTEXT = EXCEPTIONS message_not_found = 1 OTHERS = 2.
TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' * EXPORTING * SERVICES = 255 TABLES list = server_tab.
CLBA_CLASSIF_FILE_REMOTE_HOST * CALL FUNCTION 'CLBA_CLASSIF_FILE_REMOTE_HOST' DESTINATION server * EXPORTING * file_name = ds_name * TABLES * classif_file = pc_data_tab * EXCEPTIONS * open_failure = 1 * file_contains_no_data = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.