<?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 output file from ABAP program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-file-from-abap-program/m-p/2337816#M514916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the program Z_SAP_HIERARCHY_DOWNLOAD to output a hierarchy in BW to a specified drive. It works fine when I go to SE38 and run it. However, when I run it from a process chain, it doesn't output the file. How can I generate the output file by running the program from a Process Chain? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2007 17:12:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-06T17:12:19Z</dc:date>
    <item>
      <title>output file from ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-file-from-abap-program/m-p/2337816#M514916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the program Z_SAP_HIERARCHY_DOWNLOAD to output a hierarchy in BW to a specified drive. It works fine when I go to SE38 and run it. However, when I run it from a process chain, it doesn't output the file. How can I generate the output file by running the program from a Process Chain? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 17:12:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-file-from-abap-program/m-p/2337816#M514916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T17:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: output file from ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-file-from-abap-program/m-p/2337817#M514917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Uday,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i suppose if you run the program within a process chain it will be started&lt;/P&gt;&lt;P&gt;in a background process. All downloads via the SAPGUI onto your local&lt;/P&gt;&lt;P&gt;PC (or network drive) are not possible in the background because there is no&lt;/P&gt;&lt;P&gt;connection to your PC during the excecution of the report in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to save the download on an accessible file system on the application server&lt;/P&gt;&lt;P&gt;and download it from there afterwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which function module is used to download the data (GUI_DOWNLOAD or the older version WS_DOWNLOAD) in your report?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To save data on the application server use the ABAP statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  OPEN DATASET filename FOR OUTPUT    -&amp;gt; for creation of file&lt;/P&gt;&lt;P&gt;  TRANSFER record TO filename                  -&amp;gt; for transfer of one record&lt;/P&gt;&lt;P&gt;  CLOSE DATASET filename                        -&amp;gt; for closing the file&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;Ralf Matthies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 11:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-file-from-abap-program/m-p/2337817#M514917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T11:03:32Z</dc:date>
    </item>
  </channel>
</rss>

