cancel
Showing results for 
Search instead for 
Did you mean: 

Exporting an Invoice as XML

Former Member
0 Kudos

I am trying to export an Existing invoice as XML but when I use the SAP Client i.e.

File >> Exprt To.>>File>>XML

the file has no structure and is not in XML format at all??

Am I using an incorrect method?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi George,

I have tested this and the same happens on my side. It looks like it exports the invoice in the same format as was designed in the print layout designer.

The only other suggestion I can make is to write a small application that you save the invoice as an xml file using the DI API.

oInvoice.GetByKey(Num)
oInvoice.SaveXML

Hope it helps,

Adele

Answers (1)

Answers (1)

rasmuswulff_jensen
Active Contributor
0 Kudos

File >> Exprt To.>>File>>XML is a mystery... Certanly its not XML. In SBO2005A they have changed the name of the menuitem to "Unformatted text", but the save dialog still use *.xml...