<?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: Automatically triggering ATP Check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820019#M918745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BAPI_MATERIAL_AVAILABILITY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jul 2008 13:46:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-25T13:46:32Z</dc:date>
    <item>
      <title>Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820016#M918742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I require a help for the following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case A: KIT Items&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------" /&gt;&lt;P&gt;1. I modify a vbkd field for the main item on the screen in VA01.&lt;/P&gt;&lt;P&gt;2. USEREXIT_MOVE_FIELD_TO_VBKD gets triggered for this item.&lt;/P&gt;&lt;P&gt;3. Now in this exit I perform some calculation &amp;amp; modify some fields in XVBEP &amp;amp; XVBKD tables for all the relevent subitems of the kit  using - &lt;/P&gt;&lt;P&gt;LOOP AT xvbap INTO wa where uepos = vbap-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to trigger ATP for the main item as well as all the sub item. How to achieve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the flag -&lt;/P&gt;&lt;P&gt;vbap_ende_verfuegbarkeit = 'X'. But it trigger ATP only for the current item i.e. only for the Main Item &amp;amp; not the sub items&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case B: Header Changes&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------" /&gt;&lt;P&gt;1. I modify a vbak field for the main item on header in the screen in VA01.&lt;/P&gt;&lt;P&gt;2. USEREXIT_MOVE_FIELD_TO_VBKD gets triggered for the header ( POSNR = '000000' )&lt;/P&gt;&lt;P&gt;3. Now in this exit I perform some calculation &amp;amp; modify some fields in XVBEP &amp;amp; XVBKD tables for all items of the order  using - LOOP AT xvbap INTO wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to trigger ATP for the all the items looped in the sales order. How to achieve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flag vbap_ende_verfuegbarkeit = 'X' doesn't help here as it work only for the current item no. in this case it is '000000'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After lot of investigation on my side I have found (I'm not sure if it will really work) that if I can some how automatically trigger USEREXIT_MOVE_FIELD_TO_VBEP for all the required items it should trigger ATP as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 14:15:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820016#M918742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-15T14:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820017#M918743</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;You can us FM 'SD_BACKORDER_CHECK_AND_SAVE' for doing ATP check. For this the order should already be created. You need to put this into the exit USEREXIT_REFRESH_DOCUMENT in include mv45afza.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this out and reward points if the suggestion is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it doesnt works, i will find out another way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sharad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 12:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820017#M918743</guid>
      <dc:creator>former_member4489</dc:creator>
      <dc:date>2008-07-21T12:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820018#M918744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to trigger ATP after specific changes to the item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I'm modifying the First Delivery Date based on certain formula (VBEP-EDATU).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But ATP is not getting triggered correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I want some FM that will perform ATP for a selected Item No. (i.e. I'll provide the POSNR &amp;amp; it should perform ATP for that POSNR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should work both in VA01 &amp;amp; VA02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 09:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820018#M918744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-25T09:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820019#M918745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BAPI_MATERIAL_AVAILABILITY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 13:46:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820019#M918745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-25T13:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820020#M918746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BAPI_MATERIAL_AVAILABILITY or  &lt;/P&gt;&lt;P&gt;AVAILABITLY_CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will return the the ATP availibilty dates or quantities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what I want is a FM / SAP subroutine / anything else &lt;/P&gt;&lt;P&gt;- that will trigger ATP in VA01 or VA02 ie. it should create proper entries in XVBEP table for the provided Item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something similar to what happens when we press &amp;lt;Check Item Availabitly&amp;gt; button manually on the Sales Order screen to trigger ATP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 14:01:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820020#M918746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-25T14:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820021#M918747</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;You want to do the ATP check for all items at one time just before save. Is that right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes then what i have mentioned earlier will definitely work because it is a working solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try it out and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 11:56:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820021#M918747</guid>
      <dc:creator>former_member4489</dc:creator>
      <dc:date>2008-08-01T11:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820022#M918748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My situation is that I wish to trigger ATP on specific changes&lt;/P&gt;&lt;P&gt;&amp;amp; not just only at the end when the order is being saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It means if I make specific changes in the SO I should be able to explicitly trigger ATP after the change irrespective of the order being saved or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now if I make these changes ATP is not getting triggered correctly. To get the correct dates the user has to manually perform ATP by pressing &amp;lt;Check Item Availabitly&amp;gt; button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a functionality (FM/BAPI/Std. routine/etc.) which will trigger this automatically after the change so that user gets to see proper dates immediately. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence I'm looking for some thing that will trigger ATP in VA01 or VA02 with an explicit call for a item number (POSNR) specified by me  ie. it should create proper entries in XVBEP table for the provided Item. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something similar to what happens when we select an Item Line &amp;amp; press &amp;lt;Check Item Availabitly&amp;gt; button manually on the Sales Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 12:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820022#M918748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T12:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820023#M918749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pramod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you got the solution for your problem.&lt;/P&gt;&lt;P&gt;We are also facing the similer problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let us know which solution you implimented for ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br, Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 09:32:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820023#M918749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T09:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820024#M918750</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;Please let me know the solution for the above issue. How to handle the scenario with user exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Mar 2010 16:19:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820024#M918750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-24T16:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820025#M918751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All, &lt;/P&gt;&lt;P&gt;I'm searching for solution to the same subject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How we can force ATP after change on First Delivery Date in order lines while we do Document Save.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 16:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820025#M918751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T16:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820026#M918752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use your suggested FM 'SD_BACKORDER_CHECK_AND_SAVE', but it is doing confirm sales order forcefully even if stock is not there.&lt;/P&gt;&lt;P&gt;actually my requirement is like to run ATP automatically only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing check this FM through SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me, am i doing something wrong or is there another way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jalaj garg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 06:11:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820026#M918752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T06:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820027#M918753</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;We got same problem, 4years past, looking for help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 18:37:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820027#M918753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-09T18:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically triggering ATP Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820028#M918754</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am facing the same issue. any help will be appreciated .&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 09:10:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-triggering-atp-check/m-p/3820028#M918754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-06-16T09:10:37Z</dc:date>
    </item>
  </channel>
</rss>

