SAP Reports / Programs

FCOM_COSR_ENHANCE SAP ABAP Report - CO Total Records COSR: Add Redundant Fields







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


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


Text pool values


Title: CO Total Records COSR: Add Redundant Fields


INCLUDES used within this REPORT FCOM_COSR_ENHANCE

INCLUDE FCOM_TOTALS_ENHANCETOP.


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:

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.



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