You are on page 1of 8

EDI, stands for Electronic Data Interchange, is the electronic exchange of structured business

data between different applications.

EDI Architecture

EDI Architecture consists of -

1. EDI-enabled applications :They support the automatic processing of business


transactions.

2. The IDoc interface: This was designed as an open interface. The IDoc interface consists
of IDoc types and function modules that form the interface to the application.

3. The EDI subsystem: This converts the IDoc types into EDI message types and vice
versa. This component of the EDI architecture is not supplied by SAP.

Advantages of EDI process

Reduced data Entry Errors

Reduced Processing cycle time


Availability of data electronic form

Reduced Paper Work

Reduced Cost

Reduced Inventories and Better Planning

Standard Means of Communicating

Better Business Processes

Competitive Advantage

What is ALE ?
ALE supports the distribution of the business functions and process across loosely coupled SAP
R/3 systems (different versions of SAP R/3). Connections from R/2 and non SAP systems is also
supported.

ALE supports-

Distribution of applications between different releases of R/3 Systems

Continued data exchange after a release upgrade without requiring special maintenance

Customer-specific extensions.

Communication interfaces that allow connections to non-SAP systems.

Coupling of R/3 and R/2 Systems.

Difference between ALE and EDI ?


ALE is used to support distributed yet integrated processes across several SAP systems whereas
EDI is used for the exchange of business documents between the systems of business partners
(could be non-SAP systems)

ALE is SAPs technology for supporting a distributed environment whereas EDI is a


process used for exchange of business documents which now have been given a standard
format

Both ALE and EDI require data exchange. An Idoc is a data container which is used for data
exchange by both EDI and ALE processes.
What is IDOC?
IDOC is simply a data container used to exchange information between any two processes that
can understand the syntax and semantics of the data.

In simple words , an idoc is like a data file with a specified format which is exchanged between 2
systems which know how to interpret that data.

IDOC stands for Intermediate Document

When we execute an outbound ALE or EDI Process, an IDOC is created.In an inbound ALE or
EDI process, an IDOC serves as input to create an application document.In the SAP System,
IDOCs are stored in database.Every IDOC has an unique number(within a client).

IDOCs are based on EDI standards, ANSI ASC X12 and EDIFACT. In case of any conflict in
data size, it adopts one with greater length. IDOCs are independent of the direction of data
exchange e.g. ORDERS01 : Purchasing module : Inbound and Outbound.IDOCs can be viewed
in a text editor. Data is stored in character format instead of binary format.IDOCs are
independent of the sending and receiving systems.(SAP-to-SAP as well as Non-SAP)

Read more at http://www.saptraininghub.com/what-is-edi-ale-and-


idoc/#Rkxh93EK1Z449Aeq.99

Explain to me about Idoc?

IDoc (for intermediate document) is a standard data structure for electronic data interchange
(EDI) between application programs written for the popular SAP business system or between an
SAP application and an external program. IDocs serve as the vehicle for data transfer in SAP's
Application Link Enabling (ALE) system.

IDocs are used for asynchronous transactions: Each IDoc generated exists as a self-contained
text file that can then be transmitted to the requesting workstation without connecting to the
central database.

Another SAP mechanism, the Business Application Programming Interface (BAPI) is used for
synchronous transactions.
A large enterprise's networked computing environment is likely to connect many geographically
distributed computers to the main database. These computers are likely to use different hardware
and/or operating system platforms. An IDoc encapsulates data so that it can be exchanged
between different systems without conversion from one format to another.

IDoc types define different categories of data, such as purchase orders or invoices, which may
then be broken down into more specific categories called message types. Greater specificity
means that an IDoc type is capable of storing only the data required for a particular transaction,
which increases efficiency and decreases resource demands.

An IDoc can be generated at any point in a transaction process. For example, during a shipping
transaction process, an IDoc may be generated that includes the data fields required to print a
shipping manifest. After a user performs an SAP transaction, one or more IDocs are generated in
the sending database and passed to the ALE communication layer. The communication
layer performs a Remote Function Call (RFC), using the port definition and RFC destination
specified by the customer model.

The IDoc is transmitted to the receiver, which may be an R/3, R/2, or some external system.
*-- Ashok

What are the main advantages if IDOC?

IDoc is the data Format used by the SAP in data transfer using ALE /EDI methods. They provide
more data security. An IDoc is an intermediate document used to send data in two ways, that is
internal and the external point for you.

In BW, IDoc is a transfer mode, when you create a Infosource you can select the transfer mode
as PSA or IDOC. Its the method provided for backward compatibility. In older version the
hirerchies where loaded using IDOC transfer method. Now its possible with PSA but still that
method is available to load the hierarchies.

An example in SD:
For creating sales documents (sales order) through IDOCS you will have to use the T code
WE19. In that click basic type and enter order05(IDOC type) and select via message type then
enter ORDERS(message type), click execute.

You will get to see many fields.here you have to enter the datas that you enter in the VA01
screen in order to create sales order. The datas such as material name, date, qty, P.O no etc. After
entering all the datas, you click standard inbound the IDOC would be created by the system.You
can see the created order by going in to VA03 screen.

Next time when you create the IDOC, in same tcode WE19 screen, click existing IDOC and
enter the IDOC which you created in the above step and just change the P.O no.Sytem will create
new sales order through new IDOC

Before doing all you need to maintain the partner profile in T code WE20. For this Discuss with
EDI consultant.

Difference Between EDI and IDOC


EDI is nothing but Electronic data interchange. SAP will support EDI through Intermediate
documents (IDOCS).
EDI (Electronic Document interchange) - EDI is the electronic exchange of business documents
between the computer systems of business partners, using a standard format over a
communication network.

EDI is also called paperless exchange.

Advantages:

Reduced Data entry errors


Reduced processing time
Availabilty of data in electonic form
Reduced paperwork
Reduced Cost
Reduced inventories and better planning
Standard means of communications
Better business process

EDI has two process

1. Outbound process
2. Inbound process

OP:

1. Application document is created.


2. IDOC is generated
3. IDoc is transferred from SAP to Operating system layer
4. Idoc is converted into EDI standards
5. EDI document is transmitted to the business partner
6. The Edi Subsystem report status to SAP

IP:

1. EDI transmission received


2. EDI document is converted into an IDOC
3. IDOC is transferred to the SAP layer
4. The application document is created
5. The application document can be viewed.

IDOC:

IDOC is a container that can be used to exchange data between any two process.
Each iDoc is assigned a unique number for tracking and future reference.
iDoc Consist of several segments,and segments contain several fields.
iDoc contains the following three type of records...
1. One Control Record.
2. One or many Data Record
3. One or many Status record.

PORT:

Port is used in the outbound process to determine the name of the EDI subsystem program,the
directory path where the idoc file will be created at the operating system level,the idoc file
names and the rfc desinations.

RFC Destination:

Used to define the characteristics of communication links to a remote system on which a


functions needs to be executed.

Partner Profile:

Partner profile specified the various componets used in an outbound process ( Partner
number,IDoc type,message type,Port,Process code),the mode in which it communicates with the
subsystem(batch or immediate) and the person to be notified in case of errors.

Message Control

Used in pricing,account determination,material determination,and output determination.The


message control component enables you to encapsulate business rules with out having to write
abap programs.

Process:

Setup RFC destinations SM59


Port Destinations WE21
Partner Profile WE20
Message control NACE
Purchase Order ME21
Check IDOCs WE02,WE05

Explain to me about Idoc?

IDoc (for intermediate document) is a standard data structure for electronic data interchange
(EDI) between application programs written for the popular SAP business system or between an
SAP application and an external program. IDocs serve as the vehicle for data transfer in SAP's
Application Link Enabling (ALE) system.
IDocs are used for asynchronous transactions: Each IDoc generated exists as a self-contained
text file that can then be transmitted to the requesting workstation without connecting to the
central database.

Another SAP mechanism, the Business Application Programming Interface (BAPI) is used for
synchronous transactions.
A large enterprise's networked computing environment is likely to connect many geographically
distributed computers to the main database. These computers are likely to use different hardware
and/or operating system platforms. An IDoc encapsulates data so that it can be exchanged
between different systems without conversion from one format to another.

IDoc types define different categories of data, such as purchase orders or invoices, which may
then be broken down into more specific categories called message types. Greater specificity
means that an IDoc type is capable of storing only the data required for a particular transaction,
which increases efficiency and decreases resource demands.

An IDoc can be generated at any point in a transaction process. For example, during a shipping
transaction process, an IDoc may be generated that includes the data fields required to print a
shipping manifest. After a user performs an SAP transaction, one or more IDocs are generated in
the sending database and passed to the ALE communication layer. The communication
layer performs a Remote Function Call (RFC), using the port definition and RFC destination
specified by the customer model.

The IDoc is transmitted to the receiver, which may be an R/3, R/2, or some external system.

Important Idoc Transaction Codes


SAP ERP ==> SAP Administration

SALE - IMG ALE Configuration root


WE20 - Manually maintain partner profiles
BD64 - Maintain customer distribution model
BD71 - Distribute customer distribution model
SM59 - Create RFC Destinations
BDM5 - Consistency check (Transaction scenarios)
BD82 - Generate Partner Profiles
BD61 - Activate Change Pointers - Globally
BD50 - Activate Change Pointer for Msg Type
BD52 - Activate change pointer per change.doc object
BD59 - Allocation object type -> IDOC type
BD56 - Maintain IDOC Segment Filters
BD53 - Reduction of Message Types
BD21 - Select Change Pointer
BD87 - Status Monitor for ALE Messages
BDM5 - Consistency check (Transaction scenarios)
BD62 - Define rules
BD79 - Maintain rules
BD55 - Defining settings for IDoc conversion

WEDI - ALE IDoc Administration


WE21 - Ports in Idoc processing
WE60 - IDoc documentation
SARA - IDoc archiving (Object type IDOC)
WE47 - IDoc status maintenance
WE07 - IDoc statistics

BALE - ALE Distribution Administration


WE05 - IDoc overview
BD87 - Inbound IDoc reprocessing
BD88 - Outbound IDoc reprocessing
BDM2 - IDoc Trace
BDM7 - IDoc Audit Analysis
BD21 - Create IDocs from change pointers
SM58 - Schedule RFC Failures

Basic config for Distributed data:


BD64: Maintain a Distributed Model
BD82: Generate Partner Profile
BD64: Distribute the distribution Model

Programs:
RBDMIDOC Creating IDoc Type from Change Pointers
RSEOUT00 Process all selected IDocs (EDI)
RBDAPP01 - Inbound Processing of IDocs Ready for Transfer
RSARFCEX - Execute Calls Not Yet Executed
RBDMOIND - Status Conversion with Successful tRFC Execution
RBDMANIN - Start error handling for non-posted IDocs
RBDSTATE - Send Audit Confirmations
For testing you can use WE19

You might also like