SAP Reports / Programs

FERCR280 SAP ABAP Report - Analyze summarized final objects







FERCR280 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 FERCR280 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FESA - Summarized final objects


ABAP code to call this SAP report using the submit statement

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.






SUBMIT FERCR280. "Basic submit
SUBMIT FERCR280 AND RETURN. "Return to original report after report execution complete
SUBMIT FERCR280 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Final objects summarized because of small amounts
Selection Text: S_OBJNR = D Source obj. number
Selection Text: S_KTNRA = D Natural account
Selection Text: S_BUKRS = D Sending company code
Selection Text: R_OBART = D Object type
Selection Text: R_KTNRA = D Regulatory account
Selection Text: R_BUKRS = D Receiving company code
Selection Text: P_VERSN = D Version
Selection Text: P_VARI = D Layout
Selection Text: P_PLAN = Plan
Selection Text: P_PERIO = D Period
Selection Text: P_KOKRS = D Controlling area
Selection Text: P_GJAHR = D Fiscal year
Selection Text: P_ACTUAL = Actual
Title: Analyze summarized final objects
Text Symbol: SOS = Source obj.
Text Symbol: SOM = Source object
Text Symbol: HDR = Summarized final objects with small amounts
Text Symbol: FOS = Final obj.
Text Symbol: FOM = Final object
Text Symbol: D03 = Should the system read from archive
Text Symbol: D02 = Some periods are already archived.
Text Symbol: B09 = Additional parameters
Text Symbol: B02 = Sender
Text Symbol: B01 = Receiver
Text Symbol: 109 = Version
Text Symbol: 108 = Plan
Text Symbol: 107 = Actual
Text Symbol: 002 = Data type
Text Symbol: 001 = Reporting period(s)


INCLUDES used within this REPORT FERCR280

INCLUDE FERCD100.
INCLUDE FERCD110.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HELP_REQUEST_FOR_OBART CALL FUNCTION 'HELP_REQUEST_FOR_OBART' EXPORTING fieldname = 'OBART' tabname = 'FERC_C11' IMPORTING select_value = r_obart TABLES t_only_obart = t_obart.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = disvariant * I_TABNAME_HEADER = * I_TABNAME_ITEM = * IT_DEFAULT_FIELDCAT = i_save = 'A' * I_DISPLAY_VIA_GRID = ' ' IMPORTING * E_EXIT = es_variant = disvariant EXCEPTIONS OTHERS = 0.

FERC_DEFAULT_GET CALL FUNCTION 'FERC_DEFAULT_GET' IMPORTING controlling_area = p_kokrs period = p_perio-low year = p_gjahr-low EXCEPTIONS OTHERS = 4.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = p_kokrs IMPORTING e_tka01 = tka01 EXCEPTIONS OTHERS = 0.

FERC_PARAMETERS_INIT CALL FUNCTION 'FERC_PARAMETERS_INIT' EXPORTING controlling_area = status-kokrs year = r0-gjahr period = r0-perio record_type = r0-rrcty version = r0-rvers ferc_step = '55' IMPORTING read_from_archive = r0-archive.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-hdr textline1 = 'Some periods are already archived. '(d02)

FERC_PARAMETERS_GET CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING run_id = r0-run_id IMPORTING cc_level_assignment = cc_level.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = d1-r_objnr no_bukrs = 'X' no_erkrs = 'X' no_kokrs = 'X' text_wanted = 'X' IMPORTING e_text = gt_outtab-r_obj_txt identification = sy-msgv1.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = d1-s_objnr no_bukrs = 'X' no_erkrs = 'X' no_kokrs = 'X' text_wanted = 'X' IMPORTING e_text = gt_outtab-s_obj_txt identification = sy-msgv1.

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.

ARCHIVE_READ_OBJECT CALL FUNCTION 'ARCHIVE_READ_OBJECT' EXPORTING object = ferc3_object object_id = idx-object_id IMPORTING archive_handle = arch-handle EXCEPTIONS OTHERS = 1.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = arch-handle IMPORTING * loop to get the next record from the archived table record = ferc_d1 EXCEPTIONS OTHERS = 1.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = arch-handle.

ARCHIVE_READ_OBJECT CALL FUNCTION 'ARCHIVE_READ_OBJECT' EXPORTING object = ferc3_object object_id = arch-object_id IMPORTING archive_handle = arch-handle EXCEPTIONS OTHERS = 1.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = arch-handle IMPORTING * loop to get the next record from the archived table record = ferc_f2 EXCEPTIONS OTHERS = 1.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = arch-handle.

ARCHIVE_READ_OBJECT CALL FUNCTION 'ARCHIVE_READ_OBJECT' EXPORTING object = ferc3_object object_id = arch-object_id IMPORTING archive_handle = arch-handle EXCEPTIONS OTHERS = 1.

ARCHIVE_GET_NEXT_RECORD





CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = arch-handle IMPORTING * loop to get the next record from the archived table record = ferc_f3 EXCEPTIONS OTHERS = 1.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = arch-handle.

FERC_INDICATOR_GET CALL FUNCTION 'FERC_INDICATOR_GET' EXPORTING run_id = run_id object_number = f2-r_objnr IMPORTING indicator = ferc_comb1-ind EXCEPTIONS no_indicator_assigned = 1.

FERC_ACCOUNTS_GET CALL FUNCTION 'FERC_ACCOUNTS_GET' EXPORTING run_id = run_id company_code = ferc_comb1-r_bukrs indicator = ferc_comb1-ind cost_element = ferc_comb1-s_ktnra IMPORTING factor_total = factor_total TABLES ferc_accounts = ferc_acc EXCEPTIONS no_ferc_assignment = 1.

FERC_PARAMETERS_GET CALL FUNCTION 'FERC_PARAMETERS_GET' EXPORTING run_id = run_id company_code = d1-r_bukrs IMPORTING summarization_threshold = summ_thresh.



Contribute (Add Comments)

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 FERCR280 or its description.