Configuring Back-End-Driven SyncBOs

To replicate application data using a SyncBO of type Back-End-Driven (T51), you must first configure the following settings in the Mobile Component Descriptor (MCD):

·        Mapping between the SyncBO ID and the object ID used by the back end (mandatory)

The backend system uses its own object IDs. When the back end triggers the replication process to the server, the server maps the object ID transferred by the back end to the actual SyncBO ID.

·        Delay with which the job is to be scheduled (optional; default: 300 seconds)

The replication job is scheduled when the back end triggers the replication process to the server, using the interval (in seconds) defined for the SyncBO.

If the interval is defined as 600, the job is scheduled 10 minutes (600 seconds) after the server receives the triggering event.

·        Package size (optional; default: 1,000 rows)

Bundle size of the number of header records handled by the generated replicator.

The package size also influences the number of parallel replicators scheduled. The number of replicators is determined by the package size and the number of records to be replicated: The smaller the package size, the more replicators are scheduled to replicate the same number of records.

Also you must determine the package size if one header record contains a large number of items.

For more information on SyncBOs of type Back-End-Driven (T51), see Note 711983.

Procedure

Configuring the Object ID and the Interval

S...

       1.      Start the transaction mi_mcd.

       2.      Enter the application name and choose Display MCD.

       3.      Choose Display <-> Change.

       4.      Choose the SyncBO tab page.

       5.      Enter the following settings for each SyncBO of type Back-End-Driven:

0     The object ID in the SyncBO-ObjectID column.

0     The delay with which the job is to be scheduled in the Interval column.

       6.      Choose Save.

For more information on editing the Mobile Component Descriptor, see Mobile Component Descriptor .

Configuring the Package Size

Create the following entries in the table MEMSD_DEP:

Package Size Configuration

Field Name

Field Value

NAMESPACE

(initial)

NAME

T51SYNCBOCONFIG

VERSION

(initial)

TYPE

SYNCBO

TYPE_INDEX

00000000001

DEPENDENCY_NAME

NAME

DEPENDENCY_VALUE

<SyncBO ID> (for example, SAP_EXM001)

NAMESPACE

(initial)

NAME

T51SYNCBOCONFIG

VERSION

(initial)

TYPE

SYNCBO

TYPE_INDEX

0000000001

DEPENDENCY_NAME

PACKAGE

DEPENDENCY_VALUE

<rows>, (for example, 1,000 )

Alternatively, you can change the value of the ldf_package parameter by using the SyncBO exit of the generated replication function module.