TREX_AUNIT_CREATE_CRAWL 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_CREATE_CRAWL 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: AUnit for CREATE_CRAWL and GET_CRAWL_INFORMATION (cruiser2)
INCLUDE TREX_AUNIT_TEST_BASE. "#EC INCL_OK
No SAP DATABASE tables are accessed within this REPORT code!
TREX_EXT_CREATE_CRAWL CALL FUNCTION 'TREX_EXT_CREATE_CRAWL' EXPORTING i_rfc_destination = rfc_destination i_cruise_name = ip_cruise_name i_index_id = index_id i_language = ip_language i_create_suspended = ip_create_suspended i_max_depth = ip_max_depth i_max_docsize = ip_max_docsize i_min_docsize = ip_min_docsize i_crawling_algorithm = ip_crawling_algorithm i_preprocessor_pool_size = ip_preprocessor_pool_size i_dont_index_dirs = ip_dont_index_dirs i_access_delay = ip_access_delay i_max_retry_count = ip_max_retry_count i_use_robotrules = ip_use_robotrules i_is_multilanguage_index = ip_is_multilanguage_index i_user_agent = ip_user_agent i_schedule_time = ip_schedule_time i_python_command_args = ip_python_command_args i_result_connector_type = ip_result_connector_type i_use_queueserver = ip_use_queueserver i_optimize_every = ip_optimize_every i_deindex_flag = ip_deindex_flag i_use_freestyle_container = ip_use_freestyle_container i_get_access_rights = ip_get_access_rights i_use_raptor_attributes = ip_use_raptor_attributes i_file_path = ip_file_path i_cruise_document_info = ip_cruise_document_info i_cruise_extension_list = ip_cruise_extension_list i_cruise_pp_extension_list = ip_cruise_pp_extension_list i_dockey_conversion_list = ip_dockey_conversion_list i_host_information = ip_host_information i_regular_expression = ip_regular_expression i_positive_file_extensions = ip_positive_file_extensions i_negative_file_extension = ip_negative_file_extension i_exclude_directories = ip_exclude_directories i_result_connector = ip_result_connector.
TREX_EXT_GET_CRAWL_INFORMATION CALL FUNCTION 'TREX_EXT_GET_CRAWL_INFORMATION' EXPORTING i_cruise_name = ip_cruise_name i_rfc_destination = rfc_destination
IMPORTING e_index_id = ep_index_id e_language = ep_language e_create_suspended = ep_create_suspended
e_max_depth = ep_max_depth
e_max_docsize = ep_max_docsize e_min_docsize = ep_min_docsize e_crawling_algorithm = ep_crawling_algorithm e_preprocessor_pool_size = ep_preprocessor_pool_size
e_dont_index_dirs = ep_dont_index_dirs e_access_delay = ep_access_delay
e_max_retry_count = ep_max_retry_count e_use_robotrules = ep_use_robotrules e_is_multilanguage_index = ep_is_multilanguage_index e_user_agent = ep_user_agent e_schedule_time = ep_schedule_time e_python_command_args = ep_python_command_args
e_result_connector_type = ep_result_connector_type e_use_queueserver = ep_use_queueserver e_optimize_every = ep_optimize_every e_deindex_flag = ep_deindex_flag e_use_freestyle_container = ep_use_freestyle_container e_get_access_rights = ep_get_access_rights e_use_raptor_attributes = ep_use_raptor_attributes e_creation_time = ep_creation_time e_file_path = ep_file_path e_cruise_document_info = ep_cruise_document_info
e_cruise_extension_list = ep_cruise_extension_list e_cruise_pp_extension_list = ep_cruise_pp_extension_list e_dockey_conversion_list = ep_dockey_conversion_list e_host_information = ep_host_information e_regular_expression = ep_regular_expression e_positive_file_extensions = ep_positive_file_extensions e_negative_file_extension = ep_negative_file_extension e_exclude_directories = ep_exclude_directories e_result_connector = ep_result_connector
e_return_code = return_code e_return_text = return_text
* EXCEPTIONS * conversion_error = 1 * error = 2 * OTHERS = 3 .
TREX_EXT_CREATE_INDEX * CALL FUNCTION 'TREX_EXT_CREATE_INDEX' * EXPORTING * i_index_id = index_id * i_rfc_destination = rfc_destination * i_language = ip_language * i_description = ip_description * IMPORTING * e_return_code = return_code * e_return_text = return_text ** EXCEPTIONS ** OTHERS = 1 * .
TREX_EXT_DELETE_CRAWL CALL FUNCTION 'TREX_EXT_DELETE_CRAWL' EXPORTING i_rfc_destination = rfc_destination i_cruise_name = ip_cruise_name IMPORTING e_return_code = return_code * e_return_text = return_text * EXCEPTIONS * conversion_error = 1 * error = 2 * OTHERS = 3 .
TREX_EXT_DELETE_INDEX * CALL FUNCTION 'TREX_EXT_DELETE_INDEX' * EXPORTING * i_index_id = index_id * i_rfc_destination = rfc_destination * IMPORTING * e_return_code = return_code * e_return_text = return_text ** EXCEPTIONS ** conversion_error = 1 ** error = 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.
TREX_AUNIT_CREATE_CRAWL - AUnit for CREATE_CRAWL and GET_CRAWL_INFORMATION (cruiser2) TREX_AUNIT_CREATE_CRAWL - AUnit for CREATE_CRAWL and GET_CRAWL_INFORMATION (cruiser2) 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, ...)