SAP Reports / Programs

FICCPY00 SAP ABAP Report - Copy Totals Records







FICCPY00 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 FICCPY00 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

CXCK - Copy Totals Records


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 FICCPY00. "Basic submit
SUBMIT FICCPY00 AND RETURN. "Return to original report after report execution complete
SUBMIT FICCPY00 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: PA_CONGR = D Consolidation group
Selection Text: SO_BUPTR = D Partner unit
Selection Text: SO_BUNIT = D Consolidation unit
Selection Text: PA_YTD = D Cumulative
Selection Text: PA_TYEAR = To fiscal year
Selection Text: PA_TVERS = To version
Selection Text: PA_TPER = To period
Selection Text: SO_SUBIT = D Subitem
Selection Text: SO_SITYP = D Subitem category
Selection Text: SO_RTCUR = D Transaction currency
Selection Text: SO_ITEM = D FS item
Selection Text: SO_DOCTY = D Document type
Selection Text: SO_CG = D Consolidation group
Selection Text: PA_ITCLG = D Cons chart of accounts
Selection Text: PA_LVL00 = Reported financial data
Selection Text: PA_LVL10 = Standardized financial data
Selection Text: PA_LVL20 = Elimination entries
Selection Text: PA_LVL30 = Consolidation entries
Selection Text: PA_PROT = D Log
Selection Text: PA_DELE = Delete target data first
Selection Text: PA_DIMEN = D Dimension
Selection Text: PA_FPER = From period
Selection Text: PA_FSCAT = D Consolidation frequency
Selection Text: PA_FVERS = From version
Selection Text: PA_FYEAR = From fiscal year
Selection Text: PA_TEST = D Test run
Title: Copy Totals Records
Text Symbol: C05 = Version
Text Symbol: C04 = Ledger
Text Symbol: C03 = To
Text Symbol: C02 = From
Text Symbol: C01 = Copy
Text Symbol: B05 = Technical settings
Text Symbol: RSI = Report assignment..
Text Symbol: E30 = Standardizing/Consolidation entries
Text Symbol: E00 = Reported financial data
Text Symbol: C07 = Period
Text Symbol: C06 = Fiscal year





Text Symbol: B04 = Further settings
Text Symbol: 201 = Continue copying?
Text Symbol: 200 = The target version contains journal entries! Copying can
Text Symbol: 004 = Trans.currency
Text Symbol: 003 = Group currency
Text Symbol: 002 = To period
Text Symbol: 001 = From period
Text Symbol: B03 = Settings
Text Symbol: B02 = Posting level
Text Symbol: B01 = Organizational units
Text Symbol: 301 = Data will be overwritten
Text Symbol: 300 = The target version contains totals records!
Text Symbol: 202 = lead to inconsistencies between the journal entries and totals records.


INCLUDES used within this REPORT FICCPY00

INCLUDE FICCPY0S.
INCLUDE FICLST0B.
INCLUDE FICLST0C.
INCLUDE FICCPYFA.


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_GLOBAL_PARAMETERS_IMPORT CALL FUNCTION 'FC_GLOBAL_PARAMETERS_IMPORT' "wis030697 IMPORTING i_dimen = gd_dimen "wis030697 i_itclg = gd_itclg "wis030697 i_rldnr = gd_rldnr "wis030697 i_rvers = gd_rvers "wis030697 i_ryear = gd_ryear "wis030697 i_perid = gd_perid. "wis030697

FC_COIMETH_HIERARCHY CALL FUNCTION 'FC_COIMETH_HIERARCHY' EXPORTING e_dimen = params-dimen e_congr = params-congr e_rvers = params-frvers e_ryear = params-fryear * e_perid = params-fperid "FRES e_perid = ld_perid "FRES * E_ROLLUP_CU = ' ' "sto110199 "xrp051202 e_rollup_cu = 'X' "sto110199 "xrp051202 * e_mother_check = 'X' * e_method_check = 'X' e_method_types = 'X' IMPORTING it_cg_mhry = it_cg_mhry it_cu_mhry = it_cu_mhry.

FC_TREE_DISPLAY CALL FUNCTION 'FC_TREE_DISPLAY' EXPORTING e_title = sy-title e_tab_struct = 'FC03CPYLST' e_hlp_struct = 'FC06TAB' et_data = it_cpylst[] et_list = it_list[] et_fdisp = it_fdisp[] et_kdisp = it_kdisp[] et_mdata = it_mdata[] * e_call_header = 'FC_PARAM_HEADER_LIST' * e_callback_user_command = 'LIST_CALL_BACK' CHANGING * c_data = it_cpylst " it_rcllist ct_work = it_work[] ct_ffix = it_ffix[] ct_fused = it_fused[].

FC_AUTHORITY_CHECK CALL FUNCTION 'FC_AUTHORITY_CHECK' EXPORTING e_id = 'CACTT' e_dimen = pa_dimen e_congr = pa_congr e_rvers = pa_fvers e_cactt = '02' " Datenübernahme e_actvt = '03'.

FC_AUTHORITY_CHECK CALL FUNCTION 'FC_AUTHORITY_CHECK' EXPORTING e_id = 'CACTT' e_dimen = pa_dimen e_congr = pa_congr e_rvers = pa_tvers e_cactt = '02' " Datenübernahme e_actvt = ld_actvt.

FC_COIMETH_HIERARCHY CALL FUNCTION 'FC_COIMETH_HIERARCHY' EXPORTING e_dimen = params-dimen e_congr = params-congr e_rvers = params-trvers e_ryear = params-tryear * e_perid = params-tperid "FRES e_perid = ld_perid "FRES e_rollup_cu = 'X' * e_mother_check = 'X' * e_method_check = 'X' e_method_types = 'X' IMPORTING it_cg_mhry = it_cg_mhry it_cu_mhry = it_cu_mhry.

MESSAGES_INITIALIZE * call function 'MESSAGES_INITIALIZE' * exceptions * others = 1.

MESSAGE_STORE * call function 'MESSAGE_STORE' * exporting * arbgb = 'G0' * msgty = 'W' * msgv1 = it_congr-congr * msgv2 = params-trvers * msgv3 = params-tryear * msgv4 = params-dimen * txtnr = hlp_txtnr.

MESSAGE_STORE * call function 'MESSAGE_STORE' * exporting * arbgb = 'G0' * msgty = 'W' * msgv1 = it_cu_curr-bunit * msgv2 = params-trvers * msgv3 = params-tryear * msgv4 = params-dimen * txtnr = hlp_txtnr.

MESSAGES_SHOW * call function 'MESSAGES_SHOW' * exporting * show_linno = space * exceptions * inconsistent_range = 1 * no_messages = 2 * others = 3.






FC_USER_GET_CACTI CALL FUNCTION 'FC_USER_GET_CACTI' EXPORTING e_dimen = params-dimen e_rvers = params-frvers e_ryear = params-fryear * e_perid = ld_perid "jbu140211 e_perid = lf_perid "jbu140211 e_repid = ld_repid e_itclg = params-itclg IMPORTING i_cacti = ld_cacti EXCEPTIONS OTHERS = 1.

FC_STATUS_CHECK CALL FUNCTION 'FC_STATUS_CHECK' EXPORTING e_dimen = params-dimen e_itclg = params-itclg e_rvers = params-frvers e_ryear = params-fryear e_topcg = params-congr * e_perid = ld_perid "jbu140211 e_perid = lf_perid "jbu140211 e_cactt = ld_cactt e_cacti = ld_cacti e_rldnr = params-fldnr e_monitor_flag = space IMPORTING it_message = lt_message TABLES t_status_check = lt_cu_check EXCEPTIONS OTHERS = 1.

FC_STATUS_CHECK CALL FUNCTION 'FC_STATUS_CHECK' EXPORTING e_dimen = params-dimen e_itclg = params-itclg e_rvers = params-trvers e_ryear = params-tryear e_topcg = params-congr e_perid = ld_perid e_cactt = ld_cactt e_cacti = ld_cacti e_monitor_flag = space e_rldnr = params-fldnr IMPORTING it_message = lt_message TABLES t_status_check = lt_cu_check EXCEPTIONS OTHERS = 1.

FC_STATUS_TRANSF CALL FUNCTION 'FC_STATUS_TRANSF' EXPORTING e_dimen = params-dimen e_itclg = params-itclg e_rvers = params-trvers * e_bunit = params-congr e_ryear = params-tryear e_perid = ld_perid e_cactt = '02' * e_cacti = a_params-cacti e_monitor_flag = space TABLES t_status = ld_it_status.

FC_STATUS_RESET_CACTI CALL FUNCTION 'FC_STATUS_RESET_CACTI' EXPORTING e_dimen = params-dimen e_itclg = params-itclg e_rvers = params-trvers * e_bunit = it_cu_curr-bunit e_ryear = params-tryear e_perid = ld_perid * E_CACTI = e_cactt = '02' * E_DOCTY = e_monitor_flag = space TABLES t_status = ld_it_status.

FC_TOTALS_SELECT CALL FUNCTION 'FC_TOTALS_SELECT' EXPORTING it_sel = lt_sel it_fields = lt_fields e_kfig_all = 'X' e_perid_cum = ld_perid_cum IMPORTING it_data = lt_ecmca_min.

FC_TOTALS_SELECT CALL FUNCTION 'FC_TOTALS_SELECT' EXPORTING it_sel = lt_sel it_fields = lt_fields e_kfig_all = 'X' e_perid_cum = ld_perid_cum IMPORTING it_data = lt_ecmca_min.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-200 textline2 = text-202 titel = text-201 IMPORTING answer = ld_answer EXCEPTIONS OTHERS = 0.

FC_POST_COMMIT_INIT CALL FUNCTION 'FC_POST_COMMIT_INIT' EXPORTING e_dimen = is_params-dimen.

FC_DB_DOCUMENT_POST CALL FUNCTION 'FC_DB_DOCUMENT_POST' EXPORTING e_update_task = con_x CHANGING ct_ecmca = lt_ecmca[].

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' "new since xrp030303 EXPORTING name = 'FC00FIELD' TABLES dd03p_tab = lt_dd03p.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = id_textline1 textline2 = id_textline2 titel = id_title IMPORTING answer = ld_answer EXCEPTIONS OTHERS = 0.



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