SAP Reports / Programs | Materials Management | Inventory Management(MM-IM) SAP MM

RM07EDIN SAP ABAP INCLUDE - Include Used to Process Sequential Files







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


Text pool values


Title: Include Used to Process Sequential Files


INCLUDES used within this REPORT RM07EDIN

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:

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 EXCEPTIONS inv_winsys = 04 no_batch = 08 selection_cancel = 12 selection_error = 16.

FILE_LOGFILE_ALIAS_PAI call function 'FILE_LOGFILE_ALIAS_PAI' exporting ed_logfile_appl = lds_name_new changing cd_logfile = lds_name exceptions others = 1.

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 TABLES disp_data = datedit CHANGING data_altered = altered EXCEPTIONS no_tables_statement = 1 OTHERS = 2.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-003 textline2 = text-004 titel = text-006 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 = lds_name 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.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = s_file-filename filetype = s_file-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.

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 = lds_name 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.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = s_file-filename filetype = s_file-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 = lds_name_new ed_parameter_name = 'LDS_NAME' changing cd_logical_file = lds_name.

FILE_LOGFILE_ALIAS_PBO call function 'FILE_LOGFILE_ALIAS_PBO' exporting ed_logfile_appl = lds_name_new ed_parameter_name = 'LDS_NAME' changing cd_logfile_param = lds_name.



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