ERPClimb logoERPClimb

Basis / Integration · Intermediate · Configuration

How to maintain an ALE distribution model in SAP (BD64)

Define which messages flow between which logical systems: create a model view, add a message type with sender and receiver, generate partner profiles, distribute the view to the receiver, check the model and send a test message.

APPLICABILITY
SAP S/4HANA on-premise and Cloud Private Edition and SAP ECC with ALE and the IDoc interface. The cited SAP Library pages come from SAP NetWeaver and application documentation that use BD64 in their own scenarios; the steps in BD64 are the same. This guide covers the model itself; partner profile details are in the WE20 guide.
TOOLS / TRANSACTIONS
SALE · BD54 · SCC4 · SM59 · BD64 · BD82 · BDCCC · BD10 · WE02

Your project assignment

A hypothetical landscape must send material master data from the development client ZDVCLNT100 to the quality assurance client ZQACLNT200 as message type MATMAS. Integration needs a model view for this flow, partner profiles on both sides and one test material sent successfully.

Where to start: URLs and transactions

SAP GUI transactions
SALE, BD54, SCC4, SM59, BD64, BD82, BDCCC, BD10, WE02
IMG path
SAP NetWeaver → Application Server → IDoc Interface / Application Link Enabling (ALE) → Modelling and Implementing Business Processes → Maintain Distribution Model and Distribute Views

Prerequisites

  • Authorization for ALE customizing in sender and receiver, and a customizing transport request where the model is transported.
  • Logical systems defined and assigned to the clients, and an RFC destination from sender to receiver named after the receiver's logical system.
  • An agreed message flow: message type, direction and which system owns the model view.

Configuration workflow

What the distribution model adds to ALE

All steps visible. Play or advance one stage at a time.

What the distribution model adds to ALELogical systems: Sender and receiver clients → RFC destination: Named after the receiver → Model view (BD64): Sender, receiver, message type → Partner profiles (BD82): Generated from the model → Distribute the view: Receiver knows the same model. If it works: IDoc status 03 and 53, Flow is unambiguous. If it fails: No IDoc created, Message type missing in the model1Logical systemsSender and receiver clients2RFC destinationNamed after the receiver3Model view (BD64)Sender, receiver, message type4Partner profiles (BD82)Generated from the model5Distribute the viewReceiver knows the same modelWORKSIDoc status 03 and53Flow is unambiguousFAILSNo IDoc createdMessage type missingin the model
The model says who may send what to whom; the partner profile says how. ERPClimb original instructional diagram · not a live SAP screenshot.

Hands-on implementation — step by step

Follow the screen navigation, replace example values with approved project values, and mark each step after checking its result. The screens below are original teaching aids, not live SAP screenshots. Progress is local to this visit.

0/8 completed
  1. 1

    BD54 and SCC4 → logical systems

    Check that a logical system exists for the sender and for the receiver client, and that each client has its own logical system assigned.

    BD54 and SCC4 → logical systemsERPClimb · illustrative screen
    Sender
    ZDVCLNT100 (hypothetical)
    Receiver
    ZQACLNT200 (hypothetical)
    Client assignment
    Checked in both systems

    Expected result: Both logical systems exist and are assigned.

    Why this matters: The model describes flows between logical systems, so they must exist first.

  2. 2

    SM59 → RFC destination for the receiver

    Check that the sender has an RFC destination with the same name as the receiver's logical system and that the connection test works.

    SM59 → RFC destination for the receiverERPClimb · illustrative screen
    RFC destination
    ZQACLNT200
    Connection type
    3 (ABAP connection)
    Test
    Connection test successful

    Expected result: The destination to the receiver works.

    Why this matters: Partner profile generation looks for the destination of the receiver logical system.

  3. 3

    BD64 → Create Model View

    Switch to change mode and create a model view with a short text and a technical name.

    BD64 → Create Model ViewERPClimb · illustrative screen
    Short text
    Material master to QA (hypothetical)
    Technical name
    ZMATDIST

    Expected result: The model view appears in the tree.

    Why this matters: The model view groups the message flows that belong together and is the unit that is distributed.

  4. 4

    BD64 → Add Message Type

    Select the view, choose Add Message Type and enter sender, receiver and message type. Save.

    BD64 → Add Message TypeERPClimb · illustrative screen
    Sender
    ZDVCLNT100
    Receiver
    ZQACLNT200
    Message type
    MATMAS

    Expected result: The view shows the receiver and the message type under the sender.

    Why this matters: This entry is what allows the message to flow from sender to receiver.

  5. 5

    BD64 → Environment → Generate Partner Profiles (BD82)

    Start the generation for the model view. Enter the partner system, version, packet size and output mode, execute and read the log.

    BD64 → Environment → Generate Partner Profiles (BD82)ERPClimb · illustrative screen
    Model view
    ZMATDIST
    Partner system
    ZQACLNT200
    Version / packet size
    3 / 1
    Output mode
    Immediate output for the test

    Expected result: The log lists the port and the outbound parameters created for the partner.

    Why this matters: Generated partner profiles follow the model exactly, which avoids manual differences.

  6. 6

    BD64 → Edit → Model View → Distribute

    Distribute the model view to the receiver. Then log on to the receiver and generate the partner profiles for the view there, so that inbound parameters exist.

    BD64 → Edit → Model View → DistributeERPClimb · illustrative screen
    Receiver of the view
    ZQACLNT200
    In the receiver
    BD82 for view ZMATDIST
    Inbound process code
    As proposed for MATMAS

    Expected result: The view exists in the receiver and inbound parameters are created.

    Why this matters: Both sides must know the same model to send and to accept the message.

  7. 7

    BDCCC → Check Distribution Model

    Run the check for the distribution model and read every message. Follow the links to the model, the RFC assignment and the partner profiles for anything reported.

    BDCCC → Check Distribution ModelERPClimb · illustrative screen
    Check
    Check Distribution Model
    Expected
    Unambiguous flow, partner profiles maintained

    Expected result: The check reports no error for the flow.

    Why this matters: The check confirms that the flow is unambiguous and that partner profiles exist for it.

  8. 8

    BD10 and WE02 → test message

    Send one test material with message type MATMAS to the receiver, then display the IDoc in the sender and in the receiver.

    BD10 and WE02 → test messageERPClimb · illustrative screen
    Material
    Test material (hypothetical)
    Message type / logical system
    MATMAS / ZQACLNT200
    Expected status
    03 in the sender, 53 in the receiver

    Expected result: One IDoc is created, sent and posted.

    Why this matters: A posted test message proves model, destination and partner profiles together.

Project acceptance checklist

Use this checklist to prepare evidence for your project lead.

0 of 4 checks marked. This does not certify the SAP configuration.

Validate your configuration

  • The distribution model check reports an unambiguous message flow with partner profiles for both sides.
  • A test message sent from the sender reaches status 03 there and status 53 in the receiver.

Common errors and what to check

  • no IDoc is created when the data is sent.

    Check: The message type is not in an active model view for the sender and receiver, or the sender logical system is not the one assigned to the client.

  • generating partner profiles fails because no RFC destination is found.

    Check: No destination exists with the name of the receiver logical system, or none is assigned.

  • the IDoc is sent but the receiver rejects it because no inbound partner profile exists.

    Check: The model view was not distributed to the receiver, or partner profiles were not generated there.

  • the model view cannot be changed in the receiver.

    Check: A view can be maintained only in the system that owns it.

More in the SAP Library

Need help with a configuration error? Open ERPClimb Copilot.

Technical references & further reading