FERCR220 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 FERCR220 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FERD - Drill down
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: F_NAT = Natural accounts
Selection Text: F_REG = Regulatory accounts
Selection Text: P_BEXP = Show business areas
Selection Text: P_COMP = Show comparison period(s)
Selection Text: P_GLT0_C = D Read the account balances from
Selection Text: P_GLT0_R = D Read the account balances from
Selection Text: P_PER_C = D Period
Selection Text: P_PER_CT = D Period
Selection Text: P_PER_R = D Period
Selection Text: P_PER_RT = D Period
Selection Text: P_VER_C = D Version
Selection Text: P_VER_R = D Version
Selection Text: P_YEAR_C = D Fiscal year
Selection Text: P_YEAR_R = D Fiscal year
Selection Text: R_ACT_C = Actual
Selection Text: R_ACT_R = Actual
Selection Text: R_PLN_C = Plan
Selection Text: R_PLN_R = Plan
Selection Text: S_RBUKRS = D Company code
Selection Text: S_RGSBER = D Business area
Selection Text: S_SAKNR = D G/L account no.
Title: Drill down from regulatory or natural accounts
Text Symbol: H15 = Var. %
Text Symbol: 005 = Drill down from
Text Symbol: 010 = Period
Text Symbol: 011 = to
Text Symbol: 012 = Actual
Text Symbol: 013 = Plan
Text Symbol: 014 = Version
Text Symbol: 015 = Read the account balances from the General Ledger
Text Symbol: 030 = Display business areas
Text Symbol: 050 = Regulatory accounts
Text Symbol: 051 = Natural accounts
Text Symbol: 098 = Drill down
Text Symbol: 099 = General ledger
Text Symbol: B01 = Accounts
Text Symbol: B02 = Additional parameters
Text Symbol: D01 = Drill down
INCLUDE FERCD100.
INCLUDE FERCD110.
No SAP DATABASE tables are accessed within this REPORT code!
FERC_DEFAULT_GET CALL FUNCTION 'FERC_DEFAULT_GET' IMPORTING controlling_area = status-kokrs period = p_per_r year = p_year_r EXCEPTIONS OTHERS = 0.
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' IMPORTING e_kokrs = status-kokrs.
K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = status-kokrs IMPORTING e_tka01 = tka01.
G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING variant = tka01-lmona IMPORTING anzbp = t009-anzbp anzsp = t009-anzsp EXCEPTIONS OTHERS = 0.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = 'Drill down'(d01) textline1 = 'Some periods are already archived. '(d02)
FERC_PARAMETERS_INIT CALL FUNCTION 'FERC_PARAMETERS_INIT' EXPORTING controlling_area = status-kokrs year = int_r0-gjahr period = int_r0-perio record_type = int_r0-rrcty version = int_r0-rvers ferc_step = '55' IMPORTING run_id = int_r0-run_id read_from_archive = int_r0-archive TABLES ferc_relevant_company_codes = tmp_cc EXCEPTIONS OTHERS = 1.
FERC_PARAMETERS_GET CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING run_id = int_r0-run_id company_code = tmp_cc-bukrs IMPORTING account_group = account_group balance_sheet_offset = status_offset-account profit_and_loss_offset = tmp_acc2 in_offset = tmp_acc3 out_offset = tmp_acc4.
CONVERT_KOKRS_TO_BUKRS CALL FUNCTION 'CONVERT_KOKRS_TO_BUKRS' EXPORTING kokrs = tka01-kokrs TABLES tbukrs = ferc_cc.
FERC_ACCOUNT_VALUES_GET CALL FUNCTION 'FERC_ACCOUNT_VALUES_GET' EXPORTING status = status rep_name = rep_name TABLES saknr = s_saknr bukrs = ferc_cc gsber = s_rgsber account_lst = account_lst.
FERC_NAT_FOR_FERC_ACCOUNT_GET CALL FUNCTION 'FERC_NAT_FOR_FERC_ACCOUNT_GET' EXPORTING status = status rep_name = rep_name TABLES saknr = s_saknr bukrs = s_rbukrs gsber = s_rgsber account_lst = account_lst.
FERC_DRILL_DOWN_REPORT_GET CALL FUNCTION 'FERC_DRILL_DOWN_REPORT_GET' EXPORTING report_id = rep_name IMPORTING report_name = dd_rep.
FERC_DRILL_DOWN_REPORT_GET CALL FUNCTION 'FERC_DRILL_DOWN_REPORT_GET' EXPORTING report_id = rep_name IMPORTING report_name = dd_rep.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'FERC_SDD' CHANGING ct_fieldcat = rt_fieldcat.
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 FERCR220 or its description.