<?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 problem- in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026993#M1498792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in PBO build your new internal table values.&lt;/P&gt;&lt;P&gt;Check whether any change has happened to any of the records existing in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@breakpoint - i agree with you, but what if the background process fails for the particular record ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshav.T on Jun 10, 2010 1:13 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jun 2010 19:37:18 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-06-09T19:37:18Z</dc:date>
    <item>
      <title>background job problem-</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026991#M1498790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The situation is like this - I have some values in table control and i do the background processing on selected records then since the selected records are processed in bakground job so those records should no more appear in the screen now ....this was happening when i tried without background job..so for this background i put 'refresh' which was able to not let the processed record appear in the screen. but i dont want the refresh button......&lt;/P&gt;&lt;P&gt;how to let the table control get refershed after the background job is over so that the processed record will not appear after the job completion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx,&lt;/P&gt;&lt;P&gt;m&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please use more descriptive subject lines from now on.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Jun 9, 2010 5:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 14:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026991#M1498790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-09T14:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: background job problem-</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026992#M1498791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the time you submit the background process, you could delete the data row(s)  and refresh your display.  Or, show a status indicating that a job has been submitted.  Sounds like your background job is running a while...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have something similar in SALV.  When the users fires the background job, I put out a message, change the status to in progress, and it stays that way, regardless how many times the user presses refresh, until my screen close and new data retrieval (from refresh button) for the display finds the data updated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 16:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026992#M1498791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-09T16:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: background job problem-</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026993#M1498792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in PBO build your new internal table values.&lt;/P&gt;&lt;P&gt;Check whether any change has happened to any of the records existing in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@breakpoint - i agree with you, but what if the background process fails for the particular record ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshav.T on Jun 10, 2010 1:13 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 19:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026993#M1498792</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-06-09T19:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: background job problem-</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026994#M1498793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't you replace the table control with an ALV grid? I think this would be possible there... I recall at least several posts regarding the refresh, including automated (e.g. timed) one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 21:29:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026994#M1498793</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2010-06-09T21:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: background job problem-</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026995#M1498794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i did some change befor the submit prog. to achieve this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 16:35:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026995#M1498794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-14T16:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: background job problem-</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026996#M1498795</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;in this case u can use auto refresh option...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul Kanth Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 03:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026996#M1498795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-15T03:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: background job problem-</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026997#M1498796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   try this: after you submit a job call  aRFC (asynchronous RFC) function module. And in this FM check the job status from TBTCO table and wait for the job to complete. Once job completes exit the FM. SAP will call the subroutine 'REFRESH' once FM completes and in the subroutine you write logic to refresh the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt; submit job.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZKUM_TEST'  DESTINATION 'NONE' STARTING NEW TASK 'TEST'&lt;/P&gt;&lt;P&gt;    PERFORMING REFRESH ON END OF TASK &lt;/P&gt;&lt;P&gt;    EXPORTING JOB_NAME = 'TEST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;  sy-lsind = 0.&lt;/P&gt;&lt;P&gt;  IF SY-UCOM EQ ''.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;write logic to refresh the &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM REFRESH USING P_C type clike.&lt;/P&gt;&lt;P&gt;  set USER-COMMAND 'REFRESH'.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 04:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job-problem/m-p/7026997#M1498796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-15T04:05:45Z</dc:date>
    </item>
  </channel>
</rss>

