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 here.

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

8 minute read

Peppol Message Responses - A Helpful Guide

Peppol acknowledgements, message level responses and business level responses are a key part of what makes Peppol such an attractive prospect for modern B2B data exchange. Find out how they...

7 minute read

Sending Electronic Invoices in Spain Using the FacturaE Format via the FACeB2B System

We present the status of e-Invoicing in Spain and give an outlook on the future implications if the current regulation will be extended to all companies in Spain.

10 minute read

Alternative Solutions for EDI Data Exchange with SAP PI

Many companies use SAP PI to enable data exchange between a given SAP ERP system and its connecting systems. Discover the options available.

5 minute read

What is Master Data and Why Does it Matter?

Efficient master data is crucial to successful EDI processes and a streamlined supply chain. Find what you can do to improve yours.

7 minute read

E-invoicing in Poland

Big changes are planned for e-invoicing in Poland over the next few years. Find out what's ahead and how long you have to implement changes.

5 minute read

E-invoicing in Spain

What are the regulations when it comes to e-invoicing in Spain? Find out what's required and what changes are likely in the future.

5 minute read

E-invoicing in France

Is e-invoicing in France mandatory? Read our article to find out what you need to do to achieve compliance and prepare for the future.

8 minute read

An Introduction to the Four Main EDI Methods

Do you know which of the main EDI methods makes most sense for your business? To help, in this article we break each method down one by one.

20 minute read

The Future of EDI

Debunking the myths and building a realistic picture of what the next decade will bring for B2B integration.

5 minute read

Why an API Connection is Key to a Streamlined EDI System

Discover how your business could improve EDI processes through the use of an API connection to your EDI service provider.

Upcoming Webinar - How to Increase Your Competitive Advantage with ecosio in Your Next S/4HANA ProjectRegister Now!

We use cookies to provide an optimal website experience. You decide which one you want to allow. Depending on the setting, however, not all functionalities may be available to you. Data protection & imprint.