SAP Reports / Programs

FERCR210C SAP ABAP Report - Flow of cost trace







FERCR210C 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 FERCR210C 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

FERT - Flow of cost trace


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 FERCR210C. "Basic submit
SUBMIT FERCR210C AND RETURN. "Return to original report after report execution complete
SUBMIT FERCR210C VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_RECEIV = Sort by final object
Selection Text: DD_VERSN = D Version
Selection Text: DD_PERIO = D Period
Selection Text: DD_GJAHR = D Fiscal year
Selection Text: 2S_OBJNR = D Source obj. number
Selection Text: 2S_GSBER = D Sending business area
Selection Text: 2S_BUKRS = D Sending company code
Selection Text: 2R_OBJNR = D Final obj. number
Selection Text: 2R_GSBER = D Receiving business area
Selection Text: 2R_BUKRS = D Receiving company code
Title: Flow of cost trace
Text Symbol: PC1 = Selected source obj.
Text Symbol: PCI = Primary costs in
Text Symbol: PCO = Primary costs on
Text Symbol: PCS = Primary costs on selected source objects
Text Symbol: PRC = / PC
Text Symbol: RIM =
Text Symbol: RIN =
Text Symbol: SCA = Virtual standard cost adjustm.
Text Symbol: SOR = Source object <-> Final object
Text Symbol: T01 = All paths for
Text Symbol: T02 = All paths starting at
Text Symbol: T03 = All paths ending at
Text Symbol: T04 = Paths from
Text Symbol: T05 = to
Text Symbol: T06 = Primary costs on
Text Symbol: VIR = Clearing costs
Text Symbol: PC0 = Primary costs
Text Symbol: 101 = Period
Text Symbol: 102 = Actual data
Text Symbol: 103 = Plan data
Text Symbol: 104 = Version
Text Symbol: 2SO = test
Text Symbol: BUK = Company code
Text Symbol: BU_ = CC
Text Symbol: E01 = No source object selected
Text Symbol: FPF = Final paths sorted by final objects
Text Symbol: FPS = Final paths sorted by source object





Text Symbol: HDG = CO Object
Text Symbol: HTT = Source or final object
Text Symbol: ISU = IS-U/FERC Regulatory Reporting
Text Symbol: L00 = Intermediate object
Text Symbol: L0C = Object number
Text Symbol: L0D = Short text
Text Symbol: L10 = Source object
Text Symbol: L1E = Primary costs
Text Symbol: L20 = Final object
Text Symbol: L2A = Regulatory indicator description
Text Symbol: L2B = Reg.Ind.
Text Symbol: L2G = Final perc. Traced costs
Text Symbol: L50 = Final object with primary costs
Text Symbol: NEG = Negative flow of costs
Text Symbol: PA0 = Complete path
Text Symbol: PA1 = Selected object(s)
Text Symbol: PA2 = Entire period


INCLUDES used within this REPORT FERCR210C

INCLUDE RFEPOSC5.


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:

NETWORK_CREATE CALL FUNCTION 'NETWORK_CREATE' EXPORTING owner_repid = g_repid dynnr = g_dynnr CHANGING handle = netz_ocx.

CNET_GRAPHIC_NETWORK_PBO CALL FUNCTION 'CNET_GRAPHIC_NETWORK_PBO' EXPORTING abap_cmd = abap_cmd confirm = net_const-confirm_yes profile = profile stat = stat status_text = status_text control_handle = netz_ocx TABLES clusters = clusters_tab cvals = cvals_tab deletions = delete_tab inodes = inodes_tab lines = lines_tab lvals = lvals_tab nodes = net_nodes_tab nvals = nvals_tab positions = positions_tab EXCEPTIONS err_in_profile = 1 inv_profile = 2 inv_winid = 3.

NETWORK_SET_FUNCTION_CODE CALL FUNCTION 'NETWORK_SET_FUNCTION_CODE' EXPORTING handle = netz_ocx function_code = save_ok_code IMPORTING return = retval EXCEPTIONS cntl_system_error = 1 cntl_error = 2 OTHERS = 3.

CNET_GRAPHIC_NETWORK_PBO CALL FUNCTION 'CNET_GRAPHIC_NETWORK_PBO' EXPORTING abap_cmd = abap_cmd stat = stat control_handle = netz_ocx.

ARCHIVE_READ_OBJECT CALL FUNCTION 'ARCHIVE_READ_OBJECT' EXPORTING object = c_arch_object object_id = gt_idx-object_id IMPORTING archive_handle = gs_arch-handle EXCEPTIONS OTHERS = 1.

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

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

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'FERC_SDF2' CHANGING ct_fieldcat = gt_fieldcat[].

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = p_objnr no_bukrs = 'X' no_erkrs = 'X' no_kokrs = 'X' * LANGU = SY-LANGU * DATUM = SY-DATLO text_wanted = 'X' IMPORTING * E_IONRA = * E_KEY = e_text = sy-msgli * e_identification = * E_OBJID = * IDENT_OBART = ident_txt10 = st_obj-key(10) * IDENT_TXT15 = * IDENT_TXT20 = identification = sy-msgv2 ident_objid = sy-msgv1.

LVC_FIELDCATALOG_MERGE





CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'FERC_SDF3' CHANGING ct_fieldcat = gt_fieldcatalog.

CNET_GRAPHIC_PAI CALL FUNCTION 'CNET_GRAPHIC_PAI' EXPORTING control_handle = netz_ocx "für Umstellung auf OCX IMPORTING gr_mes = gr_mes gr_mode = mode gr_sel_field = sel_field TABLES boxes = boxes_tab bvals = bvals_tab clusters = clusters_tab cvals = cvals_tab deletions = delete_tab frames = frames_tab fvals = fvals_tab lines = lines_tab lvals = lvals_tab nodes = net_nodes_tab nvals = nvals_tab positions = positions_tab EXCEPTIONS inv_winid = 01.

SGRC_POPUP_TO_CHANGE_HEADER CALL FUNCTION 'SGRC_POPUP_TO_CHANGE_HEADER' EXPORTING text_imp = headertext default_text_imp = def_headertext IMPORTING text_exp = headertext.

CNET_MAKE_BOXES CALL FUNCTION 'CNET_MAKE_BOXES' TABLES boxes = boxes bvals = bvals.

CNET_GRAPHIC_PAI CALL FUNCTION 'CNET_GRAPHIC_PAI' EXPORTING control_handle = netz_ocx at_control_destroy = sgrc_const-yes.

CONTROL_DESTROY CALL FUNCTION 'CONTROL_DESTROY' CHANGING h_control = netz_ocx EXCEPTIONS OTHERS = 1.

GRAPH_SET_CUA_STATUS * CALL FUNCTION 'GRAPH_SET_CUA_STATUS' * EXPORTING * PROGRAM = BHDGD-REPID * STATUS = 'NETWORK ' ** TABLES ** EXCLUDING = EXCLUDING_TAB * EXCEPTIONS * INV_CUA_INFO = 1.

CNET_SET_LEGEND CALL FUNCTION 'CNET_SET_LEGEND' EXPORTING foot_line = legend_tab-text legend_type = net_const-type_3 TABLES legend = legend_tab.

ARCHIVE_READ_OBJECT CALL FUNCTION 'ARCHIVE_READ_OBJECT' EXPORTING object = c_arch_object object_id = gt_idx-object_id IMPORTING archive_handle = gs_arch-handle EXCEPTIONS OTHERS = 1.

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

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



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