<?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: Simple Transformation Exception in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-exception/m-p/5407341#M1241801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately the threads above didn't contain any solution - has nobody found this problem? If you got an external xml file , you always have namespace declarations in the root tag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2009 08:30:10 GMT</pubDate>
    <dc:creator>former_member554863</dc:creator>
    <dc:date>2009-04-08T08:30:10Z</dc:date>
    <item>
      <title>Simple Transformation Exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-exception/m-p/5407338#M1241798</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;I am tying to map XML to ABAP(deserialize) but receive a CX_ST_MATCH_ELEMENT Exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my Simple Transformation, the calling method, and the XML snippet I am tying to deserialize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;P&gt;&amp;lt;?sap.transform simple?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:transform xmlns:tt="http://www.sap.com/transformation-templates"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;tt:root name="ROOT"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;tt:template&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       &amp;lt;SndgInst&amp;gt;&lt;/P&gt;&lt;P&gt;         &amp;lt;tt:value ref="ROOT"/&amp;gt;&lt;/P&gt;&lt;P&gt;       &amp;lt;/SndgInst&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/tt:template&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tt:transform&amp;gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;method PARSE_XML.&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    sndginst(10)                  type c value '          ',&lt;/P&gt;&lt;P&gt;    l_exception_error               TYPE REF TO cx_st_error.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;parse the xml content&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    TRY.&lt;/P&gt;&lt;P&gt;        CLEAR: l_exception_error.&lt;/P&gt;&lt;P&gt;        CALL TRANSFORMATION (i_st_name)&lt;/P&gt;&lt;P&gt;                     SOURCE XML i_xml_string&lt;/P&gt;&lt;P&gt;                     RESULT root = sndginst.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;catch exception&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CATCH: cx_st_error INTO l_exception_error.&lt;/P&gt;&lt;P&gt;    ENDTRY.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------" /&gt;&lt;P&gt;&amp;lt;S2SCTScf:SndgInst ymlns:S2SCTScf="urn:S2SCTScf:xsd:$SCTScfBlkCredTrf"&amp;gt;ZYDOFRP0&amp;lt;/S2SCTScf:SndgInst&amp;gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried adding a reference for the namespace 'S2SCTScf' but receive the same exception.&lt;/P&gt;&lt;P&gt;I think it must have something to do with the namespace prefix and I have tried several different versions of the Simple transformation, such as &amp;lt;S2SCTSCF:SndgInst&amp;gt; as my tag reference, to no avail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception class does not provide a lot of useful information and since you cannot debug a Simple Transformation it is a guessing game.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mark Lengel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mark Lengel on Mar 31, 2009 11:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 12:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-exception/m-p/5407338#M1241798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-30T12:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Transformation Exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-exception/m-p/5407339#M1241799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've exactly the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My XML Input Stream contains Namespaces in the root element for e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Measurement xmlns="es.xxx.com" xmlns:ns2="http://www.w3.org/1999/xlink" xmlns:ns3="http://www.w3.org/1998/Math/MathML"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Simple Transformation always raise an CX_ST_MATCH_ELEMENT Exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i delete the xmlns declarations, the Element will be found and everything is o.k.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried to avoid this by adding the tt:extensible="deep-dynamic" attribute but it doesn't matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;tt:template&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;Measurement tt:extensible="deep-dynamic"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use WebAS 6.40, ERP 2004.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the Community could help us. Maybe it's bug in the XML Libraries.. etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2009 13:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-exception/m-p/5407339#M1241799</guid>
      <dc:creator>former_member554863</dc:creator>
      <dc:date>2009-04-07T13:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Transformation Exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-exception/m-p/5407340#M1241800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;similar issues:&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="message" id="7155337"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="message" id="6888944"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2009 13:38:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-exception/m-p/5407340#M1241800</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-04-07T13:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Transformation Exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-exception/m-p/5407341#M1241801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately the threads above didn't contain any solution - has nobody found this problem? If you got an external xml file , you always have namespace declarations in the root tag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2009 08:30:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-exception/m-p/5407341#M1241801</guid>
      <dc:creator>former_member554863</dc:creator>
      <dc:date>2009-04-08T08:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Transformation Exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-exception/m-p/5407342#M1241802</link>
      <description>&lt;P&gt;I am facing similar issue. Do you have any solution to avoid exception? &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep K&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 11:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-exception/m-p/5407342#M1241802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-02-24T11:07:41Z</dc:date>
    </item>
  </channel>
</rss>

