<?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: Problem with job in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150461#M454000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok !!!! thanks for all the answers !!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2007 06:46:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-11T06:46:46Z</dc:date>
    <item>
      <title>Problem with job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150454#M453993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have created a new program ZRHPAR025 to download to a txt file employees' data. When i run the program "online" it works perfectly. I have also created a job to run the program and in the Developpement machine works perfectly too. The problem is in production machine.. the job is executed and the log is the following:&lt;/P&gt;&lt;P&gt;- Job started&lt;/P&gt;&lt;P&gt;- Step 001 started (program ZRHPAR025, variant DAPER, user ID SERVICES)&lt;/P&gt;&lt;P&gt;- Object ZRHPAR025 of class RE and language EN does not exist.&lt;/P&gt;&lt;P&gt;- Job finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the user told me, the txt file is not generated.&lt;/P&gt;&lt;P&gt;The function i'm using to download is WS_DOWNLOAD, because with GUI_DOWNLOAD i had somw troubles..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does anyone know what can be the problem with the job ???&lt;/P&gt;&lt;P&gt;thanks in advance !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 14:07:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150454#M453993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T14:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150455#M453994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi maria,&lt;/P&gt;&lt;P&gt; You cannot use either WS_DOWNLOAD or GUI_DOWNLOAD when you want to run your program in background mode.&lt;/P&gt;&lt;P&gt;YOu have to download the file to Application Server instead in order to run your program in background.&lt;/P&gt;&lt;P&gt;YOu  can later use the transaction CG3Y to move the file from appl server to presentation server.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 14:12:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150455#M453994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T14:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150456#M453995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ravi, thanks for the answer, but i still have a doubt.. why when i run the job in the developpement machine it works and why not in production machine ??&lt;/P&gt;&lt;P&gt;as i can't use ws_download and gui_download, do i have to use the "open dataset", "close dataset" statements ?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 14:21:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150456#M453995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T14:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150457#M453996</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;Check the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrain.com" target="test_blank"&gt;http://www.sapbrain.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 14:23:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150457#M453996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T14:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150458#M453997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use WS_DOWNLOAD or GUI_DOWNLOAD in the background as these two download a file to the PC and a background job gets executed in the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are running in the background, you have to download it to the application server using OPEN DATASET, TRANSFER DATASET and CLOSE DATASET statements. Read help on them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 16:15:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150458#M453997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T16:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150459#M453998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer, i've asked the consultant and she told me that in foreground (running the transaction associated to the program) they will leave the file in the local pc, but in background they'll leave the file in the server. Maybe i should control this in the program ?? -&amp;gt; in case the transaction has been executed, i can use gui_download/ws_download and in case it's the job i use open dataset... ??&lt;/P&gt;&lt;P&gt;thanksss !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 06:31:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150459#M453998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T06:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150460#M453999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case you can check for the system variable sy-batch, if it has a value 'X' then it is a background job where you can use the DATASET, if it empty then it is processed online and then you can use WS_DOWNLOAD or GUI_DOWNLOAD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 06:39:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150460#M453999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T06:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150461#M454000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok !!!! thanks for all the answers !!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 06:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150461#M454000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T06:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150462#M454001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar problem, and thanks for the posts. They were very helpful. &lt;/P&gt;&lt;P&gt;But, answer his though, how come the program runs fine in the Development server in the background but not in the production server&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 07:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-job/m-p/2150462#M454001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T07:35:36Z</dc:date>
    </item>
  </channel>
</rss>

