RFVIMVSH is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used mainly for control purpuses or for postprocessing faulty flat 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 RFVIMVSH into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FOTE - Change data file lease-outs
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: 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
Title: Lease-Out Direct Input: Display/Edit Import File
Text Symbol: 003 = Data changed
Text Symbol: 004 = Yes
Text Symbol: 005 = No
Text Symbol: 006 = Save ?
Text Symbol: 010 = -E- Incorrect Record Sequence or Record Type
Text Symbol: 011 = I--- More transactions exist
Text Symbol: 020 = New folder
Text Symbol: 021 = Security
Text Symbol: 022 = Subsidy
Text Symbol: 023 = Room no.
Text Symbol: 024 = Cost Center
Text Symbol: 025 = Condition Header
Text Symbol: 026 = Condition Item
Text Symbol: 027 = Adjustment Type
Text Symbol: 028 = User Fields
Text Symbol: 029 = Error!
Text Symbol: 030 = Unknown
Text Symbol: 031 = Trans.
Text Symbol: 002 = Save data file?
Text Symbol: 001 = & Transactions from File &
Text Symbol: 033 = Info
Text Symbol: 851 = or
Text Symbol: 850 = Transactions/Checks
Text Symbol: 813 = Presentation Server
Text Symbol: 812 = Application Server
Text Symbol: 810 = Server Name
Text Symbol: 809 = Location of File to be Imported
Text Symbol: 808 = Read file from external application server
Text Symbol: 806 = Read file from application server
Text Symbol: 040 = Cost Centers
Text Symbol: 039 = Index Data
Text Symbol: 038 = Sales Item
Text Symbol: 037 = Sales Hdr
INCLUDE IFRE_CHECK_RE_CLASSIC.
No SAP DATABASE tables are accessed within this REPORT code!
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = D020S-PROG DYNUMB = D020S-DNUM
TABLES DYNPFIELDS = DYNP_VALUE_TAB
EXCEPTIONS INVALID_ABAPWORKAREA = 04 INVALID_DYNPROFIELD = 08 INVALID_DYNPRONAME = 12 INVALID_DYNPRONUMMER = 16 INVALID_REQUEST = 20 NO_FIELDDESCRIPTION = 24 UNDEFIND_ERROR = 28.
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 = 04 NO_BATCH = 08 SELECTION_CANCEL = 12 SELECTION_ERROR = 16.
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 = MSXXLIST-MSGTYPES IMPORTING SERVER = SERVER EXCEPTIONS NO_SERVER_LIST_RECEIVED = 04 NO_SERVER_SELECTED = 08.
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 = ' ' 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 = 'Datenfile 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.
TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' EXPORTING SERVICES = MSXXLIST-MSGTYPES 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 = 04 * FILE_CONTAINS_NO_DATA = 08.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.