on 03-14-2006 6:46 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.