FERCR000 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 FERCR000 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FER0 - Standard cost adjustment
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: R_PLAN = Plan
Selection Text: R_ACTUAL = Actual
Selection Text: P_VERSN = Version
Selection Text: P_PERIO = D Period
Selection Text: P_KOKRS = D Controlling area
Selection Text: P_GJAHR = D Fiscal year
Selection Text: P_BUDAT = D Posting date
Selection Text: F_TEST = D Test run
Selection Text: F_LOG = Create log
Title: Standard Cost Adjustment
Text Symbol: Q00 = Process with
Text Symbol: P70 = Create log
Text Symbol: P60 = Test run
Text Symbol: P50 = Version
Text Symbol: P40 = Plan
Text Symbol: P30 = Actual
Text Symbol: P20 = Posting date
Text Symbol: P11 = /
Text Symbol: P10 = Period
Text Symbol: P00 = Parameters
Text Symbol: NYA =
Text Symbol: H00 = Standard cost adjustments
002 settl.per. ccent order accou rec. period
001 BALANCE no valid Missing in T9q12 no valid
INCLUDE FERCD000.
INCLUDE FERCD100.
INCLUDE FERCF000.
No SAP DATABASE tables are accessed within this REPORT code!
FERC_PARAMETERS_GET CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING run_id = ferc-run_id IMPORTING co_version = ferc-co_version std_cost_adjustment = ferc-stdcostadj ignore_sce_allowed = ignore_sce_allowed doc_type_std_cost = ferc-blart cost_center_types = ferc-kosar.
CONVERT_KOKRS_TO_BUKRS CALL FUNCTION 'CONVERT_KOKRS_TO_BUKRS' EXPORTING kokrs = p_kokrs TABLES tbukrs = ferc_cc.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING arbgb = ferc0_arbgb msgty = 'A' txtnr = '028' zeile = ferc-zeile.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING arbgb = ferc0_arbgb msgty = 'A' txtnr = '029' zeile = ferc-zeile.
FERC_SCA_CTR_ASSIGNMENT_CHECK CALL FUNCTION 'FERC_SCA_CTR_ASSIGNMENT_CHECK' EXPORTING run_id = ferc-run_id cost_center = ferc_ctr-kostl EXCEPTIONS no_specific_assignment = 1.
FERC_MASTER_DATA_READ CALL FUNCTION 'FERC_MASTER_DATA_READ' EXPORTING run_id = ferc-run_id date = p_budat backup = space IMPORTING * COMPANY_CODE = * BUSINESS_AREA = indicator = ferc_ind * RELEVANT = * EXCEPTIONAL = CHANGING object_number = csks-objnr EXCEPTIONS OTHERS = 0.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc-zeile msgv1 = ferc_ctr-kostl msgv2 = ferc_ind txtnr = '104'.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc-zeile arbgb = ferc0_arbgb msgty = 'I' txtnr = '040' msgv1 = ferc-kosar.
FERC_PARAMETERS_GET CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING run_id = ferc-run_id company_code = ferc_cc-bukrs IMPORTING std_cost_adj_account = ferc-kstar std_cost_adj_order = ferc-aufnr.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc-zeile txtnr = '030' msgv1 = ferc_cc-bukrs.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc-zeile txtnr = '039' msgv1 = ferc_cc-bukrs.
FI_PERIOD_CHECK CALL FUNCTION 'FI_PERIOD_CHECK' EXPORTING i_bukrs = ferc_cc-bukrs i_gjahr = ferc-gjahr i_koart = koart i_konto = ferc-kstar i_monat = ferc-perio EXCEPTIONS OTHERS = 1.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc-zeile arbgb = sy-msgid msgty = sy-msgty txtnr = sy-msgno msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 IMPORTING max_severity = ferc-severity.
RK_KOSTL_CHECK CALL FUNCTION 'RK_KOSTL_CHECK' EXPORTING datum = ferc-budat i_mgefl = space "no quantities kokrs = tka01-kokrs kostl = ferc_ctr-kostl v_bukrs = ferc_ctr-bukrs v_katyp = '01' "Primary costs EXCEPTIONS OTHERS = 0.
FERC_SCA_CTR_ASSIGNMENT_GET CALL FUNCTION 'FERC_SCA_CTR_ASSIGNMENT_GET' EXPORTING run_id = ferc-run_id cost_center = ferc_ctr-kostl company_code = ferc_ctr-bukrs IMPORTING cost_element = ferc-kstar order = ferc-aufnr EXCEPTIONS no_assignment_found = 1.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc-zeile arbgb = ferc0_arbgb msgty = 'A' txtnr = '031' msgv1 = ferc_ctr-kostl msgv2 = ferc_ctr-bukrs.
K_ORDER_CHECK CALL FUNCTION 'K_ORDER_CHECK' EXPORTING aufnr = ferc-aufnr test_vrgng = 'RFBU'.
FERC_ACCOUNT_CHECK CALL FUNCTION 'FERC_ACCOUNT_CHECK' EXPORTING account = ferc-kstar company_code = ferc_ctr-bukrs chart_of_accounts = tka01-ktopl.
CALL FUNCTION 'MESSAGES_COUNT' IMPORTING max_severity = ferc-severity.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc-zeile arbgb = ferc0_arbgb msgty = 'S' txtnr = '127'.
FERC_MASTER_DATA_READ CALL FUNCTION 'FERC_MASTER_DATA_READ' EXPORTING run_id = ferc-run_id date = ferc-budat backup = space test_run = ferc-test IMPORTING company_code = ferc-bukrs CHANGING object_number = ferc_order EXCEPTIONS OTHERS = 1.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING arbgb = 'KO' msgty = 'E' msgv1 = cob_aufnr msgv2 = cob_bukrs msgv3 = ferc-bukrs msgv4 = ferc-kokrs txtnr = '004'.
FERC_COST_ELEMENT_IGNORE CALL FUNCTION 'FERC_COST_ELEMENT_IGNORE' EXPORTING run_id = ferc-run_id cost_element = int_co-kstar EXCEPTIONS to_be_ignored = 1.
FERC_CO_TRANSACTION_READ CALL FUNCTION 'FERC_CO_TRANSACTION_READ' EXPORTING business_transaction = int_co-vrgng dr_cr_indicator = 'H' IMPORTING return_code = ferc-tabix EXCEPTIONS transaction_to_be_ignored = 1 transaction_not_found = 2 parameters_not_initialized = 3 OTHERS = 4.
FERC_DIRECT_ACCOUNTS_GET CALL FUNCTION 'FERC_DIRECT_ACCOUNTS_GET' EXPORTING run_id = ferc-run_id company_code = ferc_ctr-bukrs account = int_co-kstar check_existence_only = 'X' EXCEPTIONS OTHERS = 4.
FERC_SCA_CTR_ASSIGNMENT_GET CALL FUNCTION 'FERC_SCA_CTR_ASSIGNMENT_GET' EXPORTING run_id = ferc-run_id cost_center = ferc_ctr-kostl company_code = ferc_ctr-bukrs IMPORTING cost_element = ferc_doc-kstar order = ferc_doc-aufnr.
FERC_SCA_CTR_ASSIGNMENT_BACKUP CALL FUNCTION 'FERC_SCA_CTR_ASSIGNMENT_BACKUP' EXPORTING run_id = ferc-run_id.
FERC_SCA_CTR_ASSIGNMENT_GET CALL FUNCTION 'FERC_SCA_CTR_ASSIGNMENT_GET' EXPORTING run_id = ferc-run_id cost_center = ferc_ctr-kostl company_code = ferc_ctr-bukrs IMPORTING cost_element = gt_outtab-kstar order = gt_outtab-aufnr EXCEPTIONS no_assignment_found = 0.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * i_bypassing_buffer = 'X' i_structure_name = 'FERC_SCA' CHANGING ct_fieldcat = rt_fieldcat.
K_COSTCENTER_SHOW CALL FUNCTION 'K_COSTCENTER_SHOW' EXPORTING kokrs = ferc-kokrs kostl = gt_outtab-kostl datab = ferc-budat datbi = ferc-budat.
K_COSTELEMENT_SHOW CALL FUNCTION 'K_COSTELEMENT_SHOW' EXPORTING kokrs = ferc-kokrs kstar = gt_outtab-kstar datab = ferc-budat datbi = ferc-budat.
K_ORDER_DISPLAY CALL FUNCTION 'K_ORDER_DISPLAY' EXPORTING i_aufnr = gt_outtab-aufnr i_datum = ferc-budat.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.
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 FERCR000 or its description.