cancel
Showing results for 
Search instead for 
Did you mean: 

link between ALE and EDI

Former Member
0 Kudos

hello every body,

previously i asked doubt regarding ALE and EDI. one our sdn members said that ALE and EDI r interlinked means ALE acts as bridge and EDI is means to send data and IDOC is like a container which is used to send data. SO i want to know is without ALE, EDI cannot be configured in the system?

2. ALE can be used to trasfer data between sap and non sap systems but why mostly it is used to transfer data between sap systems only.

3.when RFC and IDOCS r used ? pls any body tell me with example.

4.when BAPIS r used what is the use?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

ALE is used for communicating bet'n sap system to sap system.

EDI is used to communicate bet'n non sap system to sap system vice versa.

incoming interval is bet'n intervals 51-100.

outgoing interval is bet'n 1-50.

Answers (3)

Answers (3)

Former Member
0 Kudos

ALE is the interface between the sap and sap which send the data n the form of the idoc which is the data container

and it is the sap own property

Where as EDI is the third party interface which sends the data in the form of the transalator

Former Member
0 Kudos

hi,

For ALE and EDI the interlink is IDOC only,the process is different is for ALE and EDI but the containre of the data is IDOC only.

Thanks,

Madhukar

Former Member
0 Kudos

Hi Krishna Prasad,

ALE :-

ALE is Application linking & Enabling which enables to interface SAP with other modules.

EDI :-

EDI concept in SD: the EDI concept is intended to realize the sales and distribution process completely automatically with the help of electronical documents. These documents are sent from one customer to another, are processed mostly on the background and give a possibility to realize the sales process extremely efficiently.

If MM-customer would like to purchase the goods then he creates the IDOC of type ORDERS and send it to SD-customer. On the SD-side the IDOC is processed via the function module IDOC_INPUT_ORDERS and creates the sales order. As confirmation the SD-side can send to MM-side the Order-Response IDOC (function IDOC_OUTPUT_ORDERS). The MM-customer can every time send a change to the existing order, then on SD side the ORDCHG IDOC will be processed. It can change the order like in VA02. The creation of the invoice can be made via IDOC of message type INVOIC (function IDOC_OUTPUT_INVOIC).

So, the process can be realized completely automatically between SD and MM partners with the help of IDOCs: ORDERS, ORDCHG, ORDRSP, and INVOIC.

That's all concerning the SD-EDI.

Additional processes in SD, where EDI are used:

1) application of delivery schedules to the scheduling agreement: IDOC of type DELINS

2) creation of a delivery order to the scheduling agreement: IDOC of type DELORD

3) creation of external agent service delivery to scheduling agreement: IDOC of type EDLNOT

4) creation of credit advice / credit memo in the frames of self-billing: IDOCs of type GSVERF, SBWAP and for external invoice creation SBINV.

It is all processes which are realized in the SD module via EDI.

IDoc :-

IDOCS are intermediary documents which are like CARRIERS of the data

IDOCs are safe to transfer data, but less volume of data. User is not allowed to access (modify) the data like PSA. IDOCs have 3 parts.

1. Control Record - SOURCE & TARGET details,

2. Data Record - Here comes your query....

Info IDOC - It contains all the technical details related to the data load i.e. Request NO, No of Data Packages, USER, DATE, TIME, LOGICAL SYSTEM, etc. Info IDOC is also ONE segment, the 1 sr segment.

Here data will not be there.

Data IDOC - These are the ones which hold the data. The total no of records are made into Data IDOCs i.e. if 99 records are there then 99 Data IDOCs will be there and all these will be divided into 99 segments.

Hence the total number of Segments in IDOC is 100.

Info IDOC + Data IDOCs = Total no of Segments

1 + 99 = 100.

3. Status Record - Here the status of the data transfer will be available.

Go through this, You will get better idea on EDI,ALE,IDOCS

The interface concept of the classic R/3 is based on two different strategies: Remote Function Calls (RFC) and data exchange through IDoc message documents. RFC makes direct and synchronous calls of a program in the remote system. If the caller is an external program it will call an RFC-enabled function in R/3 and if the calling program is the R/3 system it will call an RFC-function in another R/3-system or it will call a non-R/3 program through a gateway-proxy (usually rfcexec.exe). BAPIs are a subset of the RFC-enabled function modules, especially designed as Application Programming Interface (API) to the SAP business object, or in other words: are function modules officially released by SAP to be called from external programs.

IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.

While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.

The philosophical difference between EDI and ALE can be pinned as follows: If we send data to an external partner, we generally speak of EDI, while ALE is a mechanism to reliable replicate data between trusting systems to store a redundant copy of the IDoc data. The difference is made clear, when we think of a purchase order that is sent as an IDoc. If we send the purchase order to a supplier then the supplier will store the purchase order as a sales order. However, if we send the purchase order via ALE to another R/3 system, then the receiving system will store the purchase order also as a purchase order.

BAPI's :-

BAPI (Business Application Programming Interface) is a set of interfaces to object-oriented programming methods that enable a programmer to integrate third-party software into the proprietary R/3 product from SAP. For specific business tasks such as uploading transactional data, BAPIs are implemented and stored in the R/3 system as remote function call (RFC) modules.

BAPIs (Business Application Programming Interfaces) are the

standard SAP interfaces. They play an important role in the

technical integration and in the exchange of business data

between SAP components, and between SAP and non-SAP

components. BAPIs enable you to integrate these components

and are therefore an important part of developing

integration scenarios where multiple components are

connected to each other, either on a local network or on the Internet.

BAPIs allow integration at the business level, not the

technical level. This provides for greater stability of the

linkage and independence from the underlying communication

technology

Hope this Clarifies Your Doubts and Please Reward If Really Helpful,

Thanks and Regard,

Sateesh.Kandula