!--a11y-->
Defining Custom Code in a SyncBO 
You have to add custom code to the synchronizer to ensure correct synchronization behavior.
...
1. Start transaction merep_sbuilder.
2. Enter the SyncBO ID
3. Choose SyncBO ® Maintain Exit…
4.
Select the synchronizer function module into which
you want to add your code and choose
Copy.
5.
Select one of the
symbols to the right of the text, defining the
segment of the function module.
6. Insert the ABAP coding.
7.
Choose
Save.
8.
Choose
Source Code to
display the source code of the selected function module and perform a syntax
check by choosing
Check.
9.
Choose
Save if the
function module does not have a syntax error.
10. Choose Back.
11.
Generate the synchronizer again by choosing
Generate/Activate
SyncBO.

The custom code you inserted is retained even if the synchronizer is generated again.
The inserted ABAP program is executed for each synchronization with the mobile device and for each replication.
You can transport your custom code with the SyncBO definition.
