SAP Reports / Programs

CFX_CODE_EXPORT SAP ABAP Report - Save cFolders source code to local hard disk







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


Text pool values


Title: Save cFolders source code to local hard disk


INCLUDES used within this REPORT CFX_CODE_EXPORT

FORM DUMP_INCLUDE USING I_NAME TYPE PROGRAMM.
READ REPORT INCLUDE-INCNAME


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:

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = l_filename TABLES data_tab = lt_text 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.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = l_filename TABLES data_tab = lt_src_pos EXCEPTIONS OTHERS = 1.

SEO_CLIF_GET CALL FUNCTION 'SEO_CLIF_GET' EXPORTING cifkey = cifkey * VERSION = SEOC_VERSION_INACTIVE IMPORTING clstype = clstype class = class interface = interface EXCEPTIONS not_existing = 1 deleted = 2 OTHERS = 3 .

SEO_CLASS_GET_METHOD_INCLUDES CALL FUNCTION 'SEO_CLASS_GET_METHOD_INCLUDES' EXPORTING clskey = cifkey * VERSION = SEOC_VERSION_ACTIVE IMPORTING includes = includes EXCEPTIONS _internal_class_not_existing = 1 OTHERS = 2 .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = l_filename TABLES data_tab = lt_text EXCEPTIONS OTHERS = 1.



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