Entering content frame

Function documentation How is Realignment Triggered? Locate the document in its SAP Library structure

Use

The 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 (e.g. if new objects are entered or old objects are deleted or if distribution criteria are changed), this must then be reflected in the relevant look-up table.

Changes to the assignments do not only affect the LookUp tables, they also change the datasets for the corresponding 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.

Prerequisites

Realignment can be triggered by:

·        the creation of a BDoc type

·        the deletion of a BDoc type

·        a change made to the value of a distribution-relevant criteria field of a BDoc type

·        the assignment of a site to a subscription

·        the deletion of the assignment of a site to a subscription

Features

There is a difference between:

·        object-based realignment (minor realignment)

·        area-based realignment (major realignment)

·        interlinkage realignment

Object-based realignment (minor realignment)

Minor realignment is responsible for marginal clean-ups. It is triggered when:

·        a new BDoc type is created.

The sites affected 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 relevant sites.

·        a BDoc type is deleted.

A BDoc type has a deletion flag. The corresponding entries in the look-up table are extracted and the BDoc type is made available to the affected sites for collection, together with any dependent information and with 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 new sites which will now be responsible are determined and are compared with the existing status. Records are created for the newly responsible sites for which there are currently no entries in the look-up table. Then the sites that are no longer responsible are determined and brought into line with the old version. The entry in the look-up table is deleted and a corresponding deletion record is sent for the sites that are no longer responsible.

Area-based realignment (major realignment)

A major realignment occurs:

·        when a site is assigned to a subscription

·        when the assignment of a site to a subscription is deleted

Interlinkage realignment

Interlinkages represent 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 forms a relationship between customer records.

 

 

Leaving content frame