<?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: Automatic Execution to update ZTable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-execution-to-update-ztable/m-p/5402696#M1241035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one way is that u can create variants for each of set of these entries.eg: varinant1 will have 1 to 1000.&lt;/P&gt;&lt;P&gt;variant2 will have 1001 to 2000 etc.&lt;/P&gt;&lt;P&gt;Now, u can schedule and run these variants acording to the order.( u can check SM36)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2009 15:54:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-02T15:54:32Z</dc:date>
    <item>
      <title>Automatic Execution to update ZTable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-execution-to-update-ztable/m-p/5402695#M1241034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed a report which updates a Ztable with material document number and plant as input. now if i execute the material document number from 1 to 1000 the entries will be updated in the table. right now i am scheduling this in background.is there any possiblity of automatic execution for next 1000 entries. that is after updating the table it should again execute for 1001 to 2000. if so kindly explain me the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 14:20:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-execution-to-update-ztable/m-p/5402695#M1241034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T14:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Execution to update ZTable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-execution-to-update-ztable/m-p/5402696#M1241035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one way is that u can create variants for each of set of these entries.eg: varinant1 will have 1 to 1000.&lt;/P&gt;&lt;P&gt;variant2 will have 1001 to 2000 etc.&lt;/P&gt;&lt;P&gt;Now, u can schedule and run these variants acording to the order.( u can check SM36)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 15:54:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-execution-to-update-ztable/m-p/5402696#M1241035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T15:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Execution to update ZTable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-execution-to-update-ztable/m-p/5402697#M1241036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could look at using "submit via job" to run the next one in the sequence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[SUBMIT - job_options|http://help.sap.com/abapdocu/en/ABAPSUBMIT_VIA_JOB.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... then each program run would use its own "high value + 1" as the low value and "high value + 999" as the high value parameters to the next job submitted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 22:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-execution-to-update-ztable/m-p/5402697#M1241036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T22:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Execution to update ZTable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-execution-to-update-ztable/m-p/5402698#M1241037</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;Use this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the number of records&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DESCRIBE TABLE output LINES g_records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   g_from = 1.&lt;/P&gt;&lt;P&gt;   g_to   = 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF g_records &amp;gt; 1000&lt;/P&gt;&lt;P&gt;    g_insert_num = g_records DIV 2000&lt;/P&gt;&lt;P&gt;    g_insert_num = g_insert_num + 1.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    g_insert_num = 1.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DO g_insert_num TIMES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   LOOP AT output FROM g_from TO g_to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Fill the work area.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Append  work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Insert into the custom table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   INSERT DBTAB FROM TABLE itab&lt;/P&gt;&lt;P&gt;   COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 09:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-execution-to-update-ztable/m-p/5402698#M1241037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T09:54:46Z</dc:date>
    </item>
  </channel>
</rss>

