<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Function module to read XML file in ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-xml-file-in-abap/m-p/2029656#M416401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys &lt;/P&gt;&lt;P&gt;is there any function module which can read an XML file into an ABAP code?&lt;/P&gt;&lt;P&gt;we are getting some file on the application server in XML format and we need to read this file in ABAP code,how can i achieve this ?&lt;/P&gt;&lt;P&gt;thanz &lt;/P&gt;&lt;P&gt;ahmad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2007 17:58:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-14T17:58:58Z</dc:date>
    <item>
      <title>Function module to read XML file in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-xml-file-in-abap/m-p/2029656#M416401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys &lt;/P&gt;&lt;P&gt;is there any function module which can read an XML file into an ABAP code?&lt;/P&gt;&lt;P&gt;we are getting some file on the application server in XML format and we need to read this file in ABAP code,how can i achieve this ?&lt;/P&gt;&lt;P&gt;thanz &lt;/P&gt;&lt;P&gt;ahmad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 17:58:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-xml-file-in-abap/m-p/2029656#M416401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T17:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to read XML file in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-xml-file-in-abap/m-p/2029657#M416402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use CALL TRANSFORMATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check Amit's sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. itab --- &amp;gt; xml&lt;/P&gt;&lt;P&gt;xml ---&amp;gt; itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. This program will do both.&lt;/P&gt;&lt;P&gt;(just copy paste in new program)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt; DATA&lt;/P&gt;&lt;P&gt;DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;a(100) TYPE c,&lt;/P&gt;&lt;P&gt;END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: xml_out TYPE string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF upl OCCURS 0,&lt;/P&gt;&lt;P&gt;f(255) TYPE c,&lt;/P&gt;&lt;P&gt;END OF upl.&lt;/P&gt;&lt;P&gt;DATA: xmlupl TYPE string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="31" type="ul"&gt;&lt;P&gt;FIRST PHASE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="31" type="ul"&gt;&lt;P&gt;FIRST PHASE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="31" type="ul"&gt;&lt;P&gt;FIRST PHASE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt; Fetch Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM t001 INTO TABLE t001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt; XML&lt;/P&gt;&lt;P&gt;CALL TRANSFORMATION ('ID')&lt;/P&gt;&lt;P&gt;SOURCE tab = t001[]&lt;/P&gt;&lt;P&gt;RESULT XML xml_out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt; Convert to TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_EFI_CONVERT_STRING_TO_TABLE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_string = xml_out&lt;/P&gt;&lt;P&gt;i_tabline_length = 100&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;et_table = itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt; Download&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;filetype = 'BIN'&lt;/P&gt;&lt;P&gt;filename = 'd:\xx.xml'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;data_tab = itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="31" type="ul"&gt;&lt;P&gt;SECOND PHASE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="31" type="ul"&gt;&lt;P&gt;SECOND PHASE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="31" type="ul"&gt;&lt;P&gt;SECOND PHASE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;REFRESH t001.&lt;/P&gt;&lt;P&gt;CLEAR t001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;filename = 'D:\XX.XML'&lt;/P&gt;&lt;P&gt;filetype = 'BIN'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;data_tab = upl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT upl.&lt;/P&gt;&lt;P&gt;CONCATENATE xmlupl upl-f INTO xmlupl.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt; XML&lt;/P&gt;&lt;P&gt;CALL TRANSFORMATION ('ID')&lt;/P&gt;&lt;P&gt;SOURCE XML xmlupl&lt;/P&gt;&lt;P&gt;RESULT tab = t001[]&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please check this excellent series of weblogs on transformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Introduction:&lt;/P&gt;&lt;P&gt;/people/horst.keller/blog/2004/10/27/abap-and-xml--introducing-st&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details:&lt;/P&gt;&lt;P&gt;/people/tobias.trapp/blog/2005/05/04/xml-processing-in-abap-part-1&lt;/P&gt;&lt;P&gt;/people/tobias.trapp/blog/2005/05/17/xml-processing-in-abap-part-2&lt;/P&gt;&lt;P&gt;/people/tobias.trapp/blog/2005/05/20/xml-processing-in-abap-part-3&lt;/P&gt;&lt;P&gt;/people/tobias.trapp/blog/2005/05/27/xml-processing-in-abap-part-4&lt;/P&gt;&lt;P&gt;/people/tobias.trapp/blog/2005/06/15/xml-processing-in-abap--part-5&lt;/P&gt;&lt;P&gt;/people/tobias.trapp/blog/2005/12/08/xml-processing-in-abap--part-6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 18:03:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-xml-file-in-abap/m-p/2029657#M416402</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-03-14T18:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to read XML file in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-xml-file-in-abap/m-p/2029658#M416403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  These are few functions to work with XML in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SDIXML_DATA_TO_DOM: Convert SAP data (elementary/structured/table types) into DOM (XML)  	&lt;/P&gt;&lt;P&gt;SDIXML_DOM_TO_XML: Convert DOM (XML) into string of bytes that can be downloaded to PC or application server&lt;/P&gt;&lt;P&gt;SDIXML_DOM_TO_SCREEN: Display DOM (XML)&lt;/P&gt;&lt;P&gt;SDIXML_DOM_TO_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of using these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eport z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it_table like t001 occurs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_dom      TYPE REF TO IF_IXML_ELEMENT,&lt;/P&gt;&lt;P&gt;      m_document TYPE REF TO IF_IXML_DOCUMENT,&lt;/P&gt;&lt;P&gt;      g_ixml     TYPE REF TO IF_IXML,&lt;/P&gt;&lt;P&gt;      w_string   TYPE XSTRING,&lt;/P&gt;&lt;P&gt;      w_size     TYPE I,&lt;/P&gt;&lt;P&gt;      w_result   TYPE I,&lt;/P&gt;&lt;P&gt;      w_line     TYPE STRING,&lt;/P&gt;&lt;P&gt;      it_xml     TYPE DCXMLLINES,&lt;/P&gt;&lt;P&gt;      s_xml      like line of it_xml,&lt;/P&gt;&lt;P&gt;      w_rc       like sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;  select * from t001 into table it_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;initialize iXML-Framework          ****&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;P&gt;  write: / 'initialiazing iXML:'.&lt;/P&gt;&lt;P&gt;  class cl_ixml definition load.&lt;/P&gt;&lt;P&gt;  g_ixml = cl_ixml=&amp;gt;create( ).&lt;/P&gt;&lt;P&gt;  check not g_ixml is initial.&lt;/P&gt;&lt;P&gt;  write: 'ok'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;create DOM from SAP data           ****&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;P&gt;  write: / 'creating iXML doc:'.&lt;/P&gt;&lt;P&gt;  m_document = g_ixml-&amp;gt;create_document( ).&lt;/P&gt;&lt;P&gt;  check not m_document is initial.&lt;/P&gt;&lt;P&gt;  write: 'ok'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write: / 'converting DATA TO DOM 1:'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SDIXML_DATA_TO_DOM'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      NAME               = 'IT_TABLE'&lt;/P&gt;&lt;P&gt;      DATAOBJECT         = it_table[]&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      DATA_AS_DOM        = l_dom&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      DOCUMENT           = m_document&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      ILLEGAL_NAME       = 1&lt;/P&gt;&lt;P&gt;      OTHERS             = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.  write  'ok'.&lt;/P&gt;&lt;P&gt;  else.             write: 'Err =', sy-subrc.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  check not l_dom is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write: / 'appending DOM to iXML doc:'.&lt;/P&gt;&lt;P&gt;  w_rc = m_document-&amp;gt;append_child( new_child = l_dom ).&lt;/P&gt;&lt;P&gt;  if w_rc is initial.  write  'ok'.&lt;/P&gt;&lt;P&gt;  else.                write: 'Err =', w_rc.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;visualize iXML (DOM)               ****&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;P&gt;  write: / 'displaying DOM:'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SDIXML_DOM_TO_SCREEN'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      DOCUMENT          = m_document&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      NO_DOCUMENT       = 1&lt;/P&gt;&lt;P&gt;      OTHERS            = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.  write  'ok'.&lt;/P&gt;&lt;P&gt;  else.             write: 'Err =', sy-subrc.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;convert DOM to XML doc (table)     ****&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;P&gt;  write: / 'converting DOM TO XML:'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SDIXML_DOM_TO_XML'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      DOCUMENT            = m_document&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    PRETTY_PRINT        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      XML_AS_STRING       = w_string&lt;/P&gt;&lt;P&gt;      SIZE                = w_size&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      XML_AS_TABLE        = it_xml&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      NO_DOCUMENT         = 1&lt;/P&gt;&lt;P&gt;      OTHERS              = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.   write  'ok'.&lt;/P&gt;&lt;P&gt;  else.              write: 'Err =', sy-subrc.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write: / 'XML as string of size:', w_size, / w_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  describe table it_xml lines w_result.&lt;/P&gt;&lt;P&gt;  write: / 'XML as table of', w_result, 'lines:'..&lt;/P&gt;&lt;P&gt;  loop at it_xml into s_xml.&lt;/P&gt;&lt;P&gt;    write s_xml.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write: / 'end of processing'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;end of code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have further questions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Rakesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 18:04:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-xml-file-in-abap/m-p/2029658#M416403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T18:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to read XML file in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-xml-file-in-abap/m-p/2029659#M416404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thznx guys &lt;/P&gt;&lt;P&gt;actually i m not an ABAper i am an SAP XI consultant and we were having some problems in posting file in CSV format,so we were thinking if somehow we can develop an ABAP code which will read the XML directly instead of reading a CSV file,then it might solve the purpose.&lt;/P&gt;&lt;P&gt;will get back to u guys if we run into any more troubles&lt;/P&gt;&lt;P&gt;thanx &lt;/P&gt;&lt;P&gt;Ahmad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 18:09:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-xml-file-in-abap/m-p/2029659#M416404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T18:09:00Z</dc:date>
    </item>
  </channel>
</rss>

