<?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: Batch Job Cancel in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366803#M1542451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But On copy contorl I checked we will not have XKOMV table available - so i can check list price value. then how could i check we have list price or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please let me know strp by step what i need to do in copy control to check these condition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt; list price shoul be populated with some value.(&amp;gt;0)&lt;/P&gt;&lt;P&gt;2&amp;gt; net price should not be 0 or less then 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Nov 2010 15:28:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-01T15:28:25Z</dc:date>
    <item>
      <title>Batch Job Cancel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366799#M1542447</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;We have enhancement in invoice for specific sales org - if list price is $0 then do not generate invoice. so for that we have done enhancement so it will give Error(hard error). But if we run in batch job, because of this reason job is getting cancel. Could you please update me how we can handel that error so invoice also not generate for that case and job is also not get canceled. so it will not impact other delivery to create invoice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 20:08:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366799#M1542447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-29T20:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Cancel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366800#M1542448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That should not be done via enhancement in the invoicing code (as you've already figured out).  Use a copy requirement for that purpose - a copy requirement simply logs the reason that the subsequent document was not generated and billing due moves on to the next document.  However, it sounds like your item category has not been applied correctly.  Many free items, such as text items or services, show up on invoices because there needs to be a record of them on the invoice for a customer.  If an item should not show up on an invoice, then the item category should not be relevant for billing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 20:35:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366800#M1542448</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-10-29T20:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Cancel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366801#M1542449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are coppying data but then we are repricing invoice. after that only we need to check for price.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 14:32:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366801#M1542449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-01T14:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Cancel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366802#M1542450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can still use a copy requirement though.  The 'standard' process checks whether or not an item should be copied, then determines what should happen when that item is copied, e.g., how or if re-pricing is carried out.  This is determined by copy control  configuration.  You can still check for the price change scenario in your requirement with the appropriate code and stop the copy; it's just not the 'normal' way to go about it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 14:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366802#M1542450</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-11-01T14:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Cancel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366803#M1542451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But On copy contorl I checked we will not have XKOMV table available - so i can check list price value. then how could i check we have list price or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please let me know strp by step what i need to do in copy control to check these condition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt; list price shoul be populated with some value.(&amp;gt;0)&lt;/P&gt;&lt;P&gt;2&amp;gt; net price should not be 0 or less then 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 15:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366803#M1542451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-01T15:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Cancel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366804#M1542452</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;Why don't use the user-exit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 15:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366804#M1542452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-01T15:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Cancel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366805#M1542453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now we are using user exit. - "USEREXIT_NUMBER_RANGE". But the issue is - if list price not found or net price is "0" we are raising Error. so when i tried to run in batch job it cancel the batch job because of error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 15:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366805#M1542453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-01T15:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Cancel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366806#M1542454</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;but you don't need to raise am error message but just you need to set a message in the log, so you need to fill the table VBFS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 15:50:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366806#M1542454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-01T15:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Cancel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366807#M1542455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Exit is fine if we fill VBFS table over ther - User exit is - USEREXIT_NUMBER_RANGE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 15:56:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366807#M1542455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-01T15:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Cancel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366808#M1542456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And also Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Importnat thing is it should not generate invoice Doc # if error raised.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 16:02:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366808#M1542456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-01T16:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Cancel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366809#M1542457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that user-exit u can try to fill the table for the log error, the internal table used by the program should be XVBFS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps u can use the form VBFS_HINZUFUEGEN_ALLG in order to fill it, I believe u need to customize a new message, but u can force a standard one in order to test the solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 16:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366809#M1542457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-01T16:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Cancel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366810#M1542458</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;If the log table contains error message, the process should be aborted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 16:10:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-cancel/m-p/7366810#M1542458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-01T16:10:20Z</dc:date>
    </item>
  </channel>
</rss>

