EDX_READ_FILES is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Instead of exchanging messages using middleware by means of RFC or PROXY, messages can also be exchanged as files using a file system...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 EDX_READ_FILES into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
EDX_READ_FILES - EDX: Read Messages From File System
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.
Title: EDX: Read messages from the file system
Text Symbol: T22 = DocumentSet in processing: &1
Text Symbol: T21 = No file exists for processing
Text Symbol: T20 = Processed
Text Symbol: T19 = Not processed
Text Symbol: T18 = Reading messages from the file system is not activated. See table EDX_SETUP.
Text Symbol: T17 = Saved in directory &1
Text Symbol: T16 = Save file &1 with errors
Text Symbol: T15 = Successful processing of this DocumentSet message in the file
Text Symbol: T14 = File &1 processed
Text Symbol: T13 = Could not delete file in directory &1
Text Symbol: T12 = Final processing of file &1 incorrect
Text Symbol: T11 = Error occurred when processing the DocumentSet file from the file system
Text Symbol: T10 = File &1 could not be processed
Text Symbol: T09 = Documents written to table EDX_PARK
Text Symbol: T08 = Process file &1
Text Symbol: T07 = File &1 could not be moved into directory &2
Text Symbol: T06 = Error when moving file
Text Symbol: T05 = File &1 moved to directory &2
Text Symbol: T04 = File moved successfully
Text Symbol: T03 = &1 messages found in directory &2
Text Symbol: T02 = Directory &1 Not Available
Text Symbol: T01 = Read Files from Directory
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
EDX_GET_SETTINGS CALL FUNCTION 'EDX_GET_SETTINGS' IMPORTING e_settings = gs_settings.
FILE_GET_NAME_USING_PATH CALL FUNCTION 'FILE_GET_NAME_USING_PATH' EXPORTING client = sy-mandt logical_path = gc_pname operating_system = sy-opsys file_name = '/' IMPORTING file_name_with_path = lv_src_directory EXCEPTIONS path_not_found = 1 missing_parameter = 2 operating_system_not_found = 3 file_system_not_found = 4 OTHERS = 5.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_fname CHANGING physical_filename = lv_src_directory EXCEPTIONS OTHERS = 1.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = lv_title i_callback_program = sy-repid i_structure_name = 'IT_PROTOCOLL_TAB' it_fieldcat = gt_fieldcat[] it_sort = gt_sort_criterions[] is_layout = ls_layout TABLES t_outtab = lt_prot[] EXCEPTIONS program_error = 1 OTHERS = 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.