<?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 error  in XML transformation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-xml-transformation/m-p/9827540#M1783538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;We are reading an XML file (utf-8) using a transformation created through the Tcode XSLT_TOOL. We are using the CALL TRANSFORMATION statement for the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;We find that there is an issue which has come up in production because the program could not read a file which has around 6000 lines. Upon analysis we found that the CALL TRANSFORMATION statement fails.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;The error message of the exception we get is “System Expected A value Of Type C”. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;We do not have a way of finding which exact tag in the XML file is causing this. We tried to declare the structure elements with numeric data types, but the transformation accepts only Character type elements. Due to this&amp;nbsp; we’re not able to resolve this error. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;This is a very critical production issue &lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;for the client since it affects the transfer of payment data to banks in this XML format of SEPA (Single EURO Payment Area).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Kindly help us out by connect us to some folks who have worked on XML processing of bank files and will be able to help us out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Oct 2013 10:33:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-10-25T10:33:07Z</dc:date>
    <item>
      <title>error  in XML transformation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-xml-transformation/m-p/9827540#M1783538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;We are reading an XML file (utf-8) using a transformation created through the Tcode XSLT_TOOL. We are using the CALL TRANSFORMATION statement for the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;We find that there is an issue which has come up in production because the program could not read a file which has around 6000 lines. Upon analysis we found that the CALL TRANSFORMATION statement fails.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;The error message of the exception we get is “System Expected A value Of Type C”. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;We do not have a way of finding which exact tag in the XML file is causing this. We tried to declare the structure elements with numeric data types, but the transformation accepts only Character type elements. Due to this&amp;nbsp; we’re not able to resolve this error. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;This is a very critical production issue &lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;for the client since it affects the transfer of payment data to banks in this XML format of SEPA (Single EURO Payment Area).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Kindly help us out by connect us to some folks who have worked on XML processing of bank files and will be able to help us out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 10:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-xml-transformation/m-p/9827540#M1783538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-25T10:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: error  in XML transformation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-xml-transformation/m-p/9827541#M1783539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="background: #f8f8f8; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;"&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;Hi,&amp;nbsp; Try this approach.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;DATA&lt;/SPAN&gt;:&lt;SPAN style="color: #19177c;"&gt;lv_filname&lt;/SPAN&gt; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;TYPE&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #19177c;"&gt;localfile&lt;/SPAN&gt;.

&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;DATA&lt;/SPAN&gt;:&lt;SPAN style="color: #19177c;"&gt;lv_xstring&lt;/SPAN&gt; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;xstring&lt;/SPAN&gt;.
&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;DATA&lt;/SPAN&gt;:&lt;SPAN style="color: #19177c;"&gt;xml_table&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;TYPE STANDARD TABLE OF&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;smum_xmltb&lt;/SPAN&gt;.
&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;DATA&lt;/SPAN&gt;:&lt;SPAN style="color: #19177c;"&gt;lv_dummy&lt;/SPAN&gt; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;string&lt;/SPAN&gt;.

&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;CONCATENATE&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #19177c;"&gt;in_path&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;in_filename&lt;/SPAN&gt; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;INTO&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;lv_filname&lt;/SPAN&gt;.

&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;OPEN DATASET&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;lv_filname&lt;/SPAN&gt; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;FOR&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;IN&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;BINARY&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;MODE&lt;/SPAN&gt;.
&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;IF&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;sy&lt;/SPAN&gt;&lt;SPAN style="color: #666666;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #19177c;"&gt;subrc&lt;/SPAN&gt; &lt;SPAN style="color: #666666;"&gt;NE&lt;/SPAN&gt; &lt;SPAN style="color: #666666;"&gt;0&lt;/SPAN&gt;.
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #408080; font-style: italic;"&gt;"...&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;ENDIF&lt;/SPAN&gt;.

&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;READ&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;DATASET&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;lv_filname&lt;/SPAN&gt; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;INTO&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;lv_xstring&lt;/SPAN&gt;.
&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;CLOSE DATASET&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;lv_filname&lt;/SPAN&gt;.

&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;CALL FUNCTION&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;'SMUM_XML_PARSE'&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;EXPORTING&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #19177c;"&gt;xml_input&lt;/SPAN&gt; &lt;SPAN style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;lv_xstring&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;TABLES&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #19177c;"&gt;xml_table&lt;/SPAN&gt; &lt;SPAN style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;out_tab&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;return&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;out_return&lt;/SPAN&gt;.

&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;CALL FUNCTION&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;'HR_KR_XSTRING_TO_STRING'&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;EXPORTING&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #19177c;"&gt;in_xstring&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;lv_xstring&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt; IMPORTING&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #19177c;"&gt;out_string&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #19177c;"&gt;out_string&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .
&amp;nbsp; &lt;SPAN style="color: #008000; font-weight: bold;"&gt;IF&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #19177c;"&gt;out_string&lt;/SPAN&gt; &lt;SPAN style="color: #666666;"&gt;NE&lt;/SPAN&gt; &lt;SPAN style="color: #666666;"&gt;0&lt;/SPAN&gt;.
&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #408080; font-style: italic;"&gt;"...&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;&amp;nbsp; ENDIF&lt;/SPAN&gt;.
&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 11:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-xml-transformation/m-p/9827541#M1783539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-25T11:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: error  in XML transformation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-xml-transformation/m-p/9827542#M1783540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Set a break point by call Transformation, so at this point you will be able to jump in the transformation with F5, and debug&amp;nbsp; line after line. till the point where it trows the error&lt;/P&gt;&lt;P&gt;i think your error mean the declared structure is waiting for a caracter but receiving somthing else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm working on Sepa XML too but with simple transformation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if it solved your problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 08:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-xml-transformation/m-p/9827542#M1783540</guid>
      <dc:creator>germain_azambou2</dc:creator>
      <dc:date>2013-10-30T08:32:07Z</dc:date>
    </item>
  </channel>
</rss>

