Start of Content Area

Procedure documentation Defining Custom Code in a SyncBO Locate the document in its SAP Library structure

Use

You have to add custom code to the synchronizer to ensure correct synchronization behavior.

Procedure

...

       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 This graphic is explained in the accompanying text Copy.

       5.      Select one of the This graphic is explained in the accompanying text symbols to the right of the text, defining the segment of the function module.

       6.      Insert the ABAP coding.

       7.      Choose This graphic is explained in the accompanying text Save.

       8.      Choose This graphic is explained in the accompanying text Source Code to display the source code of the selected function module and perform a syntax check by choosing This graphic is explained in the accompanying text Check.

       9.      Choose This graphic is explained in the accompanying text Save if the function module does not have a syntax error.

   10.      Choose Back.

   11.      Generate the synchronizer again by choosing This graphic is explained in the accompanying text Generate/Activate SyncBO.

Note

The custom code you inserted is retained even if the synchronizer is generated again.

Result

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.

 

End of Content Area