<?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 Background Processing/ F9 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604110#M271198</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;Hi have created a program that selects data from a particular table and load it a new session of ms excel program. It automatically opens ms excel through ole2_objects and populates the rows one by one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet there is a new requirement. The user should be able to run it both in foreground and background. When run in background, an excel file should be deposited in a particular directory (given by the user). The user can choose to run it in background by just pressing F9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the program runs in foreground, nothing should change as that of the old version(opens ms excel etc.). Is there any way I can catch the value of the Key F9? How do I do these?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help. I'll appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kenny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Oct 2006 09:24:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-10T09:24:21Z</dc:date>
    <item>
      <title>Background Processing/ F9</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604110#M271198</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;Hi have created a program that selects data from a particular table and load it a new session of ms excel program. It automatically opens ms excel through ole2_objects and populates the rows one by one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet there is a new requirement. The user should be able to run it both in foreground and background. When run in background, an excel file should be deposited in a particular directory (given by the user). The user can choose to run it in background by just pressing F9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the program runs in foreground, nothing should change as that of the old version(opens ms excel etc.). Is there any way I can catch the value of the Key F9? How do I do these?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help. I'll appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kenny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 09:24:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604110#M271198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T09:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Background Processing/ F9</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604111#M271199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u have to pput like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if SY-BATCH eq 'X'.( program running in background)&lt;/P&gt;&lt;P&gt;logic&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;logic&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 09:27:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604111#M271199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T09:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Background Processing/ F9</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604112#M271200</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 so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you happen to know how to create an excel file directly and dump it to directory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Kenny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 09:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604112#M271200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T09:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Background Processing/ F9</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604113#M271201</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;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'EXCEL_OLE_STANDARD_DAT'
     EXPORTING
          FILE_NAME                 = 'c:Total_Plant Waste.xls'
    TABLES
*         PIVOT_FIELD_TAB           =
         DATA_TAB                  = T_EXCEL1
         FIELDNAMES                = FLDITAB
     EXCEPTIONS
          FILE_NOT_EXIST            = 1
          FILENAME_EXPECTED         = 2
          COMMUNICATION_ERROR       = 3
          OLE_OBJECT_METHOD_ERROR   = 4
          OLE_OBJECT_PROPERTY_ERROR = 5
          INVALID_FILENAME          = 6
          INVALID_PIVOT_FIELDS      = 7
          DOWNLOAD_PROBLEM          = 8
          OTHERS                    = 9.
  clear: T_EXCEL1,FLDITAB.
  REFRESH: T_EXCEL1,FLDITAB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 09:34:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604113#M271201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T09:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Background Processing/ F9</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604114#M271202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot create a file on the presentation server in the background. You would have to create it on the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 14:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604114#M271202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T14:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Background Processing/ F9</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604115#M271203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Rob has stated, you cannot download an excel file to the user's system. &lt;/P&gt;&lt;P&gt;Actually, when you schedule a job in background, the files can only be stored in the application server.&lt;/P&gt;&lt;P&gt;It has to be later downloaded again to the user's system from AL11 or by a custom program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 21:45:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-f9/m-p/1604115#M271203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T21:45:42Z</dc:date>
    </item>
  </channel>
</rss>

