I_CREATE_FILE 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 I_CREATE_FILE into the relevant SAP transactions such as SE38 or SE80
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: Include I_CREATE_FILE
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DMEE_START CALL FUNCTION 'DMEE_START' EXPORTING i_tree_type = p_type i_tree_id = tree_id item = itab_dmee param = space uparam = space TABLES file_output = f_output.
DMEE_PUT_ITEM CALL FUNCTION 'DMEE_PUT_ITEM' EXPORTING item = itab_dmee_head param = space uparam = space TABLES file_output = f_output.
DMEE_PUT_ITEM CALL FUNCTION 'DMEE_PUT_ITEM' EXPORTING item = itab_dmee param = space uparam = space TABLES file_output = f_output.
DMEE_END CALL FUNCTION 'DMEE_END' EXPORTING uparam = space TABLES file_output = f_output.
FI_PAYM_FILE_WRITE CALL FUNCTION 'FI_PAYM_FILE_WRITE' TABLES t_lines = f_output.
FI_FILE_CLOSE CALL FUNCTION 'FI_FILE_CLOSE'.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-cprog CHANGING physical_filename = itab_output_line-filename EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = fl_name filetype = 'ASC' trunc_trailing_blanks = space write_lf = space codepage = '1100' trunc_trailing_blanks_eol = space TABLES data_tab = dtatab EXCEPTIONS file_write_error = 2.
FI_PAYM_FILE_WRITE CALL FUNCTION 'FI_PAYM_FILE_WRITE' TABLES t_lines = f_output.
FI_FILE_CLOSE CALL FUNCTION 'FI_FILE_CLOSE'.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-cprog CHANGING physical_filename = itab_output_line-filename EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = fl_name filetype = 'ASC' trunc_trailing_blanks = space write_lf = space codepage = '1100' trunc_trailing_blanks_eol = space TABLES data_tab = dtatab EXCEPTIONS file_write_error = 2.
FI_PAYM_FILE_WRITE * CALL FUNCTION 'FI_PAYM_FILE_WRITE' * TABLES * t_lines = f_output.
FI_FILE_CLOSE * CALL FUNCTION 'FI_FILE_CLOSE'.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-cprog CHANGING physical_filename = file_name EXCEPTIONS OTHERS = 1.
FI_PAYM_FILE_OPEN CALL FUNCTION 'FI_PAYM_FILE_OPEN' EXPORTING i_temse_name = space i_file_name = file_name.
READ_ADD_COMPANY_CODE_INFO CALL FUNCTION 'READ_ADD_COMPANY_CODE_INFO' EXPORTING ic_bukrs = s_bukrs-low ic_party = 'SAPF08' IMPORTING es_t001z = is_t001z * TABLES * ET_T001Z = EXCEPTIONS not_found = 1 OTHERS = 2.
DMEE_START CALL FUNCTION 'DMEE_START' EXPORTING i_tree_type = p_type i_tree_id = tree_id item = itab_dmee param = space uparam = space TABLES file_output = f_output.
* CALL FUNCTION 'DMEE_PUT_ITEM' * EXPORTING * item = itab_dmee_head * param = space * uparam = space * TABLES * file_output = f_output.
DMEE_PUT_ITEM CALL FUNCTION 'DMEE_PUT_ITEM' EXPORTING item = itab_dmee param = space uparam = space TABLES file_output = f_output.
DMEE_END CALL FUNCTION 'DMEE_END' EXPORTING uparam = space TABLES file_output = f_output.
FI_PAYM_FILE_WRITE CALL FUNCTION 'FI_PAYM_FILE_WRITE' TABLES t_lines = f_output.
FI_FILE_CLOSE CALL FUNCTION 'FI_FILE_CLOSE'.
FI_PAYM_FILE_WRITE CALL FUNCTION 'FI_PAYM_FILE_WRITE' TABLES t_lines = f_output.
FI_FILE_CLOSE CALL FUNCTION 'FI_FILE_CLOSE'.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-cprog CHANGING physical_filename = itab_output_line-filename EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = fl_name filetype = 'ASC' trunc_trailing_blanks = space write_lf = space codepage = '1100' trunc_trailing_blanks_eol = space TABLES data_tab = dtatab EXCEPTIONS file_write_error = 2.
FI_PAYM_FILE_WRITE * CALL FUNCTION 'FI_PAYM_FILE_WRITE' * TABLES * t_lines = f_output.
FI_FILE_CLOSE * CALL FUNCTION 'FI_FILE_CLOSE'.
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 I_CREATE_FILE or its description.
I_CREATE_FILE - Include I_CREATE_FILE I_CNV_PROTOCOL_M0001 - ICNVPROTOCOLM0001 I_CNV_PROTOCOL_10500 - DUMMY for logging function I_CNV_PROTOCOL_10020 - Include for licensing I_CNV_PROTOCOL_00100 - Generated include for package 00100 I_CNV_MBT_MIFV_MAINTENANCE - MIFV Maintenance call from generated views