02-01-2005 1:46 PM
Hi
I'm working on a <b>WAS620</b> and need to read an XML file from a customer, extract the fields needed and post these via IDOC ORDERS01. My problem is HOW to read the XML file? Can anyone give me the steps involved/links to examples etc - I have not processed XML files via ABAP before.
The file is posted to a shared folder and the ABAP I am about to develop will pick up this file.
The file is <b>NOT</b> in IDOC/XML format but the customers own format
Hope someone can help me asap.
Thanks all in advance
/Bo
02-01-2005 1:52 PM
If it's not in IDOC format, then you have to use XLST transformator to get the data from XML to ABAP.
I would try to press them to use standard Idoc/XML format, then you could use FM 'EDI_DATA_INCOMING' to process IDocs. It would be much easier.
Peter
02-02-2005 9:58 AM
02-02-2005 12:29 PM
Hi,
I would like to extend this question for <b>WAS620</b> and <b>reading</b> a <b>proprietary customer specific XML</b> file/data that is <b>send via HTTP to SAP WAS</b>.
<b>Q1</b>: What is the best way to read this HTTP sent XML data (as it is, without transformations) into ABAP?
<b>Q2</b>: What is the appropriate handler to use in the ICF object?
Thanks all in advance
09-26-2005 4:31 PM
Do you have some example XML file suitble for this function module (IDOC_XML_FROM_FILE)? Could you please provide me?
BR
Martin
09-08-2009 10:44 AM