SAP Reports / Programs | Logistics Execution | Warehouse Management(LE-WM) SAP LE

RLMIGR00 SAP ABAP INCLUDE - Display of batch input data from seq.file







RLMIGR00 is a standard ABAP INCLUDE 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 RLMIGR00 into the relevant SAP transactions such as SE38 or SE80


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 RLMIGR00. "Basic submit
SUBMIT RLMIGR00 AND RETURN. "Return to original report after report execution complete
SUBMIT RLMIGR00 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Display of batch input data from seq.file


INCLUDES used within this REPORT RLMIGR00

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:

FILE_LOGFILE_ALIAS_PBO call function 'FILE_LOGFILE_ALIAS_PBO' exporting ed_logfile_appl = log_pbo_new ed_parameter_name = 'LOG_NAM' changing cd_logfile_param = log_nam.

BI_EDIT_DATA CALL FUNCTION 'BI_EDIT_DATA' EXPORTING LIST_TITLE = TITLE ALTER_ALLOWED = KONST_X CREATE_TABLES_STATEMENT = KONST_X DISPLAY_ONLY_DATA = KONST_X TABLES DISP_DATA = DATEDIT CHANGING DATA_ALTERED = ALTERED EXCEPTIONS NO_TABLES_STATEMENT = 1 OTHERS = 2.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' "JA Sicherungspopup EXPORTING DEFAULTOPTION = '1' TEXTLINE2 = 'Datenfile zurückschreiben?'(020) TEXTLINE1 = 'Die Daten wurden geändert'(021) TEXT_OPTION1 = 'Ja'(022) TEXT_OPTION2 = 'Nein'(023) TITEL = 'Sichern ?'(024) 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 logical_filename = log_nam TABLES DATA_TAB = DATEDIT EXCEPTIONS OPEN_FAILURE = 1 OTHERS = 2.

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.

WS_DOWNLOAD *** CALL FUNCTION 'WS_DOWNLOAD' "UNICODE *** EXPORTING *** FILENAME = RLGRAP-FILENAME *** FILETYPE = RLGRAP-FILETYPE *** TABLES *** DATA_TAB = PC_DATA_TAB *** EXCEPTIONS *** FILE_OPEN_ERROR = 1 *** FILE_WRITE_ERROR = 2 *** INVALID_FILESIZE = 3 *** INVALID_TABLE_WIDTH = 4 *** INVALID_TYPE = 5 *** NO_BATCH = 6 *** UNKNOWN_ERROR = 7 *** OTHERS = 8.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = DS_NAME_STR *** FILENAME = RLGRAP-FILENAME FILETYPE = 'ASC' *** FILETYPE = RLGRAP-FILETYPE TABLES DATA_TAB = PC_DATA_TAB EXCEPTIONS FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 15 DP_OUT_OF_MEMORY = 16 DISK_FULL = 17 DP_TIMEOUT = 18 FILE_NOT_FOUND = 19 DATAPROVIDER_EXCEPTION = 20 CONTROL_FLUSH_ERROR = 21 OTHERS = 22.

FILE_LOGFILE_ALIAS_PAI call function 'FILE_LOGFILE_ALIAS_PAI' exporting ed_logfile_appl = log_pbo_new changing cd_logfile = log_nam exceptions others = 1.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING LOGICAL_FILENAME = LOG_NAM IMPORTING FILE_NAME = DS_NAME EXCEPTIONS FILE_NOT_FOUND = 1 OTHERS = 2.

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.

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 logical_filename = log_nam TABLES CLASSIF_FILE = PC_DATA_TAB EXCEPTIONS OPEN_FAILURE = 04 FILE_CONTAINS_NO_DATA = 08.

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.

WS_UPLOAD *** CALL FUNCTION 'WS_UPLOAD' "UNICODE *** EXPORTING *** FILENAME = RLGRAP-FILENAME *** FILETYPE = RLGRAP-FILETYPE *** TABLES *** DATA_TAB = PC_DATA_TAB *** EXCEPTIONS *** FILE_OPEN_ERROR = 04 *** FILE_READ_ERROR = 08 *** INVALID_TYPE = 12 *** UNKNOWN_ERROR = 16.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = DS_NAME_STR FILETYPE = 'ASC' *** FILENAME = RLGRAP-FILENAME *** FILETYPE = RLGRAP-FILETYPE TABLES DATA_TAB = PC_DATA_TAB EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_AUTHORITY = 6 UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 HEADER_NOT_ALLOWED = 9 SEPARATOR_NOT_ALLOWED = 10 HEADER_TOO_LONG = 11 UNKNOWN_DP_ERROR = 12 ACCESS_DENIED = 13 DP_OUT_OF_MEMORY = 14 DISK_FULL = 15 DP_TIMEOUT = 16 OTHERS = 17.

FUNCTION_IMPORT_INTERFACE call function 'FUNCTION_IMPORT_INTERFACE' exporting funcname = 'CLBA_UPDATE_FILE_REMOTE_HOST' tables exception_list = lt_excep_pa export_parameter = lt_export_pa import_parameter = lt_import_pa tables_parameter = lt_tables_pa exceptions error_message = 1 function_not_found = 2 invalid_name = 3 others = 4.

FUNCTION_IMPORT_INTERFACE call function 'FUNCTION_IMPORT_INTERFACE' exporting funcname = 'CLBA_CLASSIF_FILE_REMOTE_HOST' tables exception_list = lt_excep_pa export_parameter = lt_export_pa import_parameter = lt_import_pa tables_parameter = lt_tables_pa exceptions error_message = 1 function_not_found = 2 invalid_name = 3 others = 4.

FILE_LOGFILE_ALIAS_F4 call function 'FILE_LOGFILE_ALIAS_F4' exporting ed_logfile_appl = log_pbo_new ed_parameter_name = 'LOG_NAM' changing cd_logical_file = log_nam.



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