Use the "Inbound File" button within WE19 to save the IDoc as a flat file on the application server, which can then be downloaded via CG3Y .

Used for technical exports, especially when moving an IDoc to another system.

How to Create and Read Flat IDocs from Files in SA... - SAP Community