FERCRSUB 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 FERCRSUB 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.
Title: General Form Subroutine Pool
Text Symbol: S70 = Delete archived data
Text Symbol: S60 = Archiving
Text Symbol: S50 = Drill down preparation
Text Symbol: S40 = Direct postings
Text Symbol: S30 = Variance allocation
Text Symbol: S20 = Traced costs postings
Text Symbol: S10 = Flow of cost trace
Text Symbol: S00 = Std. cost adjustment
Text Symbol: R70 = Reload archived data
Text Symbol: R60 = Discard archive
Text Symbol: R50 = Deletion of drill down
Text Symbol: R40 = Rev. of direct posting
Text Symbol: R30 = Rev. of var. alloc.
Text Symbol: R24 = Reset plan data
Text Symbol: R20 = Rev. of traced costs
Text Symbol: R10 = Deletion of cost trace
Text Symbol: R00 = Rev. of std. cost adj.
Text Symbol: H17 = Period
Text Symbol: H16 = Correct the errors and repeat processing
Text Symbol: H15 = Processing incomplete
Text Symbol: H14 = Processing completed with warnings
Text Symbol: H13 = Processing completed without errors
Text Symbol: H12 = Termination
Text Symbol: H11 = Error
Text Symbol: H10 = Warning
Text Symbol: H09 = Information
Text Symbol: H08 = Maximum category
Text Symbol: H07 = Number of messages
Text Symbol: H06 = Test run
Text Symbol: H05 = Production run
Text Symbol: H04 = Processing status
Text Symbol: H03 = Version
Text Symbol: H02 = Plan
Text Symbol: H01 = Actual
Text Symbol: B10 = Technical statistics
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 = p_kokrs period = p_perio year = p_gjahr last_day_of_period = p_budat EXCEPTIONS OTHERS = 1.
FERC_PERIOD_CHECK CALL FUNCTION 'FERC_PERIOD_CHECK' EXPORTING period = ferc-perio year = ferc-gjahr controlling_area = ferc-kokrs CHANGING posting_date = ferc-budat.
FERC_PARAMETERS_INIT CALL FUNCTION 'FERC_PARAMETERS_INIT' EXPORTING controlling_area = ferc-kokrs year = ferc-gjahr period = ferc-perio record_type = ferc-rrcty version = ferc-version ferc_step = ferc-step test_run = ferc-test test_log = ferc-test_log IMPORTING run_id = ferc-run_id run_no = ferc-run_no currency = ferc-waers archive_session = ferc-admi_run dd_dir = ferc-dd_dir dd_trc = ferc-dd_trc TABLES ferc_relevant_company_codes = ferc_cc.
FERC_REVERSAL_STEP_GET CALL FUNCTION 'FERC_REVERSAL_STEP_GET' EXPORTING controlling_area = ferc-kokrs period = ferc-perio year = ferc-gjahr record_type = ferc-rrcty version = ferc-version test_run = ferc-test IMPORTING run_id = ferc-run_id run_no = ferc-run_no archive_session = ferc-admi_run reverse_document = ferc-awref dd_dir = ferc-dd_dir dd_trc = ferc-dd_trc CHANGING ferc_step = ferc-step.
FERC_LOG_WRITE CALL FUNCTION 'FERC_LOG_WRITE' EXPORTING run_id = ferc-run_id run_no = ferc-run_no ferc_step = ferc-step record_type = ferc-rrcty status = 'X' archive_session = ferc-admi_run reversal = ferc-rev dd_dir = ferc-dd_dir dd_trc = ferc-dd_trc.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING msgty = 'S' msgv1 = sy-msgv1 txtnr = '144'.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc0_tech msgty = 'I' msgv1 = sy-msgv1 msgv2 = sy-uname msgv3 = ferc-date msgv4 = ferc-time txtnr = '107'.
K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = ferc-kokrs IMPORTING e_tka01 = tka01.
FERC_PARAMETERS_GET CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING run_id = ferc-run_id IMPORTING read_actual_data = ferc-actual EXCEPTIONS OTHERS = 1.
MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' IMPORTING max_severity = ferc-severity.
MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' IMPORTING max_severity = ferc-severity.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc0_tech arbgb = ferc0_arbgb msgty = 'S' txtnr = '129' msgv1 = ferc-amount.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc0_tech arbgb = ferc0_arbgb msgty = 'I' msgv1 = sy-msgv1 msgv2 = ferc-date msgv3 = ferc-time txtnr = '108'.
FERC_LOG_WRITE CALL FUNCTION 'FERC_LOG_WRITE' EXPORTING run_id = ferc-run_id run_no = ferc-run_no ferc_step = ferc-step record_type = ferc-rrcty status = ferc-msgty archive_session = ferc-admi_run reversal = ferc-rev test_log = ferc-test_log export_messages = 'X' dd_dir = ferc-dd_dir dd_trc = ferc-dd_trc.
DEQUEUE_E_TABLEE CALL FUNCTION 'DEQUEUE_E_TABLEE' EXPORTING tabname = rstable-tabname varkey = rstable-varkey.
MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS OTHERS = 4.
MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' EXPORTING line_to = ferc-zeile IMPORTING count = ferc-count.
CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = ferc-title line_to = ferc-zeile show_linno = space i_use_grid = ferc_c0-log_grid i_amodal_window = ferc_c0-log_amodal.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = 'Technical statistics'(b10) line_from = ferc0_tech_c line_to = '999' show_linno = space i_use_grid = ferc_c0-log_grid i_amodal_window = ferc_c0-log_amodal.
FERC_DOCUMENT_DISPLAY CALL FUNCTION 'FERC_DOCUMENT_DISPLAY' EXPORTING controlling_area = ferc-kokrs fiscal_year = ferc-gjahr period = ferc-perio step = ferc-step run_no = lv_run_no.
POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = 'FB01' i_sgfunct = 'B' TABLES t_ftpost = int_ftpost t_blntab = int_blntab t_fttax = int_fttax.
BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = tcode TABLES dynprotab = bdc.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc-zeile arbgb = sy-msgid msgty = ferc-msgty msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 txtnr = ferc-txtnr.
MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' IMPORTING max_severity = ferc-severity.
AC_DOCUMENT_CREATE CALL FUNCTION 'AC_DOCUMENT_CREATE' TABLES t_acchd = acchd t_accit = accit t_acccr = acccr EXCEPTIONS error_message = 1 OTHERS = 2.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc-zeile arbgb = sy-msgid msgty = 'E' msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 txtnr = ferc-txtnr.
MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' IMPORTING max_severity = ferc-severity.
AC_DOCUMENT_POST CALL FUNCTION 'AC_DOCUMENT_POST' EXPORTING i_awtyp = acchd-awtyp i_awref = acchd-awref i_aworg = acchd-aworg * i_comp = 'FI ' EXCEPTIONS error_message = 1 OTHERS = 2.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc0_tech arbgb = sy-msgid msgty = ferc-msgty msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 txtnr = ferc-txtnr.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING zeile = ferc0_tech arbgb = ferc0_arbgb msgty = 'I' txtnr = txtnr msgv1 = sy-msgv1 msgv2 = dd02t-ddtext msgv3 = tabname.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = rt_outtab-tabname IMPORTING x030l_wa = wa_x030l EXCEPTIONS OTHERS = 0.
G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING period = perio year = gjahr variant = periv IMPORTING from_date = frdat to_date = todat EXCEPTIONS OTHERS = 1.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * i_bypassing_buffer = 'X' i_structure_name = 'FERC_SFA' CHANGING ct_fieldcat = rt_fieldcat.
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 FERCRSUB or its description.
FERCRSUB - General Form Subroutine Pool FERCRSUB - General Form Subroutine Pool FERCR310 - Create a Background Job for Multiple Periods or Procedures FERCR310 - Create a Background Job for Multiple Periods or Procedures FERCR300_OLD - Check the Regulatory Configuration FERCR300_OLD - Check the Regulatory Configuration