FCOM_COSR_ENHANCE 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_COSR_ENHANCE 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: CO Total Records COSR: Add Redundant Fields
INCLUDE FCOM_TOTALS_ENHANCETOP.
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = ld_percentage text = ld_text.
DB_COMMIT call function 'DB_COMMIT'.
K_OBJECTS_MASTER_READ call function 'K_OBJECTS_MASTER_READ' tables coiob_tab = lt_coiob i_periods = lt_periods exceptions others = 01.
K_SUBKEY_INTERPRET call function 'K_SUBKEY_INTERPRET' exporting co_hrkft = id_hrkft importing merkmale = ls_merkmale exceptions others = 1.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_program_name = 'FCOM_TOTALS_ENHANCE' i_internal_tabname = 'GS_RESULT' changing ct_fieldcat = st_fieldcat.
REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting *! i_interface_check = off *! i_buffer_active = off i_callback_program = gc_program i_callback_pf_status_set = c_status_set *! i_callback_user_command = 'ALV_USER_COMMAND' i_grid_title = ld_title_grid is_layout = ls_layout it_fieldcat = st_fieldcat it_excluding = lt_exclude *! it_sort = i_save = 'A' *! is_variant = ls_variant *! is_print = ls_print *! it_events = gt_events *! it_event_exit = gt_event_exit tables t_outtab = gt_cosx_result "827571 exceptions others = 0.
K_KOKRS_READ call function 'K_KOKRS_READ' exporting kokrs = id_kokrs importing e_tka01 = ss_tka01 exceptions others = 1.
FIRST_AND_LAST_DAY_IN_YEAR_GET call function 'FIRST_AND_LAST_DAY_IN_YEAR_GET' exporting i_gjahr = id_year i_periv = is_tka01-lmona importing e_first_day = cd_first_day e_last_day = cd_last_day exceptions others = 0.
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_COSR_ENHANCE - CO Total Records COSR: Add Redundant Fields FCOM_COSR_ENHANCE - CO Total Records COSR: Add Redundant Fields FCOM_COFIELDNAME_CONST - FCOMCOFIELDNAMECONST FCOM_COEP_ENHANCE_PARALLEL - FCOMCOEPENHANCEPARALLEL FCOM_COEP_ENHANCE_PARALLEL - FCOMCOEPENHANCEPARALLEL FCOM_COEP_ENHANCE - Report to fill space into PSM-Fields in COEP