<?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/2077530#M430770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your seems to be a good case for trying out something I have always wanted to, i.e. once you have selected the records you want to up run BDC for and have the data in an internal table, I suggest you put the code for the BDC run within a function module (passing the internal table through the tables parameter) and then call the function module as so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION func IN BACKGROUND TASK &lt;/P&gt;&lt;P&gt;                   [DESTINATION dest] &lt;/P&gt;&lt;P&gt;                   parameter_list &lt;/P&gt;&lt;P&gt;                   [AS SEPARATE UNIT]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not 100% sure about how it goes, however should be worth a try. Also this would go a long way in ensuring modularization of your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you try it and how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2007 12:17:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-30T12:17:56Z</dc:date>
    <item>
      <title>background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/2077528#M430768</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;my rquairment is.&lt;/P&gt;&lt;P&gt;it is bdc call transaction method.&lt;/P&gt;&lt;P&gt;at first i need to display a report along with checkboxes, from that list user can select some checkboxes THERE i have provided a execute button to to run bdc call transaction. am able to run it successfully .but my problem is how to run in back ground(means how to shcdule a job ) am in basic list . from there i need to run bdc in back ground  job where the check box is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am able to get the selected records into one internal table ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM HERE how to process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards.&lt;/P&gt;&lt;P&gt;Ramu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 12:10:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/2077528#M430768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T12:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/2077529#M430769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to use JOB_OPEN, JOB_SUBMIT, JOB_CLOSE function modules after the Basic list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;JOB_OPEN:&amp;lt;/b&amp;gt; Create a background job. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;JOB_SUBMIT&amp;lt;/b&amp;gt; to add a job step to a background job that you have opened with JOB_OPEN.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;JOB_CLOSE:&amp;lt;/b&amp;gt; Submit a background job to the background processing system for execution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 12:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/2077529#M430769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T12:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/2077530#M430770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your seems to be a good case for trying out something I have always wanted to, i.e. once you have selected the records you want to up run BDC for and have the data in an internal table, I suggest you put the code for the BDC run within a function module (passing the internal table through the tables parameter) and then call the function module as so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION func IN BACKGROUND TASK &lt;/P&gt;&lt;P&gt;                   [DESTINATION dest] &lt;/P&gt;&lt;P&gt;                   parameter_list &lt;/P&gt;&lt;P&gt;                   [AS SEPARATE UNIT]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not 100% sure about how it goes, however should be worth a try. Also this would go a long way in ensuring modularization of your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you try it and how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 12:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/2077530#M430770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T12:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/2077531#M430771</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;Please can u more Elaborate this  process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 12:24:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/2077531#M430771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T12:24:13Z</dc:date>
    </item>
  </channel>
</rss>

