FCOM_SEGMENT_UPDATE 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 FCOM_SEGMENT_UPDATE 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: P_ADDSEG = Supplement Segment
Selection Text: P_DATE = Start Date / Migration Date
Selection Text: P_TEST = Test Run
Selection Text: P_TOTALS = Update Totals Records
Selection Text: P_GJAHR = D .
Selection Text: P_KOKRS = D .
Title: Update CO Tables (EP/SS/SP) with Segments
Text Symbol: F00 = Summary:
Text Symbol: FKB = Functional Area
Text Symbol: I00 = Original Settings:
Text Symbol: I01 = Controlling Area
Text Symbol: I02 = Fiscal Year
Text Symbol: I03 = Start Date / Migration Date:
Text Symbol: I04 = Derive Segment
Text Symbol: I05 = Update Totals Records
Text Symbol: I06 = Test Run:
Text Symbol: SEG = Segment
Text Symbol: T01 = Yes
Text Symbol: T02 = No
Text Symbol: T03 = Initial
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FCOM_ACTIVE_FAGL_READ CALL FUNCTION 'FCOM_ACTIVE_FAGL_READ' * EXPORTING * id_date = p_date IMPORTING ed_function_active = gd_factive ed_segment_active = gd_sactive.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gs_bal_log IMPORTING e_log_handle = gd_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
BAL_DSP_PROFILE_DETLEVEL_GET CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' IMPORTING e_s_display_profile = ls_bal_prof.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_bal_prof i_t_log_handle = lt_hnd EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.
K_FILL_COBL_FROM_CODOC CALL FUNCTION 'K_FILL_COBL_FROM_CODOC' EXPORTING i_coep = ls_coep i_cobk = ls_cobk i_flg_read_master_data = 'X' IMPORTING e_cobl = ls_cobl * TABLES * T_COIOB = EXCEPTIONS object_not_found = 1 OTHERS = 2 .
FAGL_SEGMENT_FROM_COBL_CHECK CALL FUNCTION 'FAGL_SEGMENT_FROM_COBL_CHECK' EXPORTING i_cobl = ls_cobl IMPORTING e_cobl = ls_cobl.
K_DOCUMENT_UPDATE CALL FUNCTION 'K_DOCUMENT_UPDATE' EXPORTING i_totals_update = 'X' i_rcl_update = 'X' i_items_insert = ' ' i_save_directly = ' ' i_max_period = '999' i_late_coep_ins = ' ' TABLES t_cobk = lt_cobk[] t_coep = et_coep[] * T_COEPB = * T_COEPL = * T_COEPR = * T_COEPT = * T_COEJA = * T_COEJLA = * T_COEJRA = * T_COEJTA = .
FAGL_CO_TOTALS_SETTINGS CALL FUNCTION 'FAGL_CO_TOTALS_SETTINGS' IMPORTING es_fagl_co_sum_settings = ls_co_settings.
K_GET_ACTIVE_APPLICATIONS CALL FUNCTION 'K_GET_ACTIVE_APPLICATIONS' EXPORTING i_date = ls_cobk-budat IMPORTING fm_active = ld_bool cogs_active = ld_bool grant_active = ld_bool segment_active = ld_bool farea_active = ld_bool es_subkey_active = ls_subkey_active.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = gd_log_handle i_s_msg = l_s_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
FCOM_SEGMENT_UPDATE - Update CO Tables (EP/SS/SP) with Segments FCOM_SEGMENT_UPDATE - Update CO Tables (EP/SS/SP) with Segments FCOM_RAIMINFO - Program FCOM_RAIMINFO FCOM_RAIMINFO - Program FCOM_RAIMINFO FCOM_OBJECTS_GET_CPROJECTS====FT - FCOMOBJECTSGETCPROJECTS====FT FCOM_HDB_SELECT_TEST - Test Report for HDB Accelerator