Creating Replication Objects
You create replication objects to distribute data from BDoc types, via sites.
You cannot create replication objects in a production system, but only in a development or test system. Replication objects created there are then activated, corresponding function modules are generated, and a transport request, which has to be released explicitly so that the replication objects are transferred into the production system (target system), is created.
You have selected the object type Replication Object in the Object Type
selection list.
If you are creating replication objects in the context of special developments in SAP systems, you should pay particular attention to note 423443.
Perform the following steps:
Choose the function from the application menu, or choose the corresponding icon from the application toolbar.
The Replication Object Wizard
then starts, which helps you to create a new replication object.
Choose Continue
and then select a Business Document Type
in the next screen. The following are available for selection:
Synchronization BDoc Type
This BDoc type is used for exchanging data between the mobile clients and the CRM server. The BDoc segments are mapped
to the corresponding CDB tables.
There is, at most, one messaging BDoc type for a synchronization BDoc type.
Messaging BDoc Type
A messaging BDoc type is processed on the CRM server only. The BDoc segments are not mapped
to CDB tables. This means that the messaging BDoc type is distributed on a simple
basis only, without the involvement of the consolidated database.
There can be several synchronization BDoc types for one messaging BDoc type.
Choose Continue
and then select a Business Document
in the next screen. You can only select BDoc types for which a replication object has not yet been defined.
In the valid namespace (beginning with Y or Z), enter a unique three digit identifier as the short ID for the replication object, and select the replication type that you want. Depending on the BDoc type, the replication object may be:
Intelligent:
An intelligent BDoc type is one for which you can specify potential distribution criteria and parent objects for the replication object, in addition to the short ID.
An intelligent replication object can handle and distribute information at object level. It always has its own look-up table. This table is maintained by means of rules, which can be determined for this intelligent replication object.
Simple intelligent (sync/msg):
A simple intelligent BDoc type is one for which you can specify potential distribution criteria for the replication object, in addition to the short ID.
A simple intelligent replication object is then able to deal with, and distribute, information at object level. However, it does not have its own look-up table, and thus realignment is not carried out automatically. Distribution takes place using the recipient list, which must be recalculated each time.
A simple intelligent replication object can be neither a parent object, nor a dependent replication object (and thus cannot have a parent object).
Dependent:
A dependent BDoc type is one for which you can specify a parent object, in addition to the short ID.
Dependent replication objects are then distributed using part of the look-up table of a higher-level intelligent replication object. These objects therefore do not have their own look-up table, and no potential distribution criteria are defined for them. They follow the higher level replication object when they are distributed.
Caution
Assign a dependent replication object only to intelligent replication objects that have not yet been assigned to a publication.
Bulk (unfiltered):
A Bulk
BDoc type is one for which distribution at object level is neither necessary nor practical.
In the case of replication objects of type Bulk
, the corresponding BDocs are distributed in their entirety to all sites that have subscribed to the corresponding publications. There is a single look-up table for such object types.
Simple bulk (msg):
A BDoc type of the type Simple Bulk
is one for which distribution at object level is neither necessary nor practical.
In the case of replication objects of the type Simple Bulk
, the corresponding BDocs are distributed in their entirety to all sites that have subscribed to the corresponding publication.
However, these object types do not have their own look-up table, and so realignment is not carried out automatically. Distribution takes place using the recipient list, which must be recalculated each time.
Select Continue
to go to the next screen. In the case of intelligent replication objects and simple intelligent replication objects, you now have to establish the potential criteria fields for data distribution.
This step is not necessary for replication objects of type Bulk
, and for dependent replication objects.
To select the criteria fields, select the required operators for each criteria field in the table that is displayed.
The following table is displayed:
Column |
Display |
|---|---|
Segments |
The selected segment. |
Fields |
The criteria field that has been assigned for distribution. |
Op |
The operators for the distribution criterion:
Interlink |
Select the operator Interlink if, and only if, you want to identify the field as a target field for an interlinkage (not possible for simple intelligent replication objects). The selected criteria field becomes the criteria field of type Interlink
(Crittype I).
For all other operators the selected criteria field becomes a criteria field of type Direct
(Crittype D).
Note
Even though all of the segment fields of a BDoc type can be used as criteria fields, they are not necessarily useful. For this reason, you can store screen texts to help users choose the most appropriate criteria fields. See SAP Note 488646
.
Select Continue
to go to the next screen. In the case of intelligent replication objects you can, and in the case of dependent replication objects you must, select the parent object that the dependent object should follow in the distribution. This step is not necessary for replication objects of the type Bulk
, and for simple intelligent replication objects.
For intelligent replication objects the selected criteria field becomes a criteria field of type Referential
(Crittype R).
To select a parent object in the left-hand column of the displayed table, select a field in the corresponding line of the right-hand column, and choose Continue
to reach the next screen.
To create the new replication object, choose Complete
.
If the replication object was successfully created, choose from your SAP Easy Access user menu, to check whether missing indexes have to be regenerated.