SAP SEFS_SET_CRAWL_SETTINGS Function Module for Set Crawl Settings









SEFS_SET_CRAWL_SETTINGS is a standard sefs set crawl settings SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Set Crawl Settings processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for sefs set crawl settings FM, simply by entering the name SEFS_SET_CRAWL_SETTINGS into the relevant SAP transaction such as SE37 or SE38.

Function Group: SEFS_CRAWL_CONFIG
Program Name: SAPLSEFS_CRAWL_CONFIG
Main Program: SAPLSEFS_CRAWL_CONFIG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function SEFS_SET_CRAWL_SETTINGS pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'SEFS_SET_CRAWL_SETTINGS'"Set Crawl Settings
EXPORTING
IS_CRAWL_NAME_ID = "Crawl Name and Crawl ID
* IV_UPDATE_IMMEDIATELY = "Update Crawl Immediately
* IV_LOG_HANDLE = "Application Log: Log Handle
IS_CRAWL_BASIC_UI = "Crawl Basic UI
IS_CRAWL_ADVANCED_UI = "Crawl Advanced UI
IT_CRAWL_HOST_INFO = "Host Information for Crawl
IT_CRAWL_DIR_EXCL = "Excluding Directories for Crawl

IMPORTING
EV_LOG_HANDLE = "Application Log: Log Handle
ET_RETURN_CODES = "Return codes per object type
.



IMPORTING Parameters details for SEFS_SET_CRAWL_SETTINGS

IS_CRAWL_NAME_ID - Crawl Name and Crawl ID

Data type: SEFS_S_CRAWL_NAME_ID
Optional: No
Call by Reference: No ( called with pass by value option)

IV_UPDATE_IMMEDIATELY - Update Crawl Immediately

Data type: SEFS_D_UPDATE_IMMEDIATELY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_LOG_HANDLE - Application Log: Log Handle

Data type: BALLOGHNDL
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_CRAWL_BASIC_UI - Crawl Basic UI

Data type: SEFS_S_CRAWL_BASIC_UI
Optional: No
Call by Reference: No ( called with pass by value option)

IS_CRAWL_ADVANCED_UI - Crawl Advanced UI

Data type: SEFS_S_CRAWL_ADVANCED_UI
Optional: No
Call by Reference: No ( called with pass by value option)

IT_CRAWL_HOST_INFO - Host Information for Crawl

Data type: SEFS_T_CRAWL_HOST_INFO
Optional: No
Call by Reference: No ( called with pass by value option)

IT_CRAWL_DIR_EXCL - Excluding Directories for Crawl

Data type: SEFS_T_CRAWL_DIR_EXCL
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for SEFS_SET_CRAWL_SETTINGS

EV_LOG_HANDLE - Application Log: Log Handle

Data type: BALLOGHNDL
Optional: No
Call by Reference: No ( called with pass by value option)

ET_RETURN_CODES - Return codes per object type

Data type: SESH_T_RETURN_CODES
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SEFS_SET_CRAWL_SETTINGS Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_ev_log_handle  TYPE BALLOGHNDL, "   
lv_is_crawl_name_id  TYPE SEFS_S_CRAWL_NAME_ID, "   
lv_et_return_codes  TYPE SESH_T_RETURN_CODES, "   
lv_iv_update_immediately  TYPE SEFS_D_UPDATE_IMMEDIATELY, "   
lv_iv_log_handle  TYPE BALLOGHNDL, "   
lv_is_crawl_basic_ui  TYPE SEFS_S_CRAWL_BASIC_UI, "   
lv_is_crawl_advanced_ui  TYPE SEFS_S_CRAWL_ADVANCED_UI, "   
lv_it_crawl_host_info  TYPE SEFS_T_CRAWL_HOST_INFO, "   
lv_it_crawl_dir_excl  TYPE SEFS_T_CRAWL_DIR_EXCL. "   

  CALL FUNCTION 'SEFS_SET_CRAWL_SETTINGS'  "Set Crawl Settings
    EXPORTING
         IS_CRAWL_NAME_ID = lv_is_crawl_name_id
         IV_UPDATE_IMMEDIATELY = lv_iv_update_immediately
         IV_LOG_HANDLE = lv_iv_log_handle
         IS_CRAWL_BASIC_UI = lv_is_crawl_basic_ui
         IS_CRAWL_ADVANCED_UI = lv_is_crawl_advanced_ui
         IT_CRAWL_HOST_INFO = lv_it_crawl_host_info
         IT_CRAWL_DIR_EXCL = lv_it_crawl_dir_excl
    IMPORTING
         EV_LOG_HANDLE = lv_ev_log_handle
         ET_RETURN_CODES = lv_et_return_codes
. " SEFS_SET_CRAWL_SETTINGS




ABAP code using 7.40 inline data declarations to call FM SEFS_SET_CRAWL_SETTINGS

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!