SAP Reports / Programs

FICIRD00 SAP ABAP Report - Download Rollup-relevant Customizing Data to Local Text File







FICIRD00 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 FICIRD00 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CXN7 - Download Rollup-related Data


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


Text pool values


Selection Text: SO_CONTP = Data for consolidation type
Selection Text: PA_PST46 = Release 4.6 or greater
Selection Text: PA_PRE46 = Release 4.5 or less
Selection Text: PA_FNAME = D Physical file name
Title: Download Rollup-relevant Customizing Data to Local Text File
Text Symbol: B02 = Target system
Text Symbol: H01 = Table
Text Symbol: H02 = Field
Text Symbol: H03 = Data type
Text Symbol: M01 = bytes transferred
Text Symbol: M02 = Error while opening the file (please check file name)
Text Symbol: M03 = Error while writing the file
Text Symbol: M04 = File size is invalid
Text Symbol: M05 = Data structure is too large
Text Symbol: M06 = Invalid file type
Text Symbol: M07 = Cannot download data in batch mode
Text Symbol: M08 = Unknown error while downloading data
Text Symbol: M09 = Unspecified error while downloading data
Text Symbol: M10 = Table fields of types other than C or N exist
Text Symbol: M11 = No FS item data found (please check)
Text Symbol: M12 = The specified cons types have no active data streams
Text Symbol: M13 = There are no FI chart/cons chart of account allocations
Text Symbol: T01 = File selection


INCLUDES used within this REPORT FICIRD00

INCLUDE: FICINC00,
FICIRU0T, "BAL/ALRK194337
FICIRD0T,
FICIRD0S.


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:

FC_FIELD_PROPERTIES CALL FUNCTION 'FC_FIELD_PROPERTIES' "bal/alrk194337 IMPORTING it_fprop = gt_fprop. "bal/alrk194337

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING * DEF_FILENAME = ' ' * DEF_PATH = ' ' mask = ',*.*,*.*.'

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' "wms235046a EXPORTING "wms235046a name = it_tabinfo-tabname "wms235046a TABLES "wms235046a dd03p_tab = it_dd03p_1[]. "wms235046a

FC_ENCODING_INFO_READ CALL FUNCTION 'FC_ENCODING_INFO_READ' TABLES i_t_ra_contp = ld_ra_contp i_t_ra_csorgun = ld_ra_csorgun e_t_tfin000 = it_tfin000_1[] "wms45801 e_t_tfin001 = it_tfin001[] EXCEPTIONS no_data_stream = 1 no_act_data_stream = 2 no_rules = 3 no_act_rules = 4 OTHERS = 5.

FC_ITCLG_MAPINFO_READ CALL FUNCTION 'FC_ITCLG_MAPINFO_READ' "wms62140a TABLES "wms62140a i_t_ra_itclg = ld_ra_itclg "wms62140a e_t_tfin200 = it_tfin200[] "wms62140a e_t_tfin201 = it_tfin201[] "wms62140a EXCEPTIONS "wms62140a no_ktopl_itclg_found = 1 "wms62140a no_mapping_intervals_found = 2 "wms62140a kstar_mapping_info_missing = 3 "wms62140a OTHERS = 4. "wms62140a

FC_ITGRP_PROPERTIES CALL FUNCTION 'FC_ITGRP_PROPERTIES' CHANGING ct_itgrp_prop = lt_itgrp_prop.

FC_SET_INFO_GET call function 'FC_SET_INFO_GET' exporting e_setid = -setid_max e_field = -fieldname e_table = 'FIMC' importing i_setname = l_setname exceptions set_not_found = 1 OTHERS = 2.

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = ld_filename * filetype = ld_filetype * importing * filelength = ld_n_fsize * tables * data_tab = it_data * exceptions * file_open_error = 1 * file_write_error = 2 * invalid_filesize = 3 * invalid_table_width = 4 * invalid_type = 5 * no_batch = 6 * unknown_error = 7 * others = 8.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = ld_filename1 filetype = ld_filetype1 IMPORTING filelength = ld_n_fsize1 TABLES data_tab = it_data 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.

FC_AUTHORITY_CHECK CALL FUNCTION 'FC_AUTHORITY_CHECK' EXPORTING e_id = 'ITCLG' e_actvt = '03' e_itclg = '*'. " STO092321

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = id_tabname TABLES dd03p_tab = lt_fields.

FC_TREE_DISPLAY CALL FUNCTION 'FC_TREE_DISPLAY' EXPORTING e_title = sy-title et_mdata = it_mdata[] CHANGING ct_ffix = lt_ffix[].



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