FERCR050 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 FERCR050 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FER5 - Prepare 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: 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 = D Create log
Title: Prepare Drill Down
Text Symbol: VIR =
Text Symbol: UNK =
Text Symbol: Q00 = Process with
Text Symbol: PDT = Prepare drill down for traced accounts
Text Symbol: PDR = Prepare drill down for regulatory accounts
Text Symbol: PDD = Prepare drill down for direct accounts
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: H00 = Drill down table statistics
Text Symbol: G03 = Determining regulatory accounts
Text Symbol: G02 = Reading account line items
Text Symbol: G01 = Determining direct accounts
Text Symbol: DDT = Delete drill down for traced accounts
Text Symbol: DDR = Delete drill down for regulatory accounts
Text Symbol: DDD = Delete drill down for direct accounts
INCLUDE FERCD000.
INCLUDE FERCD100.
INCLUDE FERCF000.
No SAP DATABASE tables are accessed within this REPORT code!
FERC_MESSAGE_TYPE_GET CALL FUNCTION 'FERC_MESSAGE_TYPE_GET' EXPORTING message_number = ferc-txtnr IMPORTING message_type = ferc-msgty.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING txtnr = '087' IMPORTING max_severity = ferc-severity.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = ferc0_object IMPORTING commit_count_for_delete_prg = del_block EXCEPTIONS object_not_found = 0.
FERC_PROGRESS_INDICATOR CALL FUNCTION 'FERC_PROGRESS_INDICATOR' EXPORTING text = ferc-title.
FERC_PROGRESS_INDICATOR CALL FUNCTION 'FERC_PROGRESS_INDICATOR' EXPORTING text = ferc-title.
FERC_PROGRESS_INDICATOR CALL FUNCTION 'FERC_PROGRESS_INDICATOR' EXPORTING text = ferc-title.
FERC_PARAMETERS_GET CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING run_id = ferc-run_id IMPORTING co_version = ferc-co_version fi_version = ferc-fi_version account_group = ferc-ktoks dd_paths_criteria = dd_paths_criteria.
FERC_PROGRESS_INDICATOR CALL FUNCTION 'FERC_PROGRESS_INDICATOR' EXPORTING text = ferc-title.
FERC_PROGRESS_INDICATOR CALL FUNCTION 'FERC_PROGRESS_INDICATOR' EXPORTING text = ferc-title.
FERC_PROGRESS_INDICATOR CALL FUNCTION 'FERC_PROGRESS_INDICATOR' EXPORTING text = 'Determining direct accounts'(g01).
FERC_PROGRESS_INDICATOR CALL FUNCTION 'FERC_PROGRESS_INDICATOR' EXPORTING text = 'Reading account line items'(g02).
FERC_PROGRESS_INDICATOR CALL FUNCTION 'FERC_PROGRESS_INDICATOR' EXPORTING text = ferc-title.
FERC_PROGRESS_INDICATOR CALL FUNCTION 'FERC_PROGRESS_INDICATOR' EXPORTING text = 'Determining regulatory accounts'(g03).
FERC_PROGRESS_INDICATOR CALL FUNCTION 'FERC_PROGRESS_INDICATOR' EXPORTING text = 'Reading account line items'(g02).
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING arbgb = ferc0_arbgb msgty = 'S' txtnr = '102' zeile = ferc-zeile.
FERC_MASTER_DATA_READ CALL FUNCTION 'FERC_MASTER_DATA_READ' EXPORTING run_id = ferc-run_id IMPORTING profit_center = ferc_d2-s_prctr CHANGING object_number = ferc_d2-s_objnr EXCEPTIONS OTHERS = 0.
FERC_COST_ELEMENT_CHECK CALL FUNCTION 'FERC_COST_ELEMENT_CHECK' EXPORTING controlling_area = ferc-kokrs cost_element = f3-kstar IMPORTING cost_element_type = i_katyp EXCEPTIONS no_cost_element = 1.
FERC_MASTER_DATA_READ CALL FUNCTION 'FERC_MASTER_DATA_READ' EXPORTING run_id = ferc-run_id IMPORTING profit_center = ferc_d2-s_prctr CHANGING object_number = ferc_d2-s_objnr EXCEPTIONS OTHERS = 0.
CALL FUNCTION 'FERC_MASTER_DATA_READ' EXPORTING run_id = ferc-run_id IMPORTING company_code = ferc_d2-s_bukrs business_area = ferc_d2-s_gsber CHANGING object_number = f3-s_objnr EXCEPTIONS OTHERS = 0.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * i_bypassing_buffer = 'X' i_structure_name = 'FERC_SFT' CHANGING ct_fieldcat = rt_fieldcat.
RS_DD_FIEL_SHOW CALL FUNCTION 'RS_DD_FIEL_SHOW' EXPORTING eutype = 'T' objname = gt_outtab-tabname.
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 FERCR050 or its description.