Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

pls send material for idocs in ECC 6.0

Former Member
0 Kudos

Pls send material for idocs in ECC6.0

3 REPLIES 3

Former Member
0 Kudos

Hi sitaram s ,

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.

Archiving Processed IDocs

IDoc archiving is a two-step process:

1. Archive the IDoc.

2. After that another job will be generated. You can see in your SARA for your trigger to delete those archived IDocs.

Have a look at transaction WE47, set "Archiving - Possible" for all statuses to be archived. Use transaction SARA with object IDoc to archive. If the above is set then all IDocs are archived the same way.

Transaction SARA works in the following way:

On the main screen enter IDoc as the object. Click on Customising -> Technical settings. This shows the logical filename (configured via transaction FILE & SF01) that will be used to get a filename when writing the archive files. It also shows the document type (that links to an archive via transaction 0AC0) or the archive, depending on SAP version. You can also set the size of the archive files and whether the deletion and storage jobs should execute automatically or not.

On the main screen there are, amongst others, buttons for ARCHIVE, DELETE and MANAGEMENT. When you click on ARCHIVE you will go to a screen where you can create variants, and set the parameters for the archiving job. The EXECUTE button will schedule this job. If the "start automatic" tic for the deletion program was not set in customising, you will need to go to the DELETE button on the main screen to schedule the deletion jobs, after the archive job has finished. This schedules a job per archive file. In MANAGEMENT you will be able to see the statuses of each archive run.

SAP Integration Using ALE(Application Linking and Enabling)

- IDOCS -

http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp

Updating IDoc data in segments,Changing a control record of an IDoc,Getting IDocs linked to Application documents,

Displaying and IDoc in a report,Read IDoc from Database,Creating and sending an IDoc,Update IDoc status on the database

ALE Inbound Pre-Processing

http://www.erpgenie.com/sapedi/idoc_abap.htm

cheers!

gyanaraj

        • reward points if u find this helpful

Former Member
0 Kudos

Hi

This is an excellent website which gives al details regarding IDocs :

http://logosworld.com/www7/EDI/HTML/IDocBook.htm#_Toc8400363

cheers!

gyanaraj

Former Member
0 Kudos

Hi,

Go through this link you will get step by step creation.

http://www.saptechnical.com/Tutorials/ALE/ALEMainPage.htm

Reward if helpful.

Regards,

Harini.S