ALE Development and Configuration for New System using SALE

ALE (Application Link Enabling) is used to support the construction and operation of distributed applications, through the exchange of data messages ensuring data consistency across loosely coupled SAP applications, using both synchronous and asynchronous communications without the need for a central database.

ALE is comprised of three layers:

  • Application services
  • Distribution services
  • Communication services

ALE helps to:

  • Distribute applications across several SAP systems, such that centralized/decentralized functions can operate in the same company area.
  • Maintain and distribute master data elements from a central system.
  • Maintain and distribute control data objects from a central system with the synchronized configuration data (important to decentralize functions yet keep them integrated).
  • Link R/2 and R/3 systems.
  • Link SAP and external systems, via IDocs (Intermediate Documents).

SAP systems consists of more than one client – technically 1000 client can be created in one system. So we need to identify which client is the business client. Preciously SAP is client based (A mandatory field while login). Each client is defined with a logical system name that is defined in SALE. (Sap System linking and enabling). Each system is identified by SID, client by 3 digit number. So, Logical system number should be <SID>CLNT<CLNT_Number>

To develop and configure a new custom ALE scenario, comprises 5 steps:

  1. Design and develop the custom IDoc with it’ s segments and a new message type
  2. Configure the ALE environment with the new IDoc and message type (customer model,partner profiles and linking IDoc to message type)
  3. Develop the outbound process which does the following:
    1. Populates the custom IDoc with control info and functional data
    2. Sends the IDoc to the ALE layer for distribution
    3. Updates status and handles errors
  4. Configure the ALE inbound side (partner profiles with inbound process code)
  5. Develop the inbound process which does the following:
    1. Reads the IDoc into a BDC table; selects other data that is required
    2. Runs transaction using call transaction or BDC session
    3. Updates status and handles errors

Defining RFC Connection – SM59

  1. SM59 – Provide the name of the logical system
  2. Select the connection type ‘3’
  3. Description about the connection
  4. Technical settings (Host name and Instance No)
  5. Logon Security (Client, UID, PWD, Logon Language)
  6. Save the connection, Test Connection, Remote logon

To identify the systems easily by name (There should be unique SID in the Landscape.)
1. Goto > SALE > Basic Settings > Logical System
2. Define Logical System (<SID>CLNT009)
3. Assign logical system to the client.

View/Download the Complete Guide on ALE Configuration and Development and check out the document on configuring BI Server with ECC.

IDOC Creation Procedure – Step by Step Instructions

After the ALE configuration, it’s all about the IDoc development. This Idoc Creation Procedure (Step by step Guide) will teach you with all the instructions on creation of Inbound and Outbound IDOC with screen shots for better understanding.