FERCT020 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 FERCT020 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FECP - Copy regulatory parameters
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: S_GJAHR = D Fiscal year
Selection Text: S_PERIO = D Period
Selection Text: T_GJAHR = D Fiscal year
Selection Text: T_PERIO = D Period
Title: Copy Regulatory Parameters
Text Symbol: P00 = Parameters
Text Symbol: P10 = Period
Text Symbol: P11 = Fiscal year
Text Symbol: P30 = Actual
Text Symbol: P40 = Plan
Text Symbol: P50 = Version
Text Symbol: P60 = Controlling area
Text Symbol: SRC = Source period
Text Symbol: TRG = Target period
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 = R0-KOKRS PERIOD = S_PERIO YEAR = S_GJAHR EXCEPTIONS OTHERS = 4.
FERC_PARAMETERS_INIT CALL FUNCTION 'FERC_PARAMETERS_INIT' EXPORTING CONTROLLING_AREA = R0-KOKRS YEAR = T_GJAHR PERIOD = T_PERIO RECORD_TYPE = T_RRCTY VERSION = T_VERSN IMPORTING RUN_ID = R0-T_RUN_ID EXCEPTIONS OTHERS = 1.
FERC_PARAMETERS_INIT CALL FUNCTION 'FERC_PARAMETERS_INIT' EXPORTING CONTROLLING_AREA = R0-KOKRS YEAR = S_GJAHR PERIOD = S_PERIO RECORD_TYPE = S_RRCTY VERSION = S_VERSN IMPORTING RUN_ID = R0-S_RUN_ID READ_FROM_ARCHIVE = SY-DATAR ARCHIVE_SESSION = R0-ADMI_RUN.
FERC_PARAMETERS_GET CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING RUN_ID = R0-S_RUN_ID.
FERC_PARAMETERS_INIT CALL FUNCTION 'FERC_PARAMETERS_INIT' EXPORTING CONTROLLING_AREA = R0-KOKRS YEAR = S_GJAHR PERIOD = S_PERIO RECORD_TYPE = S_RRCTY VERSION = S_VERSN.
FERC_PARAMETERS_INIT CALL FUNCTION 'FERC_PARAMETERS_INIT' EXPORTING CONTROLLING_AREA = R0-KOKRS YEAR = T_GJAHR PERIOD = T_PERIO RECORD_TYPE = T_RRCTY VERSION = T_VERSN TEST_RUN = ' ' CREATE_RUN_ID = 'X' IMPORTING RUN_ID = R0-T_RUN_ID.
ENQUEUE_E_TABLEE CALL FUNCTION 'ENQUEUE_E_TABLEE' EXPORTING TABNAME = RSTABLE-TABNAME VARKEY = RSTABLE-VARKEY EXCEPTIONS FOREIGN_LOCK = 4.
FERC_PARAMETERS_COPY CALL FUNCTION 'FERC_PARAMETERS_COPY' EXPORTING REF_RUN_ID = R0-S_RUN_ID RUN_ID = R0-T_RUN_ID TARGET_PERIOD = T_PERIO TARGET_YEAR = T_GJAHR TARGET_RRCTY = T_RRCTY TARGET_VERSION = T_VERSN EXCEPTIONS OTHERS = 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.