CMP_CHECK_TEMPLATES 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 CMP_CHECK_TEMPLATES into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CMP_CHECK - Code Composer Template Check
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: SO_PROG = D .
Selection Text: SO_DEVC = D .
Selection Text: P_RECOG = Only Incs Declared as Template
Selection Text: P_DECOMM = Remove Comments
Selection Text: P_CLONLY = Only Classified Includes
Selection Text: P_ALL = All Includes
Title: SAP INTERNAL USAGE: Overview: Code Composer Templates
Text Symbol: T05 = Include not recognized as template
Text Symbol: T01 = Error in Template
Text Symbol: T00 = Not (yet) recognized as template
Text Symbol: S00 = Check &1 ... (&2/&3)
Text Symbol: R01 = &1 Lines; Syntactically Correct
Text Symbol: M00 = Transport Request Was Created
Text Symbol: F00 = Transport Classification
Text Symbol: C06 = Create Classification
Text Symbol: C05 = Create Transport Request
Text Symbol: C02 = Template Is Classified
Text Symbol: C01 = Template Not Classified
Text Symbol: 010 = Classification Package
Text Symbol: 009 = Include Package
Text Symbol: 008 = Action
Text Symbol: 004 = Classification Data
Text Symbol: 003 = Line Number
Text Symbol: 002 = Line in Template
Text Symbol: 001 = Information Text
Text Symbol: 000 = Status
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = i_icon info = i_info add_stdinf = '' IMPORTING result = r_icon.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'CMP_CHECK_TEMPLATES' i_callback_user_command = 'CALLBACK_USER_COMMAND' i_structure_name = 'CMP_STR_CHECK_RESULT' is_layout = l_str_layout it_fieldcat = l_tab_fcat TABLES t_outtab = g_tab_result EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'CMP_STR_CHECK_RESULT' i_client_never_display = 'X' CHANGING ct_fieldcat = r_tab_fcat.
SAPGUI_PROGRESS_INDICATOR * CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' * EXPORTING * percentage = l_percenti * text = l_text.
TRINT_REQUEST_CHOICE * CALL FUNCTION 'TRINT_REQUEST_CHOICE' * EXPORTING * iv_request_types = 'TK' * iv_title = text-f00 * IMPORTING * es_request = l_str_request ** TABLES ** it_e071 = l_tab_e071 * EXCEPTIONS * invalid_request = 1 * invalid_request_type = 2 * user_not_owner = 3 * no_objects_appended = 4 * enqueue_error = 5 * cancelled_by_user = 6 * recursive_call = 7 * OTHERS = 8.
TRINT_APPEND_TO_COMM_ARRAYS * CALL FUNCTION 'TRINT_APPEND_TO_COMM_ARRAYS' * EXPORTING * WI_SUPPRESS_KEY_CHECK = 'X' * wi_trkorr = l_str_request-trkorr * iv_append_at_order = 'X' * iv_no_owner_check = 'X' * TABLES * wt_e071 = l_tab_e071 * EXCEPTIONS * OTHERS = 9.
TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING wi_ko200 = l_str_ko200 iv_no_show_option = 'X' EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.
TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING wi_ko200 = l_str_ko200 IMPORTING we_order = r_str_e070-trkorr EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.
CLS_CHARACTERIZER CALL FUNCTION 'CLS_CHARACTERIZER' EXPORTING im_attributes = l_tab_attributes im_key_attributes = l_tab_attributes im_operation = 'EDITCLS' im_objects = l_tab_objects.
TR_TADIR_POPUP_ENTRY_E071 CALL FUNCTION 'TR_TADIR_POPUP_ENTRY_E071' EXPORTING wi_e071_pgmid = 'R3TR' wi_e071_object = 'AVAS' wi_e071_obj_name = l_objname wi_read_only = 'X' iv_suppress_mod_show = '' IMPORTING we_tadir = l_str_tadir EXCEPTIONS OTHERS = 18.
RS_TOOL_ACCESS CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING operation = 'SHOW' object_name = l_str_result-progname object_type = 'PROG' position = l_str_result-line_no in_new_window = 'X' EXCEPTIONS not_executed = 1 invalid_object_type = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
CMP_CHECK_TEMPLATES - SAP INTERNAL USAGE: Overview: Code Composer Templates CMP_CHECK_TEMPLATES - SAP INTERNAL USAGE: Overview: Code Composer Templates CMPRF01 - documentation and ABAP source code CMPGN_WHERE_USED_LIST - Where-Used List for Campaign CMPGN_WHERE_USED_LIST - Where-Used List for Campaign CMPB_ASGN_DISPLAY - Display Campaign Assignment