FICPCD00 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 FICPCD00 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CXNA - Download PCA Hierarchies
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.
Selection Text: SO_RCOMP = D Company
Selection Text: SO_PRCTR = D Profit center
Selection Text: PA_PRCGR = Top profit center group
Selection Text: PA_KOKRS = D Controlling area
Selection Text: PA_FILE2 = Hierarchy info
Selection Text: PA_FILE1 = Org unit info
Selection Text: PA_DATBI = D Valid to
Selection Text: PA_DATAB = D Valid from
Title: Download: Combinations of PrCtr/Comp. and Profit Center Hierarchies
Text Symbol: T01 = Choose file on presentation server
Text Symbol: B11 = File names
Text Symbol: B10 = Organizational units
INCLUDE FICPCD0S.
No SAP DATABASE tables are accessed within this REPORT code!
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING def_filename = g_initfile1 * DEF_PATH = ' ' mask = ',*.*,*.*.'
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING def_filename = g_initfile2 * DEF_PATH = ' ' mask = ',*.*,*.*.'
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_profitcenter_setclass shortname = pa_prcgr kokrs = pa_kokrs IMPORTING setid = gd_set_34.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING setname = gd_set_34 table = 'GLPCT' EXCEPTIONS set_not_found = 1.
FC_PRCTR_COCD_FROM_CEPC CALL FUNCTION 'FC_PRCTR_COCD_FROM_CEPC' EXPORTING e_kokrs = pa_kokrs e_date = pa_datbi "#EC DOM_EQUAL e_from_date = pa_datab "#EC DOM_EQUAL TABLES it_prctr_cocd = it_prctr_comp.
FC_AUTHCHECK_INTEGRATION CALL FUNCTION 'FC_AUTHCHECK_INTEGRATION' EXPORTING e_id = 'PRCTR' e_kokrs = pa_kokrs "mix200710 e_prctr = wa_prctr.
WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * filename = pa_file1 * filetype = 'ASC' * TABLES * data_tab = it_prctr_comp * EXCEPTIONS * file_open_error = 1 * file_write_error = 2 * invalid_filesize = 3 * invalid_type = 4 * no_batch = 5 * unknown_error = 6 * invalid_table_width = 7 * gui_refuse_filetransfer = 8 * customer_error = 9.
FC_PRCTR_HIERARCHY CALL FUNCTION 'FC_PRCTR_HIERARCHY' EXPORTING e_kokrs = pa_kokrs e_topnode = gd_set_34 "using CHAR34 SETID e_datbi = pa_datbi "wes030605 e_datab = pa_datab "wes030605 TABLES it_pca_hi = it_pca_hi EXCEPTIONS incorrect_coarea = 1 set_not_found = 2.
WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * filename = pa_file2 * filetype = 'ASC' * TABLES * data_tab = it_pca_hi * EXCEPTIONS * file_open_error = 1 * file_write_error = 2 * invalid_filesize = 3 * invalid_type = 4 * no_batch = 5 * unknown_error = 6 * invalid_table_width = 7 * gui_refuse_filetransfer = 8 * customer_error = 9.
FC_AUTHCHECK_INTEGRATION CALL FUNCTION 'FC_AUTHCHECK_INTEGRATION' EXPORTING e_id = 'KOKRS' e_kokrs = pa_kokrs.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
FICPCD00 - Download: Combinations of PrCtr/Comp. and Profit Center Hierarchies FICPCD00 - Download: Combinations of PrCtr/Comp. and Profit Center Hierarchies FICPCAD2 - SAP Cons.: Download PrCtr Master Data and PrCtr Hierarchies (4.0) FICPCAD2 - SAP Cons.: Download PrCtr Master Data and PrCtr Hierarchies (4.0) FICPCAD1 - Download Profit Center Master Data and Profit Center Hierarchies FICPCAD1 - Download Profit Center Master Data and Profit Center Hierarchies