TREX_AUNIT_CRAWLER 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 TREX_AUNIT_CRAWLER 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: TREX: AUnit test cases for function group TREX_EXT_CRAWLER.
INCLUDE TREX_AUNIT_TEST_BASE . "#EC INCL_OK
No SAP DATABASE tables are accessed within this REPORT code!
TREX_EXT_CREATE_INDEX call function 'TREX_EXT_CREATE_INDEX' exporting i_index_id = index_id ""SK i_rfc_destination = facade->rfcdest i_use_queueserver = ' ' i_textmining_relevant = ' ' * i_attribute_definitions = lt_attributes ** i_key_attributes = lt_key_attrs ** i_fast_preprocessing = l_fastpp ** i_range_attributes = lt_range_attributes importing e_return_code = return_code e_return_text = return_text.
TREX_EXT_DELETE_INDEX call function 'TREX_EXT_DELETE_INDEX' exporting i_index_id = index_id i_rfc_destination = facade->rfcdest importing e_return_code = return_code e_return_text = return_text * EXCEPTIONS * conversion_error = 1 * error = 2 * OTHERS = 3 .
TREX_EXT_CREATE_CRAWL CALL FUNCTION 'TREX_EXT_CREATE_CRAWL' EXPORTING i_rfc_destination = facade->rfcdest i_index_id = index_id
i_cruise_name = cruise_name i_max_depth = 1 i_cruise_document_info = info * IMPORTING e_return_code = return_code e_return_text = return_text * EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_DELETE_CRAWL CALL FUNCTION 'TREX_EXT_DELETE_CRAWL' EXPORTING i_rfc_destination = facade->rfcdest i_cruise_name = cruise_name * IMPORTING e_return_code = return_code e_return_text = return_text * EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_CRAWL_GET_ERROR_STAT * CALL FUNCTION 'TREX_EXT_CRAWL_GET_ERROR_STAT' * EXPORTING * i_rfc_destination = facade->rfcdest * i_cruise_name = cruise_name * IMPORTING * e_return_code = return_code * e_return_text = return_text ** * EXCEPTIONS * conversion_error = 1 * error = 2 * OTHERS = 3.
TREX_EXT_CRAWL_GET_URL_INFOS CALL FUNCTION 'TREX_EXT_CRAWL_GET_URL_INFOS' EXPORTING i_rfc_destination = facade->rfcdest i_cruise_name = cruise_name i_status = status i_error_code = error_code
i_start = start i_maxcount = maxcount i_urls = url
IMPORTING * e_url_info = url_info e_return_code = return_code e_return_text = return_text * EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_CRAWL_GLOB_STATISTICS CALL FUNCTION 'TREX_EXT_CRAWL_GLOB_STATISTICS' EXPORTING i_rfc_destination = facade->rfcdest i_cruise_name = cruise_name * IMPORTING e_return_code = return_code e_return_text = return_text * EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_CRAWL_RESET_FAILED CALL FUNCTION 'TREX_EXT_CRAWL_RESET_FAILED' EXPORTING i_rfc_destination = facade->rfcdest i_cruise_name = cruise_name i_reset_all = reset_all i_url_error_code = error_code i_urls = urls * IMPORTING e_return_code = return_code e_return_text = return_text * EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_GET_CRAWL_INFORMATION CALL FUNCTION 'TREX_EXT_GET_CRAWL_INFORMATION' EXPORTING i_rfc_destination = facade->rfcdest i_cruise_name = cruise_name * IMPORTING * e_index_id = index_id * e_language = language * e_create_suspended = create_suspended * e_max_depth = max_depth * e_max_docsize = max_docsize * e_min_docsize = min_docsize * e_crawling_algorithm = crawling_algorithm * e_preprocessor_pool_size = preprocessor_pool_size * e_dont_index_dirs = dont_index_dirs * e_access_delay = access_delay * e_max_retry_count = max_retry_count * e_use_robotrules = use_robotrules * e_is_multilanguage_index = is_multilanguage_index * e_user_agent = user_agent * e_schedule_time = schedule_time * e_python_command_args = python_command_args * e_result_connector_type = result_connector_type * e_use_queueserver = use_queueserver * e_optimize_every = optimize_every * e_deindex_flag = deindex_flag * e_use_freestyle_container = use_freestyle_container * e_get_access_rights = get_access_rights * e_use_raptor_attributes = use_raptor_attributes * e_creation_time = creation_time * e_file_path = file_path * e_cruise_document_info = cruise_document_info * e_cruise_extension_list = cruise_extension_list * e_cruise_pp_extension_list = cruise_pp_extension_list * e_dockey_conversion_list = dockey_conversion_list * e_host_information = host_information * e_regular_expression = regular_expression * e_positive_file_extensions = positive_file_extensions * e_negative_file_extension = negative_file_extension * e_exclude_directories = exclude_directories * e_result_connector = result_connector
e_return_code = return_code e_return_text = return_text * EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_LIST_CRAWLS CALL FUNCTION 'TREX_EXT_LIST_CRAWLS' EXPORTING i_rfc_destination = facade->rfcdest i_name_space = name_space * IMPORTING * e_crawler_list = crawler_list e_return_code = return_code e_return_text = return_text * EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_RESUME_CRAWL CALL FUNCTION 'TREX_EXT_RESUME_CRAWL' EXPORTING i_rfc_destination = facade->rfcdest i_cruise_name = cruise_name * IMPORTING e_return_code = return_code e_return_text = return_text * EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_SUSPEND_CRAWL CALL FUNCTION 'TREX_EXT_SUSPEND_CRAWL' EXPORTING i_rfc_destination = facade->rfcdest i_cruise_name = cruise_name * IMPORTING e_return_code = return_code e_return_text = return_text * EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_UPDATE_CRAWL CALL FUNCTION 'TREX_EXT_UPDATE_CRAWL' EXPORTING i_rfc_destination = facade->rfcdest i_cruise_name = cruise_name i_run_mode = 1 * IMPORTING e_return_code = return_code e_return_text = return_text
EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_UPDATE_CRAWL CALL FUNCTION 'TREX_EXT_UPDATE_CRAWL' EXPORTING i_rfc_destination = facade->rfcdest i_cruise_name = cruise_name ***SK 2008-0424 find bug: 4.910 error invalid ResultConnectorType: 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.
TREX_AUNIT_CRAWLER - TREX: AUnit test cases for function group TREX_EXT_CRAWLER. TREX_AUNIT_CRAWLER - TREX: AUnit test cases for function group TREX_EXT_CRAWLER. TREX_AUNIT_CONNECTION - TREX Aunit: Connection test between ABAP and TREX (via ICM, RFC, ...) TREX_AUNIT_CONNECTION - TREX Aunit: Connection test between ABAP and TREX (via ICM, RFC, ...) TREX_AUNIT_CONFIG - TREX integration test for function group TREX_EXT_CONFIG. TREX_AUNIT_CONFIG - TREX integration test for function group TREX_EXT_CONFIG.