<?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: Table values lost in background mode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287579#M1532367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot do that because the path is from my computer, and background mode is starting a job that is independent of the SAP GUI, so it cannot upload the file from the computer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Sep 2010 07:53:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-30T07:53:18Z</dc:date>
    <item>
      <title>Table values lost in background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287575#M1532363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help please.&lt;/P&gt;&lt;P&gt;I have a selection screen with a file upload box (AT SELECTION-SCREEN ON VALUE0R-REQUEST.... CALL FUNCTION 'F4_FILENAME'). When I execute the report in foreground, the file is converted and I can get the values for it, but when I execute in background, the file is lost, which is somehow logic. I tried to convert the file values in the same AT SELECTION-SCREEN that I used to get the file from my computer. Now when I directly hit F4 and select the file, the values from the file are procesed and saved in gt_datatab, while the selection screen is still open. Now again if I start the report with F8, the values from gt_datatab are available, but if I start in background mode, the values are lost. &lt;/P&gt;&lt;P&gt;What can I do? I tried all kind of events combinations...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 16:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287575#M1532363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-29T16:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Table values lost in background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287576#M1532364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No - the PC is not available when the program is run in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 17:22:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287576#M1532364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-29T17:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Table values lost in background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287577#M1532365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's why I used the file processing function in the AT SELECTION-SCREEN ON VALUE-REQUEST, and the table is populated in this block of the program before I hit F9 to go in background mode, but after I go in background, also the values of the table are lost. Why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 06:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287577#M1532365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-30T06:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table values lost in background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287578#M1532366</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;Instead of uploading the file data into internal table in AT SELECTION-SCREEN events, try doing it in START-OF-SELECTION event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Means to say, Run the program in background with just the filepath filled. And in START-OF-SELECTION event, upload the data from file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 06:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287578#M1532366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-30T06:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table values lost in background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287579#M1532367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot do that because the path is from my computer, and background mode is starting a job that is independent of the SAP GUI, so it cannot upload the file from the computer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 07:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287579#M1532367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-30T07:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table values lost in background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287580#M1532368</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;What you can do is that create a variant for the Report in which the file location is specified already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can schedule the batch job with this variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 08:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287580#M1532368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-30T08:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Table values lost in background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287581#M1532369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again it doesnt work because it cannot memorize the file data and transfer it to the background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to to succed by using in the block "AT SELECTION-SCREEN ON VALUE-REQUEST" to EXPORT the internal table to SHARED MEMORY, then inside the code that is executed in the backgroud job, I will import from the SHARED MEMORY. It works only with SHARED MEMORY, because this is the only memory that is usable global by all the work processes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 08:05:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-values-lost-in-background-mode/m-p/7287581#M1532369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-30T08:05:48Z</dc:date>
    </item>
  </channel>
</rss>

