Difference between EDI and IDOC

Source: Internet
Author: User
Tags rfc

EDI is nothing but Electronic data interchange. SAP would 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 both process

1. Outbound Process
2. Inbound Process

Op-outbound Process:

1. Application document is created.
2. IDOC is generated
3. IDoc is transferred from the 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-inbound Process:

1. EDI Transmission received
2. EDI document is converted to 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 so can be used to exchange data between any and both process.
Each IDoc are assigned a unique number for tracking and the 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'll is 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 on an outbound process (Partner number,idoc type,message type,port,p Rocess code), the mode in which it communicates with the subsystem (batch or immediate) and the WHO to be notified in CAs E 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 an out have 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) are a standard data structure for electronic data Interchange (EDI) between application PR Ograms written for the popular SAP business system or between a SAP application and an external program. IDocs serve as the vehicle for data transfer in SAP ' s application Link Enabling (ALE) system.

IDocs is used for asynchronous Transactions:each IDoc generated exists as a self-contained text file so can then be T Ransmitted to the requesting workstation without connecting to the central database.

Another SAP mechanism, the business application Programming Interface (BAPI) are used for synchronous transactions.
A Large Enterprise ' s networked computing environment is likely-connect many geographically distributed computers to the Main database. These computers is likely to use different hardware and/or operating system platforms. An IDOC encapsulates data so that it can is exchanged between different systems without conversion from one format to Anot Her.

IDoc types define different categories of data, such as purchase orders or invoices, which may and be broken to mo Re specific categories called message types. Greater specificity means that's IDOC type is capable of storing by the data required for a particular transaction, WHI CH increases efficiency and decreases resource demands.

An IDOC can is generated at any point in a transaction process. For example, during a shipping transaction process, an IDOC may is generated that includes the data fields required to PRI NT a shipping manifest. After a user performs an SAP transaction, one or more IDocs is generated in the sending database and passed to the ALE Co Mmunication 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.

Difference between EDI and IDOC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.