<?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: ABAP to XML in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396512#M1546235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"call transformation id&lt;/P&gt;&lt;P&gt;source root =  wa_convert_data "having a single row of data.&lt;/P&gt;&lt;P&gt;result xml   wa-mystr "output in the format ."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID =&amp;gt; transformation created ??&lt;/P&gt;&lt;P&gt;waht is wa_convert_data???&lt;/P&gt;&lt;P&gt;wa_mystr of what type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right now i have created a transformation..... and also a class..... which does this saving in aplication server ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its not able to access the node... some problem in call transforamtion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call transformation ZEWM_DEV_I_004_TRANSFORMATION&lt;/P&gt;&lt;P&gt;   source root = it_final =&amp;gt; this internal table is having all the abap data whihc i want to convert to XML....&lt;/P&gt;&lt;P&gt;   result xml lif_doc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Oct 2010 04:57:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-13T04:57:25Z</dc:date>
    <item>
      <title>ABAP to XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396509#M1546232</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;I went throught many of the threads n sdn... i have one doubt... i have to generate an Hierarchical XML from ABAP..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which has more than one node. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this case., should i create more than one data type/structure????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XML will look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;!&lt;DEL&gt;//First UN&lt;/DEL&gt;&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;!&lt;DEL&gt;//3rd  UN&lt;/DEL&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 10:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396509#M1546232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-11T10:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP to XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396510#M1546233</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;check the programs BCCIIXMLT1-BCCIIXMLT4. you will get some idea on the ABAP-XML and XML-ABAP conversion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 07:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396510#M1546233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-12T07:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP to XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396511#M1546234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Poonam Naik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;creation of XML from ABAP can be done through the call transformation method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types: begin of str,
  mystr type string,
  end of str.
  data: it_data type standard table of str,
        wa type str.

"" write the 

call transformation id
source root =  wa_convert_data "having a single row of data.
result xml   wa-mystr "output in the format .


CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
*   BIN_FILESIZE                    =
    filename                        = 'C:\test_xml'  "file location
  FILETYPE                        = 'ASC
     tables
    data_tab                        = it_data  " xml format data.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;Lalitkumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 13:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396511#M1546234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-12T13:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP to XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396512#M1546235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"call transformation id&lt;/P&gt;&lt;P&gt;source root =  wa_convert_data "having a single row of data.&lt;/P&gt;&lt;P&gt;result xml   wa-mystr "output in the format ."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID =&amp;gt; transformation created ??&lt;/P&gt;&lt;P&gt;waht is wa_convert_data???&lt;/P&gt;&lt;P&gt;wa_mystr of what type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right now i have created a transformation..... and also a class..... which does this saving in aplication server ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its not able to access the node... some problem in call transforamtion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call transformation ZEWM_DEV_I_004_TRANSFORMATION&lt;/P&gt;&lt;P&gt;   source root = it_final =&amp;gt; this internal table is having all the abap data whihc i want to convert to XML....&lt;/P&gt;&lt;P&gt;   result xml lif_doc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 04:57:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396512#M1546235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-13T04:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP to XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396513#M1546236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;types: begin of str,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;mystr type string,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;end of str.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;data: it_data type standard table of str,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;wa type str.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;"" write the&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;call transformation id&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;source root =  wa_convert_data "having a single row of data.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;result xml   wa-mystr "output in the format .&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;EXPORTING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;*   BIN_FILESIZE                    =&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;filename                        = 'C:	est_xml'  "file location&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FILETYPE                        = 'ASC&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tables&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;data_tab                        = it_data  " xml format data.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well i got all this...&lt;/P&gt;&lt;P&gt;now my prblm is .. i have to get the ouput like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help on this nodes... how to set these in XSLT_TOOL transaction??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 09:44:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396513#M1546236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-13T09:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP to XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396514#M1546237</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;I am gettin an error while writing this transformation:&lt;/P&gt;&lt;P&gt;The moment i called &lt;/P&gt;&lt;P&gt;call transformation ztest&lt;/P&gt;&lt;P&gt;source root = it_final&lt;/P&gt;&lt;P&gt;xml sml_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing is happening at this point... its just coming out of the statment&lt;/P&gt;&lt;P&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;&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;&amp;lt;tt:loop ref=".ROOT" &amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ORDERNR&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="ordernr"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CUSTOMER&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="customer"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/CUSTOMER&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;DESTINATION&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="destination"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/DESTINATION&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;SUPPLIER&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="supplier"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/SUPPLIER&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;BRUKARE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="brukare"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/BRUKARE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;SOURCE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="source"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/SOURCE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ID&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="id"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;TYPE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="type"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/TYPE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;SORTIMENT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="sortiment"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/SORTIMENT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;WEIGHT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="weight"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/WEIGHT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;VOLUME&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="volume"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/VOLUME&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;FLOORSPACE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="floorspace"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/FLOORSPACE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;STATUS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="status"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/STATUS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;WORKUNITID&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="workunitid"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/WORKUNITID&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ID&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;HAZMAT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="hazmat"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;UNNUM&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="unnum"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/UNNUM&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;PACKAGECODETYPE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="packagecodetype"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/PACKAGECODETYPE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;UNWEIGHT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="unweight"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/UNWEIGHT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;UNVOLUME&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="unvolue"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/UNVOLUME&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;UNQTY&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tt:value ref="unqty"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/UNQTY&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/HAZMAT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ORDERNR&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tt:loop&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 05:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-to-xml/m-p/7396514#M1546237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-15T05:37:56Z</dc:date>
    </item>
  </channel>
</rss>

