Replication of business partner master data from the MDG hub to the connected systems and clients can be done using Application Link Enabling (ALE).
Set up RFC connections (in both directions: hub to client and client to hub
Set up the RFC connection: Run transaction SM59
(configuration of RFC connections) and provide the required RFC destination details.
To define a logical system in Customizing for SAP Netweaver
run transaction SALE
and then choose . Enter all target systems/clients as logical systems.
Maintain distribution model in SAP ERP (Outbound) for the distribution of Business Partner Master
Run transaction SALE
(Display ALE Customizing) and choose . Alternatively, run transaction BD64
(Display Distribution Model).
In change mode, create a new model. Choose the Create Model View
. Enter a short text and a technical name.
Choose Add Message Type
for the newly created model.
Enter names for the logical source and destination systems and choose message type BUPA_INBOUND_MAIN_SAVE_M
and BUPA_INBOUND_REL_SAVE_M
.
Note
For the maintenance of the distribution model in an SRM or a CRM system (Inbound), repeat steps 1 to 4 in the corresponding system.
Note
To distribute business partner data and business partner relationship data, configure your target system as described:
Run transaction SALE
and choose .
Define a serialization group.
Assign the message types listed below to the serialization group and enter the corresponding sequence numbers:
Message Type | Seq. number |
---|---|
BUPA_INBOUND_MAIN_SAVE_M | 1 |
BUPA_INBOUND_REL_SAVE_M | 2 |
Run transaction SALE
and choose and enter the following data:
Group | Message Type | Sending system | Obj/Proc |
---|---|---|---|
[Serialization group] | BUPA_INBOUND_MAIN_SAVE_M | [Sending system] | [value, e.g. 100] |
[Serialization group] | BUPA_INBOUND_REL_SAVE_M | [Sending system] | [value, e.g. 100] |
Make sure that incoming IDocs are not processed immediately. Run transaction WE20
and choose . For both inbound parameters proceed as described:
Select the inbound parameter.
Choose DetailScreenInboundParameter
.
On the Inbound options
tab, select Trigger by background program
.
Run transaction SE38
and create a variant for the Report RBDSER04. AsSerialization Group
enter the serialization group created above.
Create partner profile
Run transaction SALE
and choose . Alternatively, run transaction BD82
(Generate Partner Profile).
Select the newly created model and in the Partner System
field, enter the logical destination system.
Enter the ALE-User and the following values in the corresponding fields, and execute.
Field | Value |
---|---|
Version | 3 |
Pack Size | 100 |
Output Mode | Transfer IDoc immediately |
Inb. Parameters: Processing | Trigger immediately |
To verify your settings, run transaction WE20
and from the Partner Profiles
menu, choose Partner type LS
. Verify that Partner type LS
is the logical destination system.
In the detail screen, the chosen message types BUPA_INBOUND_MAIN_SAVE_M
and BUPA_INBOUND_REL_SAVE_M
must appear as outbound parameters.
Distribute model view to receiving system.
Run transaction SALE
and choose . Alternatively, run transaction BD64
.
Select the new model and choose
.Verify that the correct receiving system is marked and choose Enter
.
Verify within the receiving system that the model view was created.
Run transaction SALE
and choose . Alternatively, run transaction BD82
.
Select the distributed model and the partner system.
Enter the ALE-User and the following values in the corresponding fields, and execute.
Field | Value |
---|---|
Version | 3 |
Pack Size | 100 |
Output Mode | Transfer IDoc immediately |
Inb. Parameters: Processing | Trigger immediately |
To verify your settings, run transaction WE 20
and from the partner profiles menu, choose partner type LS. Verify that partner type LS is the logical destination system.
In the detail screen, the chosen message types BUPA_INBOUND_MAIN_SAVE_M
and BUPA_INBOUND_REL_SAVE_M
must appear as inbound parameters.
Replication ALE Using the Data Replication Framework (DRF)
Prerequisite: Receiving systems/clients are defined in the SLD (system landscape directory). For more information, see Customizing for Master Data Governance under
.Define technical settings for business system under
.To define a new business system and to maintain the logical system for the receiving systems, choose New Entries
.
Enter a business system, for example ABC_123 and a logical system, for example ABCCLNT123, select the Define Bus. Systems, BOs
view, and enter the BO Type
147 (Business Partner) and 1405 (Business Partner Relationship).
Make sure that under Sup. Key H
(Support Key Harmonization) flag is set.
Mark the BO Type
147 (Business Partner) and 1405 (Business Partner Relationship), select the Define Bus. Systems, BOs, Communication Channel
view, enter the C. Channel
Replication via IDoc, and select the value Key Mapping for the Key Harm.
field.
Note
If you select Harmonized IDs (no key mapping) for Key Harm.
you have to use ALE inbound. It is not possible to import data using MDG DIF (Data Import Framework).
Define replication model (replication of business partners) under
Using New Entries
, define a new replication model and enter a description.
Mark the line and choose Assign Outbound Implementation
. Create a new entry and enter the following values:
Outb. Impl.: 986_1 (Outbound Impl. for MDG BP via ALE)
Communication Channel: Replication via IDoc
Filter time: 2 (filter after change analysis)
Mark the line and choose Assign Target System for Repl. Model/Outb.Impl
. Create a new entry and enter the business system name for the receiving system created in the step before.
Choose Assign Outbound Parameter
. Create a new entry, enter the following values, and save.
Outb. Parameter: PACK_SIZE_BULK
Outb. Parameter value: 100 (example value)
Return to the Define Replication Model
view. Optionally, you can also add an expiration time for the log.
Choose Save
to save your entries.
Mark the newly created replication model, and choose Activate
.
For more information, see Master Data Governance
under .
Define filter criteria.
In case different business partners are sent to receiver systems do the following:
Select your replication model and choose Create
.
Enter filter values to determine which business partners shall be distributed, or which won’t, for example, due to number range settings for business partner creation.
Run transaction DRFF
or in SAP NetWeaver Portal or SAP NetWeaver Business Client, choose .
Enable monitoring of IDoc posting (ALE Audit)
In the hub system: Run transaction BD64
to maintain a distribution model and define the direction MDG client to MDG hub.
For more information about distribution models, see Distribution Model.
Open transaction WE20
and navigate to the partner profile for the client system.
Enter the following inbound parameters without changing further data:
Message type: ALEAUD
Process code: AUD2
Replicate the distribution model to the target system using transaction BD64
.
In the client system: To generate a partner profile open transaction SALE
and choose . Then select .
Open transaction WE20
, navigate to the partner profile and enter the outbound parameter ALEAUD.
To configure the replication of audit documents open the transaction SALE
and choose .
You can schedule the report RBDSTATE as a background job to run on a regular base.