SAP SET_ES_CHANGE_POINTER Function Module for function module to set enterprise search single change pointer
SET_ES_CHANGE_POINTER is a standard set es change pointer SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for function module to set enterprise search single change pointer 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 set es change pointer FM, simply by entering the name SET_ES_CHANGE_POINTER into the relevant SAP transaction such as SE37 or SE38.
Function Group: MDG_SDQ_ES_CHANGE_POINTER
Program Name: SAPLMDG_SDQ_ES_CHANGE_POINTER
Main Program: SAPLMDG_SDQ_ES_CHANGE_POINTER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1

Function SET_ES_CHANGE_POINTER 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 'SET_ES_CHANGE_POINTER'"function module to set enterprise search single change pointer.
EXPORTING
* IV_HOME_SOFTWARE_COMPONENT = "Software Component
IV_OBJECT_TYPE_ID = "Object Type
IV_OBJECT_ID = "General ID
* IV_CREATED = "
* IV_MODIFIED = "
* IV_DELETED = "
* IV_IGNORE_CONNECTOR_NOT_AVL = ABAP_TRUE "Ignore the request if connector is not available
* IV_IGNORE_JOB_RESTART_FAIL = ABAP_TRUE "Ignore job restart failure
IMPORTING Parameters details for SET_ES_CHANGE_POINTER
IV_HOME_SOFTWARE_COMPONENT - Software Component
Data type: ESH_E_OM_SYSRELOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_OBJECT_TYPE_ID - Object Type
Data type: ESH_E_OM_OBJECT_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
IV_OBJECT_ID - General ID
Data type: ESH_E_IF_GENERAL_IDOptional: No
Call by Reference: No ( called with pass by value option)
IV_CREATED -
Data type: ABAP_BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_MODIFIED -
Data type: ABAP_BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_DELETED -
Data type: ABAP_BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_IGNORE_CONNECTOR_NOT_AVL - Ignore the request if connector is not available
Data type: ABAP_BOOLDefault: ABAP_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_IGNORE_JOB_RESTART_FAIL - Ignore job restart failure
Data type: ABAP_BOOLDefault: ABAP_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SET_ES_CHANGE_POINTER 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_iv_home_software_component | TYPE ESH_E_OM_SYSREL, " | |||
| lv_iv_object_type_id | TYPE ESH_E_OM_OBJECT_TYPE, " | |||
| lv_iv_object_id | TYPE ESH_E_IF_GENERAL_ID, " | |||
| lv_iv_created | TYPE ABAP_BOOL, " | |||
| lv_iv_modified | TYPE ABAP_BOOL, " | |||
| lv_iv_deleted | TYPE ABAP_BOOL, " | |||
| lv_iv_ignore_connector_not_avl | TYPE ABAP_BOOL, " ABAP_TRUE | |||
| lv_iv_ignore_job_restart_fail | TYPE ABAP_BOOL. " ABAP_TRUE |
|   CALL FUNCTION 'SET_ES_CHANGE_POINTER' "function module to set enterprise search single change pointer |
| EXPORTING | ||
| IV_HOME_SOFTWARE_COMPONENT | = lv_iv_home_software_component | |
| IV_OBJECT_TYPE_ID | = lv_iv_object_type_id | |
| IV_OBJECT_ID | = lv_iv_object_id | |
| IV_CREATED | = lv_iv_created | |
| IV_MODIFIED | = lv_iv_modified | |
| IV_DELETED | = lv_iv_deleted | |
| IV_IGNORE_CONNECTOR_NOT_AVL | = lv_iv_ignore_connector_not_avl | |
| IV_IGNORE_JOB_RESTART_FAIL | = lv_iv_ignore_job_restart_fail | |
| . " SET_ES_CHANGE_POINTER | ||
ABAP code using 7.40 inline data declarations to call FM SET_ES_CHANGE_POINTER
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.| DATA(ld_iv_ignore_connector_not_avl) | = ABAP_TRUE. | |||
| DATA(ld_iv_ignore_job_restart_fail) | = ABAP_TRUE. | |||
Search for further information about these or an SAP related objects