<?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 Re: System error while reading XML using CALL TRANSFORMATION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-error-while-reading-xml-using-call-transformation/m-p/9835705#M1784596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of course there are details missing, also the code above is only fragmentary (what happens to lt_xml_tab after the DO... ENDDO? Why putting such a large amount of data into a structure? What is l_str, and where is it filled? Why convert it into an xstring? And where is the resulting xstring fw_xml used, anyway?) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would suggest another approach: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Your error is about an XSLT transformation on an XML file. Did you try this transformation in another environment? Did you save the sample xml and the XSLT transformation to files, and then applied the latter on the first with another tool? For example, in windoze you may use this script to perform the transformation as a test: &lt;A href="http://pastebin.com/F3zQK1VF"&gt;http://pastebin.com/F3zQK1VF&lt;/A&gt; If it doesn't work this way, you can't expect to work it in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If you tested this and are sure that the XSLT transformation works properly on the XML file, please send or attach the XML file and the XSLT transformation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Oct 2013 17:53:20 GMT</pubDate>
    <dc:creator>Ruediger_Plantiko</dc:creator>
    <dc:date>2013-10-27T17:53:20Z</dc:date>
    <item>
      <title>System error while reading XML using CALL TRANSFORMATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-error-while-reading-xml-using-call-transformation/m-p/9835704#M1784595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to READ XML file by XSLT_TOOL using CALL TRANSFORMATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are using below code :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;TYPES &lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;BEGIN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;ls_xml&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raw&lt;SPAN class="L0S55"&gt;(&lt;SPAN class="L0S32"&gt;262143&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;tYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;END &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;ls_xml&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;l_xml_1 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;ls_xml&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;DO&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;DATASET &lt;/SPAN&gt;w_fich &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;l_xml_1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S52"&gt;EQ &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CONDENSE &lt;/SPAN&gt;l_xml_1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;l_xml_1 &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;lt_xml_tab&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;ENDDO&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SCMS_STRING_TO_XSTRING'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;text&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;l_str&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;buffer &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;fw_xml&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; failed &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;OTHERS &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;CALL TRANSFORMATION&amp;nbsp;&amp;nbsp; zsepa_sdd_trans1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOURCE XML lv_xml&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESULT document &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;itab&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting EXCEPTION in CALL TRANSFORMATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that, when we are trying to READ an XML file of size grater than &lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S32"&gt;262143.It is giving exception i.e. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;"System expected a value for the type C" or "END OF TAG IS MISSING &amp;lt;TAGNAME&amp;gt;".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if needed more clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pratima&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 13:28:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-error-while-reading-xml-using-call-transformation/m-p/9835704#M1784595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-25T13:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: System error while reading XML using CALL TRANSFORMATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-error-while-reading-xml-using-call-transformation/m-p/9835705#M1784596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of course there are details missing, also the code above is only fragmentary (what happens to lt_xml_tab after the DO... ENDDO? Why putting such a large amount of data into a structure? What is l_str, and where is it filled? Why convert it into an xstring? And where is the resulting xstring fw_xml used, anyway?) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would suggest another approach: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Your error is about an XSLT transformation on an XML file. Did you try this transformation in another environment? Did you save the sample xml and the XSLT transformation to files, and then applied the latter on the first with another tool? For example, in windoze you may use this script to perform the transformation as a test: &lt;A href="http://pastebin.com/F3zQK1VF"&gt;http://pastebin.com/F3zQK1VF&lt;/A&gt; If it doesn't work this way, you can't expect to work it in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If you tested this and are sure that the XSLT transformation works properly on the XML file, please send or attach the XML file and the XSLT transformation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 17:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-error-while-reading-xml-using-call-transformation/m-p/9835705#M1784596</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2013-10-27T17:53:20Z</dc:date>
    </item>
  </channel>
</rss>

