<?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: background job... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/7102131#M1508617</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;You can display your report by usual procedure. &lt;/P&gt;&lt;P&gt;Once that is done then you can create the new job for uploading to the database using FM 'JOB_OPEN'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can call the custom Z-report to upload the data using Submit command.&lt;/P&gt;&lt;P&gt;SUBMIT  z_report  VIA JOB  lw_name  NUMBER  lw_number AND RETURN.&lt;/P&gt;&lt;P&gt;where lw_name is the Job Name and lw_number is the jobcount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once it is done close the job using 'JOB_CLOSE' FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vaibhav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jul 2010 07:09:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-09T07:09:32Z</dc:date>
    <item>
      <title>background job...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/7102129#M1508615</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;I have developed a report in which first part is report display and second is download to database.  I want to put download to database in background.  Is there any option by which first part i can put online and second part i.e. database download i can put in as background job...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 05:14:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/7102129#M1508615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-09T05:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: background job...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/7102130#M1508616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes You can do so. In the list display, give a button for 'Update Database', when one clicks on this, save the entries to database by calling another program or the same program (if you use the same program you need to incorporate suitable condition checks) which will update the entries as a background job. You can do so by using functions 'JOB_OPEN', command SUBMIT PROGRAM and RETURN and function 'JOB_CLOSE'. You can search in SCN for sample code of submitting a program as a job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Birendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 05:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/7102130#M1508616</guid>
      <dc:creator>birendra_chatterjee</dc:creator>
      <dc:date>2010-07-09T05:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: background job...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/7102131#M1508617</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;You can display your report by usual procedure. &lt;/P&gt;&lt;P&gt;Once that is done then you can create the new job for uploading to the database using FM 'JOB_OPEN'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can call the custom Z-report to upload the data using Submit command.&lt;/P&gt;&lt;P&gt;SUBMIT  z_report  VIA JOB  lw_name  NUMBER  lw_number AND RETURN.&lt;/P&gt;&lt;P&gt;where lw_name is the Job Name and lw_number is the jobcount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once it is done close the job using 'JOB_CLOSE' FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vaibhav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 07:09:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/7102131#M1508617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-09T07:09:32Z</dc:date>
    </item>
  </channel>
</rss>

