<?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: Exceute Pgm for second time in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983133#M401849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is the job defined w.r.t. to the batch #?&lt;/P&gt;&lt;P&gt;I mean is the batch # assigned to the background job, if yes, then&lt;/P&gt;&lt;P&gt;check the table TBTCO with jobname = batch#. You can get the executed date , time, released by user and several other info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe with this you can manage to check if it is a duplicate one or not.&lt;/P&gt;&lt;P&gt;But, this will not contain the contents of the job being executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just go through this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Feb 2007 00:48:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-16T00:48:37Z</dc:date>
    <item>
      <title>Exceute Pgm for second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983128#M401844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My prog will be shceduled to run background. &lt;/P&gt;&lt;P&gt;I need to control certain logic &amp;amp; validations  if my program is triggerred again for second time &amp;amp; so forth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to handle this? Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dany&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 22:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983128#M401844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T22:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exceute Pgm for second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983129#M401845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How often or under what circumstances will it be run?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 22:31:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983129#M401845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T22:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exceute Pgm for second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983130#M401846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;The report will trigger for billing due list(tcode: vf04) which will be run twice in a day say mor n &amp;amp; evening.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 22:38:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983130#M401846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T22:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exceute Pgm for second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983131#M401847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better design a table with the report name, sz-uname, sz-datum and sz-uzeit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update this table when it does not contain an entry with the current date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHen it contains an entry with current date and make ur validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 22:58:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983131#M401847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T22:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Exceute Pgm for second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983132#M401848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vasanth M ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i am running a report for set of different invoices in one batch. All these invoices will have same batch number at a given time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same invoices may appear in the second batch run but they should have a diffrent batch#. When batch# is different even though the invoice no is same, i need to carry on further validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest accordingly?&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, 15 Feb 2007 23:13:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983132#M401848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T23:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Exceute Pgm for second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983133#M401849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is the job defined w.r.t. to the batch #?&lt;/P&gt;&lt;P&gt;I mean is the batch # assigned to the background job, if yes, then&lt;/P&gt;&lt;P&gt;check the table TBTCO with jobname = batch#. You can get the executed date , time, released by user and several other info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe with this you can manage to check if it is a duplicate one or not.&lt;/P&gt;&lt;P&gt;But, this will not contain the contents of the job being executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just go through this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 00:48:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983133#M401849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T00:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Exceute Pgm for second time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983134#M401850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subramanian PL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My report triggers for the trans VF04. The invoice # can be the same for the next billing run and in order to prevent this from using the same vbeln in the next run i am using a batch# which contains multiple invoices (VBAP-VBELN).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When VF04 is exec again, my report gets triggered (in background) and now i should check if any VBELN has entered from the last billing run. So i need to check if there is again a  vbeln which is being exec for the second time. This can be eliminated by checking vbeln with batch# which is generated using a number range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how to check if my report is getting triggered for the second time ,.etc.&lt;/P&gt;&lt;P&gt;Pls help me how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Dany&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 02:50:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exceute-pgm-for-second-time/m-p/1983134#M401850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T02:50:28Z</dc:date>
    </item>
  </channel>
</rss>

