The exchange process detects changes from transaction updates and records the change activity into an exchange table /SYCLO/<fieldname>_EX. The exchange table information is used by the mobile data object class handler to accomplish the delta exchange process so that the mobile application only sends and receives delta data using a time stamp.
The source code plug-in is implemented using the enhancement framework. To implement this, either the multi-instance BADI or the enhancement spot must include source code to update the exchange table for the current change. In order to implement the enhancement, the location of the enhancement must be identified. The location of the enhancement should be such that the old/new values of the changed records are available. These old/new values will be used by the exchange process to identify changes based on field selections and filter conditions configured for the exchange object.
The source code plug-in is either an include program /SYCLO/<module>_EFI_<key field name>_EX_INCL or an update module /SYCLO/<module>_<exchange name>_SAVE_EX. If the enhancement is being implemented in an UPDATE module, the plug-in is an INCLUDE program. Otherwise, it is an UPDATE module (the INCLUDE program is called within this module) to ensure the exchange table is updated in an UPDATE TASK.
The INCLUDE program is then assigned to an exchange object in the Agentry SAP Framework Configuration portal to activate the actual change detection process.