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.

Subjects

most read

Keep on reading

3 minute read

How to create an SAP transaction code

Want to know how to create an SAP transaction code for an existing ABAP program so that you can easily call the program?

6 minute read

How to Set Up and Manage Automatic SAP Jobs

SAP jobs can be used to automate processes in SAP ERP so they can be carried out without user intervention. We explore the key features.

4 minute read

IDoc Status Change in SAP ERP

IDoc statuses are not always the clearest - particularly when errors occur. In this article we explain how to change IDoc status as required.

5 minute read

How Can I Add an Entry to an SAP Table?

In this article we show how to add entries to an existing SAP table - even if it does not have its own maintenance dialog.

5 minute read

Alternatives to the Seeburger PI Adapter

The end of maintenance for the Seeburger PI Adapter is imminent. What alternatives are there and which is the best suited for your business?

4 minute read

IDocs in SAP S/4HANA: The Differences to SAP ECC 6.0

The change to S/4HANA also impacts the format of IDocs. In this article we explore IDocs in S/4HANA and the new and changed elements.

11 minute read

Migration to SAP S/4HANA - 5 Key Considerations

Are you prepared for migration to SAP S/4HANA? Discover the 5 key questions all businesses looking to upgrade to SAP's new ERP system should consider.

11 minute read

Exchange of Electronic Invoices with the SAP eDocument Framework

Companies have to increasingly implement e-Invoicing for different countries. This blog post explains how the SAP eDocument Framework can help you.

5 minute read

Create and Process UBL Documents with Attachments in SAP

Enable your SAP solution for UBL based e-Invoicing over Peppol. Click here for an example case based on the XRechnung in Germany.

6 minute read

IDoc Processing in an SAP ERP System with Transaction BD87

Companies utilising SAP ERP and exchanging documents need a central tool to manage, view and search for IDocs. Transaction BD87 is the answer.

12 minute read

EDI_DC40: Understand the SAP IDoc Control Record

A correctly filled control header is essential for the identification and processing of IDocs. We show what settings are needed in SAP.

6 minute read

An Overview of the Most Important SAP Modules

Before introducing new software, companies need to understand and assess its value. SAPs ERP system offers a lot of functionality through its different modules.

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.