<?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 output Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-output-function-module/m-p/1749991#M325193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ricky&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To transform ABAP to XML you can use the simple transformation, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
  gt_itab    TYPE TABLE OF knb1,
  gd_xml   TYPE string.



* Select data into gt_itab

  CALL TRANSFORMATION id_ident
    SOURCE abap = gt_itab
    RESULT XML gd_xml.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could place this coding into a function module having an IMPORTING parameter of type TABLE (generic table type). However, this generic type will not work for a RFC-enable function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Dec 2006 07:23:05 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2006-12-09T07:23:05Z</dc:date>
    <item>
      <title>XML output Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-output-function-module/m-p/1749990#M325192</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;Is there any function module in ABAP to generate an xml structure? &lt;/P&gt;&lt;P&gt;I want to generate an xml output in a string for the input structure (internal table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 09:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-output-function-module/m-p/1749990#M325192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T09:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: XML output Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-output-function-module/m-p/1749991#M325193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ricky&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To transform ABAP to XML you can use the simple transformation, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
  gt_itab    TYPE TABLE OF knb1,
  gd_xml   TYPE string.



* Select data into gt_itab

  CALL TRANSFORMATION id_ident
    SOURCE abap = gt_itab
    RESULT XML gd_xml.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could place this coding into a function module having an IMPORTING parameter of type TABLE (generic table type). However, this generic type will not work for a RFC-enable function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2006 07:23:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-output-function-module/m-p/1749991#M325193</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-12-09T07:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: XML output Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-output-function-module/m-p/1749992#M325194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this code sample may be of interest to you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f50dcd4e-0501-0010-3596-b686a7b51492" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f50dcd4e-0501-0010-3596-b686a7b51492&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2006 12:51:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-output-function-module/m-p/1749992#M325194</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-12-09T12:51:22Z</dc:date>
    </item>
  </channel>
</rss>

