<?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 Problem  while reading XML file from Aplication server(Al11) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-xml-file-from-aplication-server-al11/m-p/8046135#M1611368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;I am facing a problem while  reading XML file from Aplication server  using open data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET v_dsn IN BINARY MODE FOR INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ DATASET v_dsn INTO v_rec.&lt;/P&gt;&lt;P&gt;WHILE sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  ENDWHILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLOSE DATASET v_dsn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The XML file contains the details from an IDOC number  ,  the expected output  is XML file giving  all the segments details in a single page and send the user in lotus note as an attachment, But in the  present  output  after opening the attachment  i am getting a single XML file  which contains most of the segments ,but in the bottom part it is giving  the below error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;E1EDT13 SEGMENT="1"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;QUALF&amp;gt;001&amp;lt;/QUALF&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTANF&amp;gt;20110803&amp;lt;/NTANF&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTANZ&amp;gt;080000&amp;lt;/NTANZ&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTEND&amp;gt;20110803&amp;lt;The XML page cannot be displayed &lt;/P&gt;&lt;P&gt;Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. &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;&lt;/P&gt;&lt;P&gt;Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/notesD52F4D/SHPORD_0080005842.xml'. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/SPAN&amp;gt;&amp;lt;/NTEND&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTENZ&amp;gt;000000&amp;lt;/NTENZ&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for all the xml  its giving the error in bottom part ,  but once we open the source code and  if we saved  in system without changing anything the file giving the xml file without any error in that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could any one can help to solve this issue .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2011 05:49:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-05T05:49:31Z</dc:date>
    <item>
      <title>Problem  while reading XML file from Aplication server(Al11)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-xml-file-from-aplication-server-al11/m-p/8046135#M1611368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;I am facing a problem while  reading XML file from Aplication server  using open data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET v_dsn IN BINARY MODE FOR INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ DATASET v_dsn INTO v_rec.&lt;/P&gt;&lt;P&gt;WHILE sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  ENDWHILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLOSE DATASET v_dsn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The XML file contains the details from an IDOC number  ,  the expected output  is XML file giving  all the segments details in a single page and send the user in lotus note as an attachment, But in the  present  output  after opening the attachment  i am getting a single XML file  which contains most of the segments ,but in the bottom part it is giving  the below error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;E1EDT13 SEGMENT="1"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;QUALF&amp;gt;001&amp;lt;/QUALF&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTANF&amp;gt;20110803&amp;lt;/NTANF&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTANZ&amp;gt;080000&amp;lt;/NTANZ&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTEND&amp;gt;20110803&amp;lt;The XML page cannot be displayed &lt;/P&gt;&lt;P&gt;Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. &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;&lt;/P&gt;&lt;P&gt;Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/notesD52F4D/SHPORD_0080005842.xml'. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/SPAN&amp;gt;&amp;lt;/NTEND&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTENZ&amp;gt;000000&amp;lt;/NTENZ&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for all the xml  its giving the error in bottom part ,  but once we open the source code and  if we saved  in system without changing anything the file giving the xml file without any error in that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could any one can help to solve this issue .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 05:49:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-xml-file-from-aplication-server-al11/m-p/8046135#M1611368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T05:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  while reading XML file from Aplication server(Al11)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-xml-file-from-aplication-server-al11/m-p/8046136#M1611369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this may be related to unicode. Do you have unicode characters in the IDoc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 06:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-xml-file-from-aplication-server-al11/m-p/8046136#M1611369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T06:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  while reading XML file from Aplication server(Al11)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-xml-file-from-aplication-server-al11/m-p/8046137#M1611370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oliver&lt;/P&gt;&lt;P&gt;Thanx for your reply.&lt;/P&gt;&lt;P&gt;see the latest output &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;E1EDT13 SEGMENT="1"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;QUALF&amp;gt;003&amp;lt;/QUALF&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTANF&amp;gt;20110803&amp;lt;/NTANF&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTANZ&amp;gt;080000&amp;lt;/NTANZ&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTEND&amp;gt;20110803&amp;lt;/NTEND&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTENZ&amp;gt;000000&amp;lt;/NTENZ&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;ISDD&amp;gt;00000000&amp;lt;/ISDD&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;ISDZ&amp;gt;000000&amp;lt;/ISDZ&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;IEDD&amp;gt;00000000&amp;lt;/IEDD&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;IEDZ&amp;gt;000000&amp;lt;/IEDZ&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/E1EDT13&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;E1EDT13 SEGMENT="1"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;QUALF&amp;gt;001&amp;lt;/QUALF&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTANF&amp;gt;20110803&amp;lt;/NTANF&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTANZ&amp;gt;080000&amp;lt;/NTANZ&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTEND&amp;gt;20110803&amp;lt;The XML page cannot be displayed &lt;/P&gt;&lt;P&gt;Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. &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;&lt;/P&gt;&lt;P&gt;Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/notesD52F4D/~1922011.xml'. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/SPAN&amp;gt;&amp;lt;/NTEND&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;NTENZ&amp;gt;000000&amp;lt;/NTENZ&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E1EDT13 with QUALF&amp;gt;003 and  &amp;lt;E1EDT13 SEGMENT="1"&amp;gt;&lt;/P&gt;&lt;P&gt;with   &amp;lt;QUALF&amp;gt;001 having almost same segment data . but  E1EDT13 with QUALF&amp;gt;003  is populating all segment data&lt;/P&gt;&lt;P&gt;properly ,but E1EDT13 with QUALF&amp;gt;001  is giving in between.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 07:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-xml-file-from-aplication-server-al11/m-p/8046137#M1611370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T07:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  while reading XML file from Aplication server(Al11)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-xml-file-from-aplication-server-al11/m-p/8046138#M1611371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;E1EDT13 with QUALF&amp;gt;001 is giving  ERROR in between&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 07:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-xml-file-from-aplication-server-al11/m-p/8046138#M1611371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T07:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  while reading XML file from Aplication server(Al11)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-xml-file-from-aplication-server-al11/m-p/8046139#M1611372</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;yes, but this does not answer my question.&lt;/P&gt;&lt;P&gt;Do you have special characters in your file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you open it with notepad and then get the specific part to see if there are any?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 09:05:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-reading-xml-file-from-aplication-server-al11/m-p/8046139#M1611372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T09:05:25Z</dc:date>
    </item>
  </channel>
</rss>

