cancel
Showing results for 
Search instead for 
Did you mean: 

using SAP XML data for EDI x12 documents

Former Member
0 Kudos

I am trying to use the data produced by the SaveXML method from a SAP invoice to create an EDI X12 810 map. The XML file has the complete ship to address in one address tag, instead of breaking the address out by street, city, state, zip, country. Is this a bug in how the SaveXML method creates the output xml file or is their some other XML method that will break the address information into street, city, state, etc? Does SAP provide some kind of utility to allow modifications to the xml schema produced using SaveXML over their business objects and documents? Thanks in advance for any help/advice. nwalk@socket.net

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

It is not a bug, it is saved according to the SAP schema which has all the invoice address data in one element.

The SDK does not provide any built in feature that would enable you to get a different result directly from the SaveXML method, this method will always return the data according to SAP's schema. You could however use normal XML related techniques such as XSL or MSXML to translate the result of the SaveXML method into the format you want. (eg. change the <address> element into <street>, <city>, <zip> elements).

John.

Answers (0)