<?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 format for outbound in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250913#M1014705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Siddartha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you report is a customer report where you have the final output in an internal table then use &lt;STRONG&gt;XML transformation&lt;/STRONG&gt;, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: gd_xml   TYPE string,
           gt_xml   TYPE TABLE OF string.

CALL TRANSFORMATION ID ident
  SOURCE itab = gt_itab
  RESULT XML = gd_xml.

  APPEND gd_xml TO gt_xml.
" Download to PC using CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_DOWNLOAD
...&lt;/CODE&gt;&lt;/PRE&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, 02 Aug 2008 20:22:02 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2008-08-02T20:22:02Z</dc:date>
    <item>
      <title>XML format for outbound</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250910#M1014702</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 need to read payroll results and then write an outbound which should appear in XML format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody suggest me how to bring outbound file directly in XML?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;siddartha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 12:36:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250910#M1014702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T12:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: XML format for outbound</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250911#M1014703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From WE21 create a port of type xml FILE it will create the outbound idoc in XML format.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 12:42:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250911#M1014703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T12:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: XML format for outbound</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250912#M1014704</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;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I am not creating any idoc?just need the outbound output file in xml format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u suggest?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 12:44:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250912#M1014704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T12:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: XML format for outbound</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250913#M1014705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Siddartha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you report is a customer report where you have the final output in an internal table then use &lt;STRONG&gt;XML transformation&lt;/STRONG&gt;, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: gd_xml   TYPE string,
           gt_xml   TYPE TABLE OF string.

CALL TRANSFORMATION ID ident
  SOURCE itab = gt_itab
  RESULT XML = gd_xml.

  APPEND gd_xml TO gt_xml.
" Download to PC using CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_DOWNLOAD
...&lt;/CODE&gt;&lt;/PRE&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, 02 Aug 2008 20:22:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250913#M1014705</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-08-02T20:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: XML format for outbound</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250914#M1014706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much  Uwe Schieferstein.&lt;/P&gt;&lt;P&gt;I need to create a header in XML format for those results.so still ur logic works for me?&lt;/P&gt;&lt;P&gt;please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Aug 2008 16:56:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250914#M1014706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-03T16:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: XML format for outbound</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250915#M1014707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Siddartha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just need to define the structure of your (complex) itab as required for the XML transformation, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES: BEGIN OF ty_s_list.
TYPES: header     TYPE &amp;lt;structure of header&amp;gt;.
TYPES: data         TYPE &amp;lt;table type of payroll data&amp;gt;.
TYPES: END OF ty_s_list.
TYPES: ty_t_list       TYPE STANDARD TABLE OF ty_s_list
                               WITH DEFAULT KEY.

DATA: gt_list     TYPE ty_t_list.

...
CALL TRANSFORMATION ID ident
  SOURCE itab = gt_list
  RESULT XML = gd_xml.
 
  APPEND gd_xml TO gt_xml.
" Download to PC using CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_DOWNLOAD
...

&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Aug 2008 19:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-format-for-outbound/m-p/4250915#M1014707</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-08-03T19:41:21Z</dc:date>
    </item>
  </channel>
</rss>

