<?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: Xml transfornation help  dump help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053356#M1352700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i change it like u tell and i facing other dump,&lt;/P&gt;&lt;P&gt;do u have an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is exactly the code that i write :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF wa,
         key TYPE string,
         value TYPE string,
       END OF wa.

DATA it_data LIKE TABLE OF wa.


START-OF-SELECTION.


  DATA:  xml_string TYPE string
        VALUE '&amp;lt;determination&amp;gt;&amp;lt;deter key = "00009" value = "Johan"/&amp;gt;&amp;lt;deter key = "1000" value = "GSS"/&amp;gt;&amp;lt;/determination&amp;gt;'.




  CALL TRANSFORMATION ztest_xml_009
       SOURCE  XML xml_string
       RESULT  itab = it_data.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is  what i write in strans&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&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;  &amp;lt;tt:root name="ITAB"/&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;tt:template&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;determination&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;tt:loop name="a" ref=".ITAB"&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;deter&amp;gt;&lt;/P&gt;&lt;P&gt;       &amp;lt;tt:attribute name="key" ref="$a.key" name="value" ref="$a.value" /&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;/deter&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;/tt:loop&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;/determination&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/tt:template&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tt:transform&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And this is the dump&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_ST_MATCH_ATTRIBUTE', was not&lt;/P&gt;&lt;P&gt;     caught and&lt;/P&gt;&lt;P&gt;    therefore caused a runtime error.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    XML matching error&lt;/P&gt;&lt;P&gt;    Expected was attribute-end: "determination" [ ] Read was text: "Johan" [ ].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i help please :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can just copy and paste the code and u get the same dump that i am facing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best Regards&lt;/P&gt;&lt;P&gt;jOy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Joy Stpr on Aug 4, 2009 8:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2009 06:00:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-04T06:00:19Z</dc:date>
    <item>
      <title>Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053344#M1352688</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;&lt;/P&gt;&lt;P&gt;I have this string type xml and it coming from internal table and i want to parse it to abap internal table, i follow some example that in the forum  and i facing an dump ,do some one can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF wa,&lt;/P&gt;&lt;P&gt;         key TYPE string,&lt;/P&gt;&lt;P&gt;         val TYPE string,&lt;/P&gt;&lt;P&gt;       END OF wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA it_data LIKE TABLE OF wa.

START-OF-SELECTION.

DATA:  xml_string TYPE string
      VALUE '&amp;lt;determination&amp;gt;&amp;lt;deter key = "00009" value = "Johan"/&amp;gt;&amp;lt;deter key = "1000" value = "GSS"/&amp;gt;&amp;lt;/determination&amp;gt;'.



  CALL TRANSFORMATION z_xml_to_itab
       SOURCE  XML xml_string
       RESULT  itab = it_data.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i write on TR. strans &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;tt:transform xmlns:tt="http://www.sap.com/transformation-templates"&amp;gt;
  &amp;lt;tt:root name="ITAB"/&amp;gt;
  &amp;lt;tt:template&amp;gt;
    &amp;lt;determination&amp;gt;
      &amp;lt;tt:loop name="a" ref=".ITAB"&amp;gt;
        &amp;lt;deter&amp;gt;
          &amp;lt;tt:attribute name="key" ref="$a.akey" name="val" ref="$a.aval" /&amp;gt;
        &amp;lt;/deter&amp;gt;
      &amp;lt;/tt:loop&amp;gt;
    &amp;lt;/determination&amp;gt;
  &amp;lt;/tt:template&amp;gt;
&amp;lt;/tt:transform&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i check on the debugger the error is in line :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &amp;lt;tt:attribute name="key" ref="$a.akey" name="val" ref="$a.aval" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the dump is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;  The exception, which is assigned to class 'CX_ST_MATCH_ATTRIBUTE', was not&lt;/P&gt;&lt;P&gt;   caught and&lt;/P&gt;&lt;P&gt;  therefore caused a runtime error.&lt;/P&gt;&lt;P&gt;  The reason for the exception is:&lt;/P&gt;&lt;P&gt;  XML matching error&lt;/P&gt;&lt;P&gt;  Expected was attribute: "val" [ ] Read was element-start: "deter" [ ].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i miss here ?????,please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Joy Stpr on Aug 3, 2009 9:54 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2009 11:19:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053344#M1352688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-02T11:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053345#M1352689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Transformation declared as ;  &amp;lt;tt:attribute name="key" ref="$a.akey" name="val" ref="$a.aval" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the value provided is &lt;STRONG&gt;value="Johan"&lt;/STRONG&gt;. This should &lt;STRONG&gt;val="Johan"&lt;/STRONG&gt;. The same thing needs to be done for other vkey value also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 08:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053345#M1352689</guid>
      <dc:creator>sivasatyaprasad_yerra</dc:creator>
      <dc:date>2009-08-03T08:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053346#M1352690</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;Instead of giving transformation template z_xml_to_itab simply use identical transformation as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSFORMATION ID&lt;/P&gt;&lt;P&gt;       SOURCE  XML xml_string&lt;/P&gt;&lt;P&gt;       RESULT  itab = it_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will transform the xml_string directly in to ABAP data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 09:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053346#M1352690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T09:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053347#M1352691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since i new to this topic in abap ,&lt;/P&gt;&lt;P&gt;can u please elaborate on this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 10:29:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053347#M1352691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T10:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053348#M1352692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Augustarian  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try like u tell and i get this error :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;38 *ZTEST_XML_002
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   CALL TRANSFORMATION id
   40        SOURCE  XML xml_string
   41        RESULT  itab = it_data.
   42&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;The exception, which is assigned to class 'CX_XSLT_FORMAT_ERROR', was not&lt;/P&gt;&lt;P&gt; caught and&lt;/P&gt;&lt;P&gt;therefore caused a runtime error.&lt;/P&gt;&lt;P&gt;The reason for the exception is:&lt;/P&gt;&lt;P&gt;The XML format was recognized as invalid for one of the following&lt;/P&gt;&lt;P&gt;reasons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The basic structure of the document was incorrect - for example, the&lt;/P&gt;&lt;P&gt;root tag &amp;lt;abap&amp;gt; must be in the XML namespace&lt;/P&gt;&lt;P&gt;"http://www.sap.com/abapxml".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Start tags appear where no more are expected - for example, when an&lt;/P&gt;&lt;P&gt;integer value is to be read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. You have to specify the correct version number to read certain data&lt;/P&gt;&lt;P&gt;types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Too few or too many properties exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 10:42:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053348#M1352692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T10:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053349#M1352693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_nwpi71/helpdata/EN/e3/7d4719ca581441b6841f1054ff1326/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may be helpful in understanding Simple transformations&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 10:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053349#M1352693</guid>
      <dc:creator>sivasatyaprasad_yerra</dc:creator>
      <dc:date>2009-08-03T10:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053350#M1352694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;tt:transform xmlns:tt="http://www.sap.com/transformation-templates"&amp;gt;
  &amp;lt;tt:root name="ITAB"/&amp;gt;
  &amp;lt;tt:template&amp;gt;
    &amp;lt;determination&amp;gt;
      &amp;lt;tt:loop name="a" ref=".ITAB"&amp;gt;
        &amp;lt;deter&amp;gt;
          &amp;lt;tt:attribute name="key" ref="$a.akey" name="val" ref="$a.aval" /&amp;gt;
        &amp;lt;/deter&amp;gt;
      &amp;lt;/tt:loop&amp;gt;
    &amp;lt;/determination&amp;gt;
  &amp;lt;/tt:template&amp;gt;
&amp;lt;/tt:transform&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By taking the transformation you have used..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;deter&amp;gt;&lt;/STRONG&gt; tag should contain two attributes &lt;STRONG&gt;key&lt;/STRONG&gt; and &lt;STRONG&gt;val&lt;/STRONG&gt;. But the actual XML contains &lt;STRONG&gt;key&lt;/STRONG&gt; and &lt;STRONG&gt;value&lt;/STRONG&gt; as attributes. Which is wrong.&lt;/P&gt;&lt;P&gt;Check the link provided above to get more inside details of simple transformations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 10:52:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053350#M1352694</guid>
      <dc:creator>sivasatyaprasad_yerra</dc:creator>
      <dc:date>2009-08-03T10:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053351#M1352695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i do is exactly what is write on the sap help ( iread this post before i start to develop )and i think that i miss somthing ,&lt;/P&gt;&lt;P&gt;since i don't found what i doing wrong on my code ,&lt;/P&gt;&lt;P&gt;please see if u can help .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 11:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053351#M1352695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T11:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053352#M1352696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry. I didn't understand the problem. Could you explain in detail.&lt;/P&gt;&lt;P&gt;I've checked the first memo and i think whatever you are doing looks correct to me. If you have any other problems, explain it in details. So, that i may help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 11:23:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053352#M1352696</guid>
      <dc:creator>sivasatyaprasad_yerra</dc:creator>
      <dc:date>2009-08-03T11:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053353#M1352697</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;&lt;/P&gt;&lt;P&gt;CALL TRANSAFORMATION expects data into XSLT format while using identical transformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The input XML should be formatted as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="iso-8859-1"?&amp;gt;&amp;lt;asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"&amp;gt;&amp;lt;asx:values&amp;gt;.......your data fields.....&amp;lt;/asx:values&amp;gt;&amp;lt;/asx:abap&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="iso-8859-1"?&amp;gt;&amp;lt;asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"&amp;gt;&amp;lt;asx:values&amp;gt;&amp;lt;NAME&amp;gt;snd&amp;lt;/NAME&amp;gt;&amp;lt;/asx:values&amp;gt;&amp;lt;/asx:abap&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if you can convert your existing xml into above one with some simple string manipulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 11:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053353#M1352697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T11:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053354#M1352698</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;&lt;/P&gt;&lt;P&gt;The problem is that i get the value XML string in the program and i need to put the value of it &lt;/P&gt;&lt;P&gt;on the internal table (this is happen during runtime i.e. the string value change i just copy the string structure that ramain the same but the value like the name is changing) .&lt;/P&gt;&lt;P&gt;when i write the code of the transformation i get dump (see my previous post )&lt;/P&gt;&lt;P&gt;how can i throw the data to abap internal table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE VALUE THAT I WANT TO MOVE TO ABAP TABLE IS SIMPLE ,&lt;/P&gt;&lt;P&gt;BUT I MISS SOMETHING PLEASE PROVIDE HELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Joy Stpr on Aug 3, 2009 9:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 11:29:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053354#M1352698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T11:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053355#M1352699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change this transformation tag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;tt:attribute name="key" ref="$a.akey" name="val" ref="$a.aval" /&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;tt:attribute name="key" ref="$a.key" name="val" ref="$a.val" /&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 03:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053355#M1352699</guid>
      <dc:creator>sivasatyaprasad_yerra</dc:creator>
      <dc:date>2009-08-04T03:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053356#M1352700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i change it like u tell and i facing other dump,&lt;/P&gt;&lt;P&gt;do u have an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is exactly the code that i write :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF wa,
         key TYPE string,
         value TYPE string,
       END OF wa.

DATA it_data LIKE TABLE OF wa.


START-OF-SELECTION.


  DATA:  xml_string TYPE string
        VALUE '&amp;lt;determination&amp;gt;&amp;lt;deter key = "00009" value = "Johan"/&amp;gt;&amp;lt;deter key = "1000" value = "GSS"/&amp;gt;&amp;lt;/determination&amp;gt;'.




  CALL TRANSFORMATION ztest_xml_009
       SOURCE  XML xml_string
       RESULT  itab = it_data.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is  what i write in strans&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&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;  &amp;lt;tt:root name="ITAB"/&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;tt:template&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;determination&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;tt:loop name="a" ref=".ITAB"&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;deter&amp;gt;&lt;/P&gt;&lt;P&gt;       &amp;lt;tt:attribute name="key" ref="$a.key" name="value" ref="$a.value" /&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;/deter&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;/tt:loop&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;/determination&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/tt:template&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tt:transform&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And this is the dump&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_ST_MATCH_ATTRIBUTE', was not&lt;/P&gt;&lt;P&gt;     caught and&lt;/P&gt;&lt;P&gt;    therefore caused a runtime error.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    XML matching error&lt;/P&gt;&lt;P&gt;    Expected was attribute-end: "determination" [ ] Read was text: "Johan" [ ].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i help please :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can just copy and paste the code and u get the same dump that i am facing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best Regards&lt;/P&gt;&lt;P&gt;jOy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Joy Stpr on Aug 4, 2009 8:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 06:00:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053356#M1352700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T06:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Xml transfornation help  dump help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053357#M1352701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the following transformation::&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?sap.transform simple?&amp;gt;
&amp;lt;tt:transform xmlns:tt="http://www.sap.com/transformation-templates"&amp;gt;
&amp;lt;tt:root name="ITAB"/&amp;gt;
&amp;lt;tt:template&amp;gt;
&amp;lt;determination&amp;gt;
&amp;lt;tt:loop name="a" ref=".ITAB"&amp;gt;
&amp;lt;deter&amp;gt;
&amp;lt;tt:attribute name="key" value-ref="$a.key" name="value" value-ref="$a.value" /&amp;gt;
&amp;lt;/deter&amp;gt;
&amp;lt;/tt:loop&amp;gt;
&amp;lt;/determination&amp;gt;
&amp;lt;/tt:template&amp;gt;
&amp;lt;/tt:transform&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only difference is &lt;STRONG&gt;value-ref&lt;/STRONG&gt; attribute is used instead of &lt;STRONG&gt;ref&lt;/STRONG&gt; attribute for &lt;STRONG&gt;&amp;lt;tt:attribute&amp;gt;&lt;/STRONG&gt; tag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 08:21:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transfornation-help-dump-help/m-p/6053357#M1352701</guid>
      <dc:creator>sivasatyaprasad_yerra</dc:creator>
      <dc:date>2009-08-04T08:21:30Z</dc:date>
    </item>
  </channel>
</rss>

