How is Realignment Triggered?
Realignment is responsible for the maintenance of the look-up tables. Assignments between BDoc types and sites are administered in the look-up tables. If a previously made assignment is changed (for example, if new objects are entered, old objects are deleted, or distribution criteria are changed), this must then be reflected in the relevant look-up table.
Changes to assignments not only affect the look-up tables, they also change the respective datasets for the responsible sites. The realignment has to ensure that the distributed local datasets remain consistent with the status of the centrally administered look-up tables and of the consolidated database.
Realignment can be triggered by:
Creation of a BDoc type
Deletion of a BDoc type
Changes to the value of a distribution-relevant
criteria field for a BDoc type
Assignment of a site to a subscription
Deletion of the assignment of a site to a subscription
There is a difference between:
Object-based realignment (minor realignment)
Area-based realignment (major realignment)
Interlinkage realignment
Minor realignment is responsible for marginal clean-ups. It is triggered when:
A new BDoc type is created
The responsible sites are determined on the basis of the subscriptions. An entry is added to the relevant look-up table and the data is prepared for the responsible sites.
A BDoc type is deleted
A BDoc type has a deletion flag. The corresponding entries in the look-up table are extracted. The BDoc type is made available to the affected sites for retrieval, together with any dependent information and the deletion flag.
A value of a criteria field is changed
If the value of a criteria field is changed, you must first check which sites were previously responsible for the BDoc type. Then the sites that are newly responsible are determined, and compared with the old status. Records are made available for the newly responsible sites that previously had no entries in the look-up table. Then the sites that are no longer responsible are determined, and compared with the old status. For the sites that are no longer responsible, the entry in the look-up table is deleted and a corresponding deletion record is sent.
A major realignment occurs:
When a site is assigned to a subscription
When the assignment of a site to a subscription is deleted
Interlinkages are relationships between intelligent replication objects. They can be used, for example, if customers are to be distributed in a way that is dependent on other customers. A table is then created that puts customer records in relation to each other.