Configuring SAP R/3 for the SAP BAPI Adapter

Configuring the Distribution Model

You need to complete the following in SAP R/3 to run a RFC BAPI inbound.

Figure 1–9 SAP R/3 System Window

SAP R/3 System Window

ProcedureTo Name the Logical System

Transaction: SALE

  1. In the SAP R/3 System home window (shown above), type SALE into the command field and click Enter to display the Distribution (ALE) Structure window.

    Distribution (ALE) Structure
  2. Expand the tree to display IDoc Interface / Application Link Enabling (ALE) > Basic Settings > Logical Systems > Define Logical System.

  3. Click the Activity button to select Define Logical System. This displays the Logical Systems Overview window.

  4. Click the New entries button to display the New Entries window.

  5. Enter the logical name for your SAP Adapter using capital letters and a brief descriptive name.

    New Entries Window
  6. Click Save. The Change Request Entry window appears.

    Change Request entry window
  7. Click the Create request button, to display the Create Request window.

  8. Enter a short description (e.g., Adapter Test) and click Save. The Change Request entry window appears.

  9. Click Enter to add the new data into the system. You are now returned to the Logical Systems Overview window, and the new Logical System appears in the list.

  10. Click Save and select the Back button repeatedly until the SAP R/3 System window appears

ProcedureTo Specify the Distribution Model


Caution – Caution –

We recommend that you use the Z prefix when defining a name. This prefix is reserved for external use, and will not conflict with any SAP naming conventions. Using the Z prefix will also prevent any interference with standard SAP functionality or conflicts with standard SAP terminology.

Transaction: SALE


  1. In the SAP R/3 System home window, type SALE into the command field and click Enter to display the Distribution (ALE) Structure window.

    Distribution Structure Model
  2. Click the Activity button next to Maintain Distribution Model and Distribute Views to display the Maintain Distribution Model window.

    Maintain Distribution Model
  3. Select the Menu path Edit > Model View > Create to display the Create Model View dialog box.

    Create Model View
  4. Enter the logical name you want for the new Distribution Model View, along with a brief descriptive name or message (for your own use).

  5. Click Continue (Enter), which returns you to the previous window. Your new Model View now appears in the tree, as shown in the following figure.

    Maintain Distribution Model Tree
  6. Highlight the new entry and select Add Message Type. This displays the Add Message Type dialog box.

    Add Message Type
  7. Type the desired values for the four parameters into the text boxes, or select them from the drop-down menus. For example, CREMAS is the message type used for Creditor Master Data.

  8. Select Continue (Enter), which returns you to the previous window. The values you select now appear in the Distribution Model tree, as shown in the following figure.

    Distribution Tree Model
  9. Save your entry, click Back and then Cancel to return to the Distribution Structure window.