on 10-30-2013 10:11 AM
Hi gurus,
Is it possible to convert DAT file to XML using PI? Has anyone tried that before?
Thanks in advance!
HI Mark,
If the hierarchy of the xml is not deeper than three levels File content conversion available with sender file adapter should be ok for your requirement :
You may want to look into the link below for an example :
http://saptechnical.com/Tutorials/XI/Contentconversion/page1.htm
Regards
Subhro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks everyone for the inputs. I'll give FCC a spin and I hope it will work for this scenario. I'll keep you posted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
If you can do it in Java, you can do it in PI. Depending if the file is a flat file with structure or not you can use or not a standard solution.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
It really depends on the type of data contained in the DAT file. DAT files can contain anything from video to application settings.
It's impossible to answer you question without knowing more details about the file.
Kind regards,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
While it is a .txt file, even if there isnt a structure you can read all the with FCC dealing all file like only one tag and later in the operation mapping step using java mapping or message mapping will transform it in a structured XML. If the file is structured you can create a XML more structured directly in the FCC.
Regards.
Mark,
In that case you can use Content Conversion in SAP PI to read the file and convert it to XML.
See http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm for more information on content conversion.
Kind regards,
Koen
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.