<?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 converting an sap file output program into xml output in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-an-sap-file-output-program-into-xml-output/m-p/6837370#M1472517</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;I have developed a program from which i am able to generate outptut as a file. Since this file is going to be used by the third party system, user has come back asking me to generate an conversion program into xml of the file output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since i have not handled previously about generating the xml conversion program. Please let me know how to do this or if you could provide me the sample program it will be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunil Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Apr 2010 07:21:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-05T07:21:30Z</dc:date>
    <item>
      <title>converting an sap file output program into xml output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-an-sap-file-output-program-into-xml-output/m-p/6837370#M1472517</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;I have developed a program from which i am able to generate outptut as a file. Since this file is going to be used by the third party system, user has come back asking me to generate an conversion program into xml of the file output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since i have not handled previously about generating the xml conversion program. Please let me know how to do this or if you could provide me the sample program it will be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunil Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 07:21:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-an-sap-file-output-program-into-xml-output/m-p/6837370#M1472517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-05T07:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: converting an sap file output program into xml output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-an-sap-file-output-program-into-xml-output/m-p/6837371#M1472518</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;Just for example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: itab type standard table of sflight.
data: xml_out type string,xmltab type swbhtmltable.

select * from sflight into table itab.

call transformation ('ID')
source tab = itab[]
result xml xml_out.
call function 'SWA_STRING_TO_TABLE'
exporting
character_string = xml_out
importing
character_table = xmltab.
if sy-subrc &amp;lt;&amp;gt; 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.

call function 'GUI_DOWNLOAD'
exporting
filetype = 'BIN'
filename = 'C:\xmlfile.xml'
tables
data_tab = xmltab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;P.s. search SDN for &lt;STRONG&gt;CALL TRANSFORMATION&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 08:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-an-sap-file-output-program-into-xml-output/m-p/6837371#M1472518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-05T08:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: converting an sap file output program into xml output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-an-sap-file-output-program-into-xml-output/m-p/6837372#M1472519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try these links:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/naimesh.patel/blog/2009/02/10/abap-and-excel--create-formatted-excel-using-xml&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/SI/OLE" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/SI/OLE&lt;/A&gt;&lt;EM&gt;concept&lt;/EM&gt;for&lt;EM&gt;downloading&lt;/EM&gt;the&lt;EM&gt;report&lt;/EM&gt;output&lt;EM&gt;into&lt;/EM&gt;excel&lt;/P&gt;&lt;P&gt;/people/otto.gold/blog/2010/02/11/happy-reporting-with-excel-ii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope these proves to be helpful...:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;s@k&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: siemens.a.k on Apr 5, 2010 4:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 09:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-an-sap-file-output-program-into-xml-output/m-p/6837372#M1472519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-05T09:56:53Z</dc:date>
    </item>
  </channel>
</rss>

