ALE / IDOCs in SAP

Hello friends if you are looking for notes of SAP IDOCs or SAP ALE for your project then here you will get the details for it. SAP ALE IDOCs are widely used in projects of SAP whether it will implementation, support project.

ALE (Application Link Enabling) and IDocs (Intermediate Documents) are key components of SAP’s integration technology used for exchanging data between different systems within an organization or between external partners.

ALE / IDOCs Terminology

ALE – Application Linking & Enabling

IDoc – Intermediate Document

 EDI – Electronic Data Interchange

ALE Objective

What is ALE in SAP?

It is a set of Tools,programs and data definition that provides the mechanism for distributing functionality and data across multiple system.

In SAP, ALE stands for Application Link Enabling. It is a technology framework and methodology used for enabling communication and integration between different SAP systems, as well as between SAP systems and external applications or platforms. ALE facilitates the exchange of business data, transactions, and master data in a distributed computing environment.

What Data can be Exchanged in SAP ?

Transaction Data –  SD, MM, FI, CO, etc.

Master Data – Material, Customer, Vendor, etc.

Control Data – Organizational Reference Information Plants, Sales Orgs, etc.

Data required to enable tightly coupled, distributed applications – Separate HR, Separate Treasury, etc.

What are Features of ALE / IDocs?

  Distributed System yet integrated with SAP R/3
  Based on ʻApplication-to-Application integration using ʻMessage Architectureʼ
  Reliable communication
  Data is exchanged using “IDocs”
  Support both R/2, R/3 and External system
  If network problem, message is buffered
  ALE support backward compatibility
  ALE ensure that , data is transferred only once

What is ALE Scenario in SAP?

In SAP, ALE stands for Application Link Enabling. It is a technology framework and methodology used for enabling communication and integration between different SAP systems, as well as between SAP systems and external applications or platforms. ALE facilitates the exchange of business data, transactions, and master data in a distributed computing environment.

What are the Components of ALE?

The components of ALE (Application Link Enabling) in SAP consist of various elements that work together to facilitate communication and data exchange between different systems within an organization or between external partners.

ALE Evolve following component’s –

  • Distribution Services – Recipients, Formats and Filters the data, Creates IDocs ( Intermediate Documents )
  • Application Services – This is where the SAP applications ( SD, FI, MM etc. ) generate their data and documents.
  • Communication Services – It involves the TCP/IP, RFC, tRFC
  • Development Tools –
    • Model Maintenance Tool – used for configuring the flow of data between system
    • Shared Master Data(SMD)tools – for distributing master data
    • Customization parameters – within SAP for IDoc filtering and conversion.
  • Customizing Tools – Tools for creating and modifying IDocs

Services:
Application Services
Distribution Services
Communication Services

Tools:
Customizing Tools
Development Tools

IDOCs Concept in SAP


In SAP, IDocs (Intermediate Documents) are a key component of the Application Link Enabling (ALE) technology, used for exchanging business documents and information between different systems within an organization or between external partners. IDocs provide a structured and standardized format for representing business data, allowing seamless integration and communication between disparate systems.

IDOCs Structure in SAP

In SAP, IDocs (Intermediate Documents) have a structured format that includes various segments to represent different aspects of the data being exchanged.

What is Control Record in IDOCs?

The very first record of an IDoc package is always a control record. The structure of this control record of the structure EDIDC and describes the contents of the data contained in the package. The control record goes to table EDIDC

What is Message Type in IDOC?

Message Type indicates How to Know what the data Means Data Exchanged by IDOC and EDI is known as Messages Message of same kind belong to the same message type Message types are stored in table EDMSG

What is Data Record in IDOC?

All records in the IDoc, which come after the control record, are the IDoc data. They are all structured alike, with a segment information part and a data part, which is 1000 character in length, filling the rest of the line. Data & Segment info is stored in EDID4 for release 4.x and EDID3 for release 2.x and 3.x.

What is Status Record in IDOC?

Information about the IDoc status like: IDoc identification number,Status number – table verified, IDoc type, Direction, Data and time stamp; Structure:, EDIDS.

What is Status of IDOC in SAP?

  • A two-digit status is assigned to an IDoc to allow the processing to be monitored.
  • The statuses for outbound IDocs are between ’01’ and ’49’, while the statuses for inbound IDocs begin with ’50’.
  • Status confirmation when using port type ‘File’: The external system writes the status records in a status file, which is read by the R/3 System. In this case, the confirmation always refers to outbound IDocs.
  • Status confirmation using IDoc type SYSTAT01: The system sending the confirmation writes the status records as data records of IDoc type SYSTAT01. All port types and both directions can be entered.

IDOC Type/ Message Type/ Processing Function Module

Valid combination of Message type and IDOC type are stored in table EDIMSG.
Combination of message type and IDOC type determine the processing algorithm. This is usually a function module and is set up in table EDIFCT.

Outbound Processing in SAP IDOCs

Outbound processing in SAP IDoc refers to the process of generating and sending IDocs from an SAP system to external systems or partners. It involves extracting relevant data from the SAP system, formatting it into IDoc structures, and transmitting it to the designated receivers.

Outbound processing: direct

Querying the Model

Handover IDoc to ALE

Receiver determination

Segment filter

Field value conversion

2 thoughts on “ALE / IDOCs in SAP”

Leave a Comment