FERCR300_OLD 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 FERCR300_OLD into the relevant SAP transactions such as SE38 or SE80
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 = D Version
Selection Text: P_PERIO = D Period
Selection Text: P_GJAHR = D Fiscal year
Selection Text: F_XKRES = D Line items
Selection Text: F_RKBUK = Company code validation
Selection Text: F_ORDER = CO partner update for orders
Selection Text: F_DIR = Direct account assignments
Selection Text: F_ALL = Include correct assignments
Selection Text: F_ACT = Variance allocation
Title: Check the Regulatory Configuration
Text Symbol: LIA = |Account |Name |Line item displ.|
Text Symbol: LID = Line item display for traced accounts
Text Symbol: O00 = CO partner update for orders
Text Symbol: O01 = Order types
Text Symbol: O02 = CO partner update indicator
Text Symbol: O03 = |Type|Order type name |Ctg|CO Partner |
Text Symbol: OP1 = Semi-active
Text Symbol: OP2 = Active
Text Symbol: OP3 = Not active
Text Symbol: P10 = Period
Text Symbol: P11 = Fiscal year
Text Symbol: P30 = Actual
Text Symbol: P40 = Plan
Text Symbol: P50 = Version
Text Symbol: PER = Parameters
Text Symbol: PLN = not applicable for plan data
Text Symbol: LI2 = without line item display
Text Symbol: 000 = not checked
Text Symbol: 001 = correct
Text Symbol: 002 = inactive
Text Symbol: 003 = incorrect
Text Symbol: 004 = active
Text Symbol: A00 = Variance allocation
Text Symbol: A04 = No activity type assigned
Text Symbol: A05 = No cost center assigned
Text Symbol: ADD = Additional functions
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FERC_DEFAULT_GET CALL FUNCTION 'FERC_DEFAULT_GET' IMPORTING controlling_area = tka01-kokrs period = p_perio year = p_gjahr EXCEPTIONS OTHERS = 4.
FERC_PARAMETERS_INIT CALL FUNCTION 'FERC_PARAMETERS_INIT' EXPORTING controlling_area = tka01-kokrs year = p_gjahr period = p_perio record_type = '0' IMPORTING run_id = run_id read_from_archive = sy-datar archive_session = admi_run TABLES ferc_relevant_company_codes = ferc_cc.
FERC_PARAMETERS_INIT CALL FUNCTION 'FERC_PARAMETERS_INIT' EXPORTING controlling_area = tka01-kokrs year = p_gjahr period = p_perio record_type = '1' version = p_versn IMPORTING run_id = run_id read_from_archive = sy-datar archive_session = admi_run TABLES ferc_relevant_company_codes = ferc_cc.
FERC_PARAMETERS_GET CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING run_id = run_id.
FERC_PARAMETERS_INIT CALL FUNCTION 'FERC_PARAMETERS_INIT' EXPORTING controlling_area = tka01-kokrs year = p_gjahr period = p_perio record_type = '0' version = '000' TABLES ferc_relevant_company_codes = ferc_cc.
K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = tka01-kokrs gjahr = p_gjahr IMPORTING e_tka00 = tka00 e_tka01 = tka01.
G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING variant = tka01-lmona period = p_perio year = p_gjahr IMPORTING to_date = last_day_of_period EXCEPTIONS OTHERS = 1.
FERC_PARAMETERS_GET CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING run_id = run_id IMPORTING read_actual_data = sy-datar.
CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING run_id = run_id IMPORTING account_group = ktoks cc_level_assignment = cc_specific.
FERC_DIRECT_ACCOUNTS_GET CALL FUNCTION 'FERC_DIRECT_ACCOUNTS_GET' EXPORTING run_id = run_id company_code = bukrs account = i_ska1-saknr check_existence_only = 'X' EXCEPTIONS no_ferc_assignment = 1.
FERC_DIRECT_ACCOUNTS_GET CALL FUNCTION 'FERC_DIRECT_ACCOUNTS_GET' EXPORTING run_id = run_id company_code = bukrs account = i_ska1-saknr IMPORTING factor_total = factor_total TABLES ferc_accounts = ferc_accounts EXCEPTIONS no_ferc_assignment = 1.
FERC_PARAMETERS_GET CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING run_id = run_id company_code = ferc_cc-bukrs IMPORTING variance_allocation = var_act var_alloc_cost_center = objnr-kostl var_alloc_activity = objnr-lstar.
OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = cost-objnr text_wanted = 'X' IMPORTING e_text = sy-msgli.
FERC_PARAMETERS_GET CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING run_id = run_id IMPORTING cc_level_assignment = cc_specific.
FERC_DIRECT_ACCOUNTS_GET CALL FUNCTION 'FERC_DIRECT_ACCOUNTS_GET' EXPORTING run_id = run_id company_code = ferc_cc-bukrs account = i_cskb-kstar check_existence_only = 'X' EXCEPTIONS no_ferc_assignment = 1.
CONVERT_KOKRS_TO_BUKRS CALL FUNCTION 'CONVERT_KOKRS_TO_BUKRS' EXPORTING kokrs = tka01-kokrs TABLES tbukrs = cc_all.
FERC_DIRECT_ACCOUNTS_GET CALL FUNCTION 'FERC_DIRECT_ACCOUNTS_GET' EXPORTING run_id = run_id company_code = i_skb1-bukrs account = i_skb1-saknr check_existence_only = 'X' EXCEPTIONS no_ferc_assignment = 1.
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 FERCR300_OLD or its description.