SAP Reports / Programs | Enterprise Controlling | Consolidation(EC-CS) SAP EC

FICASTFL SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT FICASTFL

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_GET_NAME_USING_PATH CALL FUNCTION 'FILE_GET_NAME_USING_PATH' EXPORTING logical_path = id_pname file_name = cd_fname use_presentation_server = id_pres IMPORTING file_name_with_path = cd_fname EXCEPTIONS OTHERS = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = 'ECCS_FILE_VALIDATE' parameter_1 = sy-repid CHANGING physical_filename = cd_fname EXCEPTIONS OTHERS = 1.

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING filename = id_fname query = 'FE' IMPORTING return = ld_file_exist EXCEPTIONS OTHERS = 1.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "begin xrp180204 * EXPORTING * filename = ld_localfile * filetype = gc_file_format * TABLES * data_tab = it_data * EXCEPTIONS * OTHERS = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = ld_localfile write_field_separator = true TABLES data_tab = it_data EXCEPTIONS OTHERS = 1. "end xrp180204

GUI_DELETE_FILE CALL FUNCTION 'GUI_DELETE_FILE' EXPORTING file_name = ld_localfile EXCEPTIONS OTHERS = 1.

WS_UPLOAD * call function 'WS_UPLOAD' * exporting * filename = ls_protocol-fname * filetype = 'DAT' * tables * data_tab = lt_&1 * exceptions * others = 1.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = ld_fname HAS_FIELD_SEPARATOR = true tables data_tab = lt_&1 EXCEPTIONS OTHERS = 1. "end xrp180204

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = 'ECCS_FILE_VALIDATE' parameter_1 = sy-repid CHANGING physical_filename = ls_protocol-fname EXCEPTIONS OTHERS = 1.

FILE_GET_NAME_USING_PATH CALL FUNCTION 'FILE_GET_NAME_USING_PATH' EXPORTING logical_path = id_pname file_name = ld_fname use_presentation_server = id_pres IMPORTING file_name_with_path = ld_fname EXCEPTIONS OTHERS = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'FC03TAB' CHANGING ct_fieldcat = lt_fieldcat.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING it_fieldcat = lt_fieldcat is_layout = ls_layout is_variant = ls_variant TABLES t_outtab = it_protocol.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING diagnosetext1 = text-d01 diagnosetext2 = text-d02 diagnosetext3 = text-d03 textline1 = text-d04 titel = text-d06 cancel_display = ' ' IMPORTING answer = gd_char1.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING diagnosetext1 = text-l01 diagnosetext2 = text-l02 diagnosetext3 = text-l03 textline1 = text-l04 titel = text-l06 cancel_display = ' ' IMPORTING answer = gd_char1.



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