Idoc Basics For Functional Consultants: Followrss Feedlike
Idoc Basics For Functional Consultants: Followrss Feedlike
ABSTRACT
OVERVIEW
IDoc is an SAP object that carries data of a business transaction from one
system to another in the form of electronic message. IDoc is an acronym
for Intermediate Document. The purpose of an IDoc is to transfer data or
information from SAP to other systems and vice versa. The transfer from
SAP to non-SAP system is done via EDI (Electronic Data Interchange)
subsystems whereas for transfer between two SAP systems, ALE is used.
For inbound flow, EDI converts partner data and IDoc is created in SAP.
After successful processing of this IDoc, Application Document is posted in
SAP.
EDI STANDARDS AND IDOC
IDOC TERMINOLOGIES
IDoc Types are based on the EDI standards and mostly on EDIFACT
standards.
Basic Types (or IDoc Type) defines the structure of an IDoc. Each basic
type describes standard IDoc segments, format of data fields and their size.
Basic Type also defines number of segments and fields in an IDoc. All the
fields that are necessary for transmission of message for a particular
business transaction are mapped in different segments. It also defines the
structure and relationship of IDoc segments along with mandatory and
optional segments.
IDOC EXTENSION
Basic type contains all the standard fields that are necessary for carrying
out a business transaction. However, if any additional values are to be sent
to the partner then we can make use of the IDoc Extension feature. IDoc
extension is extension of basic type and contains additional custom IDoc
segments and fields that are not available in standard basic type.
IDOC SEGMENTS
IDoc segments contain the actual data that is sent to or received from a
partner. These segments contain the actual values that are sent as part of
IDoc transmission.
PARENT AND CHILD SEGMENTS
INBOUND/OUTBOUND IDOCS
IDocs sent outside the system are termed as Outbound IDocs and the ones
that are received into the system, are called as Inbound IDocs.
IDOC DIRECTION
PARTNER
PARTNER TYPE
PROCESS CODE
The process code contains the details of the Function Module that are used
for IDoc processing. Message Type can be linked to the Process code.
PORT
IDoc Port contains the information about the way data is sent between the
source or target system. The type of port defines the information contained
within the port. For port type “Internet” Port will contain IP address of the
target system. For port type “file”, directory or file name information is
maintained. “tRFC” port contains information about the RFC destination of
the target system. For IDoc transmission using ALE “tRFC” ports are used.
Partner profile must be maintained for all the business partners to whom
we want to send or receive the IDocs. The TCODE for maintaining the
partner profile is WE20.
Double clicking on the Partner will show the following screen:
Partner profile contains parameters for Inbound and Outbound processing
of IDocs. For each message type we can maintain, inbound/outbound
options, message control, post processing options and contact information
within Inbound and outbound parameters.
This contains application for which IDoc will be created e.g. EF for
Purchase order, the message type of the application that will trigger the
IDoc and Process Code that will convert SAP document to an IDoc. For
example, if PO is to be sent to the Vendor AXXXXZ, then in the outbound
option of the partner AXXXXZ we need to maintain the message type ZXX1
and link it to the Process Code ME10. So when message type ZXX1 is
triggered in the PO then an IDoc will be created for the partner vendor
AXXXXZ.
Process Code is linked to the Function Module in SAP that converts
application data into an IDoc. Standard function modules are provided by
SAP for this conversion however these can also be customized as per
business needs.
In the post processing option we can maintain the workflow details of the
users or positions to which an error notification will be sent if an IDoc
processing fails.
EDI standard screen contains the details of the Standard EDI terminology
used for the IDoc transmission.
For example, Message Type 850 is an EDI standard for Purchase Order
IDoc and is linked to IDoc Message Type Orders.
IDOC STRUCTURE AND RECORDS
STRUCTURE
IDoc structure is divided into Control Record, Data Records and Status
records.
These records are stored in the transparent tables in SAP. These are
EDIDC, EDID4 and EDIDS.
IDoc Status defines the processing status of the IDoc. IDoc statuses are
used to track the IDoc and its various processing states. Status Numbers
represents IDoc status. Current status of the IDoc is present in Control
record.
Initial Status numbers are 64 for inbound and 03 for outbound. Successful
status is 53 for inbound and 16 for outbound IDocs.
The relationship between the IDoc and the application document can be
found in two ways:
The initial status of this IDoc will be 30, which after successful processing
will convert into status 16.
A successful outbound IDoc will pass through all the above statuses in
reverse order (01-03-18-06-12-16). Each status represents an IDoc
validation step. If an IDoc passes all the validations it would reach status
16. These different validation steps for outbound IDocs are explained
below:
IDoc can possibly fail at any of the above steps during validation.
An inbound IDoc goes through all the above statuses in reverse order (50-
64-53).
IDOC PROCESSING
AUTOMATIC/IMMEDIATE PROCESSING
IDocs can also be manually processed using the TCODE BD87 in SAP.
REPROCESSING IDOCS
If an IDoc contains error in the data then such IDocs can be edited using
TCode WE02 or WE05. When an IDoc is edited the original IDoc
information(backup) is saved in a New IDoc under status 70 (for inbound) /
33 (for outbound). These IDoc stays in the system for reference only and
cannot be processed. The status of the edited IDoc becomes 69 (inbound)
and 32 (outbound). These IDocs can then be processed using BD87
transaction or batch jobs.
IDocs can be displayed in system via TCODE WE02 and WE05. If IDoc
number is not known then search can be made on the basis of IDoc Date,
Direction, BASIC TYPE, MESSAGE TYPE, and PARTNER
NUMBER. Partner number can be found in the Output Messages of the
documents.
IDoc search can also be made on the basis of ISA or Transfer file
Reference.
TCODE WE09: SEARCHING DATA IN IDOC SEGMENTS
If we are looking for specific information within the IDocs Segments then
this can be found using TCODE WE09. This is useful if you are searching
for a particular information in similar kind of IDoc within IDoc segments. For
example, if you want to search a particular Purchase Order number e.g.
100000001 in multiple IDocs which lies in Segment E1EDK01 of an IDoc
under field BELNR. Then the search can be executed in the following
manner.
IDoc documentation can be found using TCODE WE60 and can be helpful
to obtain information of the IDoc Type or its particular segment. It also
provides information such as mandatory and optional segments, minimum
and maximum number of segments, etc.
GENERAL INFORMATION FOR COMMON IDOC MESSAGE
TYPES
The following list gives the Basic Type and Message Type combination for
common idocs
ARCHIVING/DELETION OF IDOCS FROM DATABASE
As IDocs grow older they are archived and deleted from the database.
Archived IDocs can be viewed using TCODE SARI in Achieve Explorer
using archiving object as IDoc. Following are the few programs that are
used for archiving and deletion of IDocs from database.
Hi Nilangan,
IDoc, short for Intermediate Document, is a SAP document format for business transaction data transfers. Non SAP-
systems can use IDocs as the standard interface for data transfer. IDoc is similar to XML in purpose, but differs in
syntax
IDoc is an acronym for Intermediate Document. The purpose of an IDoc is to transfer data or information from SAP
to other systems and vice versa. The transfer from SAP to non-SAP system is done via EDI (Electronic Data
Interchange) subsystems whereas for transfer between two SAP systems, ALE is used.
IDOC is simply a data container used to exchange information between any two processes that can understand the
syntax and semantics of the data. … When we execute an outbound ALE or EDI Process, an IDOC is created. In the
SAP System, I DOCs are stored in database. Every IDOC has a unique number(within a client crazy krush)
IDoc (intermediate document) is a standard data structure used in SAP applications to transfer data to and from SAP
system applications and external systems. Using IDocs, companies with SAP ERP systems, for example, can
exchange data with external entities like their partners crazy krush
IDoc Basics for Functional Consultants. IDoc is an SAP object that carries data of a business transaction
from one system to another in the form of electronic message. IDoc is an acronym for Intermediate Document. The
purpose of an IDoc is to transfer data or information from SAP to other systems and vice versa.
o Like(1)
ludo chat
EDI then converts the IDoc data into XML or an equivalent format and sends the data to the outside system via the
internet. For Inbound IDocs, EDI converts the outside system data and the IDoc is created in SAP. An application
document is then posted in the SAP system after it processes the IDoc.
o Like(0)
Search Go
Hi,
IDoc is an acronym for Intermediate Document. The purpose of an IDoc is to transfer data or information from SAP
to other systems and vice versa. The transfer from SAP to non-SAP system is done via EDI (Electronic Data
Interchange) subsystems whereas for transfer between two SAP systems, ALE is used.
IDoc Basics for Functional Consultants. IDoc is an SAP object that carries data of a business transaction
from one system to another in the form of electronic message. IDoc is an acronym for Intermediate Document. The
purpose of an IDoc is to transfer data or information from SAP to other systems and vice versa.
Thanks