<?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: regarding background job schedulig in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-job-schedulig/m-p/2843769#M666130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't use FM to download the data in background,there is no fm to download file in presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use open dataset inorder to achive this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the sample program :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: d1 type localfile default&lt;/P&gt;&lt;P&gt;'/usr/sap/TST/SYS/Test.txt'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      field1(20) type c,&lt;/P&gt;&lt;P&gt;      field2(20) type c,&lt;/P&gt;&lt;P&gt;      field3(20) type c,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;data: str type string.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;constants: con_tab type x value '09'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;itab-field1 = 'ABC'.&lt;/P&gt;&lt;P&gt;itab-field2 = 'DEF'.&lt;/P&gt;&lt;P&gt;itab-field3 = 'GHI'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;itab-field1 = '123'.&lt;/P&gt;&lt;P&gt;itab-field2 = '456'.&lt;/P&gt;&lt;P&gt;itab-field3 = '789'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  open dataset d1 for output in text mode.&lt;/P&gt;&lt;P&gt;  loop at itab.&lt;/P&gt;&lt;P&gt;    translate itab using ' # '.&lt;/P&gt;&lt;P&gt;    concatenate itab-field1 itab-field2 itab-field2&lt;/P&gt;&lt;P&gt;into str&lt;/P&gt;&lt;P&gt;                  separated by con_tab.&lt;/P&gt;&lt;P&gt;    translate str using ' # '.&lt;/P&gt;&lt;P&gt;    transfer str to d1.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;  close dataset d1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 22 Sep 2007 19:42:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-22T19:42:33Z</dc:date>
    <item>
      <title>regarding background job schedulig</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-job-schedulig/m-p/2843768#M666129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using function module gyi_dwonload for downloading data but when i am executing it in background it is not creating any flat file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so is tehre any alternative of that where i can download the datd on my presentation server and that too by scheduling the program in back ground&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i even tried open dat set but i am not pretty comfortable in that so dont know jow do go about it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after using when i am executing the program it is not doing any thing, will it create the file pn the application server or presentation server &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any sample code or a simp,e prgram using it will do&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>Sat, 22 Sep 2007 18:50:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-job-schedulig/m-p/2843768#M666129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-22T18:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: regarding background job schedulig</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-job-schedulig/m-p/2843769#M666130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't use FM to download the data in background,there is no fm to download file in presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use open dataset inorder to achive this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the sample program :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: d1 type localfile default&lt;/P&gt;&lt;P&gt;'/usr/sap/TST/SYS/Test.txt'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      field1(20) type c,&lt;/P&gt;&lt;P&gt;      field2(20) type c,&lt;/P&gt;&lt;P&gt;      field3(20) type c,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;data: str type string.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;constants: con_tab type x value '09'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;itab-field1 = 'ABC'.&lt;/P&gt;&lt;P&gt;itab-field2 = 'DEF'.&lt;/P&gt;&lt;P&gt;itab-field3 = 'GHI'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;itab-field1 = '123'.&lt;/P&gt;&lt;P&gt;itab-field2 = '456'.&lt;/P&gt;&lt;P&gt;itab-field3 = '789'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  open dataset d1 for output in text mode.&lt;/P&gt;&lt;P&gt;  loop at itab.&lt;/P&gt;&lt;P&gt;    translate itab using ' # '.&lt;/P&gt;&lt;P&gt;    concatenate itab-field1 itab-field2 itab-field2&lt;/P&gt;&lt;P&gt;into str&lt;/P&gt;&lt;P&gt;                  separated by con_tab.&lt;/P&gt;&lt;P&gt;    translate str using ' # '.&lt;/P&gt;&lt;P&gt;    transfer str to d1.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;  close dataset d1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Sep 2007 19:42:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-job-schedulig/m-p/2843769#M666130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-22T19:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: regarding background job schedulig</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-job-schedulig/m-p/2843770#M666131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx for ur help &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 07:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-background-job-schedulig/m-p/2843770#M666131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T07:20:55Z</dc:date>
    </item>
  </channel>
</rss>

