2 minute read

How Can You Save an IDoc from SAP on Your Hard Drive?

IDoc export from an ERP system

To save an IDoc (or, more accurately, export an IDoc) from an ERP system, you would normally do it via defined interfaces with the help of EDI or ALE. In the case of EDI, the IDoc is sent to a different business partner and when using ALE, it is sent mostly to a different application (e.g. a CRM system).

During the development of EDI or ALE interfaces, it may also be necessary to have an IDoc as a file on your local hard drive. To save an IDoc as a file locally, you can proceed as follows.

Please note this is different to saving an IDoc as an XML. To find out how to do this please read our article “How to Save an IDoc as an XML – A Guide”.

Save an IDoc as a file

In the first step, search for the IDoc using transaction WE02, as the picture below demonstrates. To execute the transaction, press F8.


How to look for an IDoc with Transaction WE02 (click for a larger view
How to look for an IDoc with Transaction WE02 (click for a larger view

© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.

If you find more than one IDoc, double click on the desired IDoc in the detailed view. This will open the IDoc detailed view, and you can then choose Print IDoc in the menu bar under IDoc.


Detailed View of an IDoc
Detailed View of an IDoc

© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.

The content of the IDoc is shown in a table in the next step. If you go to the export functions in the function bar (where the arrow is), then you can export the IDoc as a file, an Excel file for example.


Overview of the IDoc Content in a Table
Overview of the IDoc Content in a Table

© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.

White Paper - EDI Integration in SAP

Any questions?

Do you still have questions about how to save an IDoc or about SAP in general? Feel free to contact us or check out our chat, we would love to help you!

You may also find the following articles helpful:

 

SAP ERP and SAP S/4HANA are the trademarks or registered trademarks of SAP SE or its affiliates in Germany and in several other countries.

most read

Keep on reading

2 minute read

How to End Another User's SAP Session

Unable to edit a crucial document in SAP® because you're locked out? Learning how to end another user's SAP session will solve this issue.

3 minute read

Übersetzungen für SAP®-Terminologie und SAP®-Begriffe finden

Using the correct translations for SAP® terminology is important in international projects. Discover how to find these quickly.

2 minute read

How to Save an IDoc Parser Report to a Local File

In this short and simple guide we show you how to save an IDoc parser report to a local file in just a couple of easy steps.

6 minute read

How to Debug SAP Message ME161 - "The Notified Quantity Exceeds the Ordered Quantity"

Don't know how to fix SAP error message ME161 "The notified quantity exceeds the ordered quantity"? In this article we break it down.