Material master changes in one SAP system must reach a second SAP system through ALE. Which objects do you configure on both sides, in what order, and how do you send the first IDocs?
Say your answer out loud first.
Practise another way
On both systems I define the logical systems in ALE Customizing, SALE. In the sender I create an RFC destination in SM59 to the receiver's client and a tRFC port in WE21 that uses it.
I also create a distribution model view in BD64 with sender, receiver and message type MATMAS, and I distribute it to the receiver.
Then I set up partner profiles in WE20: outbound in the sender, inbound in the receiver with the process code. I send the first materials with BD10 and monitor with BD87.
1. Logical systems ALE talks between logical systems, not hosts. In ALE Customizing (SALE) define both names, for example ERPCLNT100 and MDGCLNT200, and assign each to its client.
A logical system is client-specific, and renaming one later (BDLS) is expensive, so agree names early.
2. Technical connection (sender)
- SM59: RFC destination of type ABAP connection to the receiver's client, with a technical user that has the receiver's ALE authorisations. ALE practice: name it like the receiving logical system.
- WE21: a tRFC port that points to that destination. IDocs then travel exactly once by tRFC.
3. Distribution model (sender) BD64: create a model view and add message type MATMAS from sender to receiver. Optionally add filters (for example only one plant or material type).
Filter objects come from BD95, and segment filters from BD56. Distribute the model view to the receiver, so both sides know it.
4. Partner profiles WE20, partner type LS:
- Sender: outbound parameters for MATMAS with receiver port, basic type and output mode: transfer IDoc immediately or collect IDocs (then RSEOUT00 sends them).
- Receiver: inbound parameters for MATMAS with the process code that names the posting function module, and trigger immediately or trigger by background program (RBDAPP01).
5. Send and keep in sync
- Initial load: BD10 (send material) for a selection.
- Ongoing changes: activate change pointers (BD61 general, BD50 per message type, BD52 fields) and schedule RBDMIDOC (BD21) for MATMAS.
- Monitor in BD87; trace an IDoc into the receiver from there.
Typical failures and where they show
- 29 or 56: model or partner profile missing.
- 02: destination or user wrong; test with the SM59 connection and authorisation tests.
- 51 in the receiver: data problem, for example a missing plant or unit; the application team fixes the data, then BD87 reprocesses.
2026 context This set-up is the same in SAP S/4HANA 2025 on-premise and Private Edition. For master data distribution SAP now also offers Master Data Integration and released SOAP and OData APIs; check what the receiving landscape expects before building a new ALE scenario.
Gives the full chain in order, distinguishes sender and receiver objects, names the output and processing modes and how first load and delta are sent.
Lists transaction codes without order or direction, forgets the model view or the logical systems, or cannot say how changes flow after the first load.
Forgetting to distribute the model view or create the receiver's inbound partner profile: the sender shows 03 while the receiver writes 56 or nothing.
- What is the difference between 'transfer immediately' and 'collect IDocs'?
- How would you send only materials of one plant?
- What does BDLS do, and why is it risky after a system copy?
- How does the receiver know which function module posts MATMAS?
5 official pages, 3 prep guides and 1 technical reference. Confidence: high. Checked 2 Dec 2026.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Technical reference Backs the answer.