2007 May 04 10:23 AM
Hi
Can some1 give me the name of this program.
I know it exists in SAP
2007 May 04 10:27 AM
Hi,
function module IDOC_XML_FROM_FILE to convert XML to IDOC
In general source Idoc, target Idoc Xml XSD take .
and map it, so it will be easy to do in XI.
With Business Connector see the below links
More info on XI can be found at https://service.sap.com/xi
and webAS on http://help.sap.com/saphelp_nw04/helpdata/en/f3/e20f3adfd0a706e10000000a114084/frameset.htm
Check this also-
http://help.sap.com/saphelp_nw2004s/helpdata/en/6f/1bd5c2a85b11d6b28500508b5d5211/frameset.htm
Reward points if useful..
Regards
Nilesh
2007 May 04 10:46 AM
2007 May 04 10:59 AM
Hi Anup,
- if the content of the txt file is in xml format you don't need such a tool.
- if the content of the text file is an unstructured text stream there can be no such tool.
- if the content of the text file is in any known and defined (but not XML) structured form, try to find a specific existing converter to XML for that.
- if the content of the text file is in an undefined but structured form or if you don't want to pay for the aforementioned transformer, get yourself any scripting language(e.g. PHP), learn regular expressions and parse the text file to XML you'll get maximum capabilities with that approach.
check this link also :
http://sourceforge.net/projects/txt2xml/
http://help.sap.com/saphelp_nw04/helpdata/en/a6/0e623c4f69b712e10000000a114084/frameset.htm
Reward points if helpful.
Regards,
Hemant
2007 May 04 12:34 PM
guys
thanks
There is a Single program which converts the IDoc to the XML format
The PDF is good, but is somewhat of an overkill,good for XI.
not for traditional EDI/ALE.
Do u know the name of the Program!?
2007 May 04 12:50 PM
You can simply create an Port (via WE21) for XML document creation which works like an RFC-Port but writes a XML file.
Of course you also need define a logical system that uses this port and a distribution model (BD64).
But then you can simply use RSEOUT00 to send the IDOC data to the XML-file.