SAP Reports / Programs | Application Platform | Product Configurator(AP-CFG) SAP AP

CFG_ENGINE_TEST_TOOL_F01 SAP ABAP INCLUDE - Include CFG_ENGINE_TEST_TOOL_F01







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


Text pool values


Title: Include CFG_ENGINE_TEST_TOOL_F01


INCLUDES used within this REPORT CFG_ENGINE_TEST_TOOL_F01

No INCLUDES are used within this REPORT code!


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:

CFG_API_FIND_KNOWLEDGEBASES CALL FUNCTION 'CFG_API_FIND_KNOWLEDGEBASES' DESTINATION dest EXPORTING object_name = product_id "'WP-940' object_type = product_type "'MARA' object_logsys = kblogsys valid_date = date usage = usage org_id = orgid org_type = orgtype status = statusid with_kb_profiles = with_kb_profiles "'T' IMPORTING knowledgebases = tab_kb.

CFG_API_DELETE_CSTICS_VALUES CALL FUNCTION 'CFG_API_DELETE_CSTICS_VALUES' DESTINATION dest EXPORTING config_id = config_id inst_id = inst_id values_to_delete = tab_chang_cs_val format_values = format_values EXCEPTIONS exception_config_null = 1 command_exception = 2 OTHERS = 3.

CFG_API_GET_CONFIG_HAS_CHANGED CALL FUNCTION 'CFG_API_GET_CONFIG_HAS_CHANGED' DESTINATION dest EXPORTING config_id = config_id key = key IMPORTING changed = changed EXCEPTIONS command_exception = 1 OTHERS = 2.

CFG_API_GET_CONFIG_INFO CALL FUNCTION 'CFG_API_GET_CONFIG_INFO' DESTINATION dest EXPORTING config_id = config_id get_context = get_context IMPORTING config_info = str_config_info context = tab_context.

CFG_API_GET_CONFLICTS CALL FUNCTION 'CFG_API_GET_CONFLICTS' DESTINATION dest EXPORTING config_id = config_id inst_id = inst_id IMPORTING conflicts = tab_conflicts.

CFG_API_GET_CSTIC_CONFLICTS CALL FUNCTION 'CFG_API_GET_CSTIC_CONFLICTS' DESTINATION dest EXPORTING config_id = config_id inst_id = inst_id cstic_name = cstic_name IMPORTING conflicts = tab_conflict_expl.

CFG_API_GET_FACTS CALL FUNCTION 'CFG_API_GET_FACTS' DESTINATION dest EXPORTING config_id = config_id justification_id = justification_id IMPORTING facts = tab_facts EXCEPTIONS command_exception = 1 OTHERS = 2.

CFG_API_GET_FILTERED_CSTICS CALL FUNCTION 'CFG_API_GET_FILTERED_CSTICS' DESTINATION dest EXPORTING config_id = config_id inst_id = inst_id cstic_info_groups = tab_group_inter monitored_cstics = tab_mon_cstics filter_groups = tab_group_id ungrouped_cstics_only = ungrouped_cstics_only include_ungrouped_cstics = include_ungrouped_cstics visible_cstics_only = visible_cstics_only assignable_values_only = assignable_values_only IMPORTING cstics_in_groups = tab_cstics_in_group cstic_groups = tab_cstic_group EXCEPTIONS exception_config_null = 1 OTHERS = 2.

CFG_API_GET_INSTANCES CALL FUNCTION 'CFG_API_GET_INSTANCES' DESTINATION dest EXPORTING config_id = config_id get_mime_objects = get_mime_objects IMPORTING instances = tab_instances EXCEPTIONS exception_config_null = 1 OTHERS = 2.

CFG_API_SET_CSTICS_VALUES CALL FUNCTION 'CFG_API_SET_CSTICS_VALUES' DESTINATION dest EXPORTING config_id = config_id inst_id = inst_id values_to_set = tab_chang_cs_val format_values = format_values EXCEPTIONS command_exception = 1 exception_config_null = 2 OTHERS = 3.

CFG_API_CREATE_CONFIG CALL FUNCTION 'CFG_API_CREATE_CONFIG' DESTINATION dest EXPORTING product_id = product_id product_type = product_type kb_date = date kb_logsys = kblogsys kb_name = kb_name kb_version = kb_version kb_profile = kb_profile kb_id = kb_id ext_config = str_config context = tab_context use_trace = use_trace IMPORTING config_id = config_id return_code = return_code EXCEPTIONS parameter_exception = 1 command_exception = 2 OTHERS = 3.

CFG_API_DELETE_CONFIGS CALL FUNCTION 'CFG_API_DELETE_CONFIGS' DESTINATION dest EXPORTING config_ids = tab_config_id.

CFG_API_GET_EXT_CONFIG CALL FUNCTION 'CFG_API_GET_EXT_CONFIG' DESTINATION dest EXPORTING config_id = config_id IMPORTING ext_config = str_config EXCEPTIONS command_exception = 1 OTHERS = 2.

CFG_API_CONVERT_IDOC_TO_XML CALL FUNCTION 'CFG_API_CONVERT_IDOC_TO_XML' DESTINATION dest EXPORTING ext_config = str_comt_iif_config IMPORTING ext_config_xml = tab_xml EXCEPTIONS io_exception = 1 parser_configuration_exception = 2 OTHERS = 3.

CFG_API_CONVERT_XML_TO_IDOC CALL FUNCTION 'CFG_API_CONVERT_XML_TO_IDOC' DESTINATION dest EXPORTING ext_config_xml = tab_xml IMPORTING ext_config = str_comt_iif_config EXCEPTIONS exception_process = 1 OTHERS = 2.

CFG_API_RESET_CONFIG CALL FUNCTION 'CFG_API_RESET_CONFIG' DESTINATION dest EXPORTING config_id = config_id inst_id = inst_id EXCEPTIONS exception_config_null = 1 parameter_exception = 2 command_exception = 3 exception_document_null = 4 exception_item_null = 5 OTHERS = 6.

CFG_API_GET_CSTIC_GROUPS CALL FUNCTION 'CFG_API_GET_CSTIC_GROUPS' DESTINATION dest EXPORTING config_id = config_id inst_id = inst_id IMPORTING cstic_groups = tab_cstic_group EXCEPTIONS exception_config_null = 1 command_exception = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LIST' text = lv_icon_text IMPORTING RESULT = lv_icon.

LVC_FIELDCATALOG_MERGE





CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = struc_name CHANGING ct_fieldcat = it_cat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

FUNCTION_IMPORT_DOKU CALL FUNCTION 'FUNCTION_IMPORT_DOKU' EXPORTING funcname = lv_name IMPORTING short_text = lv_short_text TABLES dokumentation = lt_dokumentation exception_list = lt_exception_list export_parameter = lt_export_parameter import_parameter = lt_import_parameter tables_parameter = lt_tables_parameter EXCEPTIONS error_message = 1 function_not_found = 2 invalid_name = 3 OTHERS = 4.

DOCU_EXP CALL FUNCTION 'DOCU_EXP' EXPORTING id = 'FU' langu = sy-langu object = lv_object typ = 'T' TABLES line = lt_lines EXCEPTIONS ret_code = 1.

GET_TEXTSYMBOL CALL FUNCTION 'GET_TEXTSYMBOL' EXPORTING language = sy-langu line = lt_lines-tdline start_offset = 0 IMPORTING value = lt_lines-tdline.

CFG_API_ACTIVATE_TRACE CALL FUNCTION 'CFG_API_ACTIVATE_TRACE' DESTINATION dest EXPORTING trace_settings = lv_trace_settings_i.

CFG_API_DEACTIVATE_TRACE CALL FUNCTION 'CFG_API_DEACTIVATE_TRACE' DESTINATION dest.

CFG_API_GET_TRACE_LINES CALL FUNCTION 'CFG_API_GET_TRACE_LINES' DESTINATION dest IMPORTING trace_lines = lt_trace_lines.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = -top_line entry_from = 1 entry_to = -lines last_page_full = 'X' loops = ok_code = p_ok overlapping = 'X' IMPORTING entry_new = l_tc_new_top_line EXCEPTIONS * NO_ENTRY_OR_PAGE_ACT = 01 * NO_ENTRY_TO = 02 * NO_OK_CODE_OR_PAGE_GO = 03 OTHERS = 0.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lv_fullpath TABLES data_tab = tab_xml.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_filename TABLES data_tab = tab_xml.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lv_fullpath TABLES data_tab = table_trace_lines.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'COMT_CFGM_KB' CHANGING ct_fieldcat = it_cat_exp[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lv_fullpath TABLES data_tab = lt_xml.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_filename TABLES data_tab = lt_xml_tab.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'COMT_CFGM_INSTANCE' CHANGING ct_fieldcat = it_cat_exp[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'COMT_CFGM_CONFIG_ID_S' CHANGING ct_fieldcat = it_cat_imp[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'COMT_CFGM_CONFLICT' CHANGING ct_fieldcat = it_cat_exp[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'COMT_CFGM_CONFLICT_EXPL' CHANGING ct_fieldcat = it_cat_exp[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'COMT_CFGM_FACT' CHANGING ct_fieldcat = it_cat_exp[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'COMT_CFGM_XML' CHANGING ct_fieldcat = it_cat_exp[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.




LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'COMT_CFGM_XML' CHANGING ct_fieldcat = it_cat_imp[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

RS_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'RS_FUNCTION_ACTIVE_CHECK' EXPORTING funcname = lv_funcname EXCEPTIONS not_found = 1 OTHERS = 2.

CFG_API_PROFILING_CONTROL CALL FUNCTION 'CFG_API_PROFILING_CONTROL' DESTINATION ' ' EXPORTING config_id = config_id it_profiling_settings = lt_profiling_settings EXCEPTIONS command_exception = 1 OTHERS = 2.

RS_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'RS_FUNCTION_ACTIVE_CHECK' EXPORTING funcname = lv_funcname EXCEPTIONS not_found = 1 OTHERS = 2.

CFG_API_GET_PROFILING_LINES CALL FUNCTION 'CFG_API_GET_PROFILING_LINES' DESTINATION ' ' EXPORTING config_id = config_id iv_profiling_type = lv_profiling_type IMPORTING et_profiling_result = lt_profiling_result ev_return_code = lv_return_code EXCEPTIONS command_exception = 1 OTHERS = 2.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lv_filename write_lf = 'X' TABLES data_tab = table_export_profiling EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.



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