<?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: SD Routine causing problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432960#M1739360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dinesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime we make a change VA02 entire pricing fucntionality will be triggered.So,if I understand your issue correctly may be you need to include REPRICING functionality in your routine or just check if any of the user exits in MV45AFZ* is having any repricing functionality which is getting triggered and resulting inconsistent results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 May 2013 14:44:37 GMT</pubDate>
    <dc:creator>kiran_k8</dc:creator>
    <dc:date>2013-05-20T14:44:37Z</dc:date>
    <item>
      <title>SD Routine causing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432950#M1739350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a Routine in VOFM for Condition base value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is, whenever the condition type ZW03 has 100% rate, in that case the Net value i.e KOMP-NETWR should become 0.01 and not 0.00(which it is doing currently&amp;nbsp; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a code for this and it is working perfectly fine in case of sales order creation VA01 as well as when we save the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But once we run VA02 and make any changes, again the value returns to 0.00 and not 0.01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly Help me as this is a very weird problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 04:36:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432950#M1739350</guid>
      <dc:creator>former_member214709</dc:creator>
      <dc:date>2013-05-15T04:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: SD Routine causing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432951#M1739351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Dinesh ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write your code restricted to Tcode VA01 only,&lt;/P&gt;&lt;P&gt;Use IF SY-TCODE = VA01.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 04:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432951#M1739351</guid>
      <dc:creator>Sijin_Chandran</dc:creator>
      <dc:date>2013-05-15T04:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: SD Routine causing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432952#M1739352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you provide the code ? KOMP-NETWR is CURR 15.2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you define the 0.01 as ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CONSTANTS&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;c_netwr &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;KOMP&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;NETWR &lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'0.01'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;If you debug VA02 save, what shows debugger in your code ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Matthias&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 04:57:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432952#M1739352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-15T04:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: SD Routine causing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432953#M1739353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sijin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working fine for VA01 as well as when we see the same in VA02, but once we make any change it returns to the same value of 0.00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 05:22:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432953#M1739353</guid>
      <dc:creator>former_member214709</dc:creator>
      <dc:date>2013-05-15T05:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: SD Routine causing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432954#M1739354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code was written by me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IF&lt;/SPAN&gt; KOMP-PSTYV &lt;SPAN class="L1S52"&gt;EQ&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'TAN'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;AND&lt;/SPAN&gt; KOMV-KSCHL &lt;SPAN class="L1S52"&gt;EQ&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'ZW03'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;AND&lt;/SPAN&gt; KOMV-KBETR &lt;SPAN class="L1S52"&gt;EQ&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'1000.00'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; XKWERT = KOMP-NETWR - &lt;SPAN class="L1S33"&gt;'0.01'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;LOOP&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;AT&lt;/SPAN&gt; TKOMV &lt;SPAN class="L1S52"&gt;WHERE&lt;/SPAN&gt; KSCHL &lt;SPAN class="L1S52"&gt;EQ&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'ZW03'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TKOMV-KWERT = KOMP-NETWR - &lt;SPAN class="L1S33"&gt;'0.01'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;MODIFY&lt;/SPAN&gt; TKOMV&amp;nbsp; &lt;SPAN class="L1S52"&gt;TRANSPORTING&lt;/SPAN&gt; KWERT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDLOOP&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S52"&gt;ELSE&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; XKWERT = KOMP-NETWR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S52"&gt;ENDIF&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 05:23:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432954#M1739354</guid>
      <dc:creator>former_member214709</dc:creator>
      <dc:date>2013-05-15T05:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: SD Routine causing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432955#M1739355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dinesh - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to debug this problem? IN VA02, if you keep a break point in your code, is it stopping there? I think once you do some changes it is not refreshing the pricing condition. Once you complete all your changes, there is a button at the bottom to refresh the pricing. Try that button and see what happens. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kuntal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 05:32:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432955#M1739355</guid>
      <dc:creator>former_member376453</dc:creator>
      <dc:date>2013-05-15T05:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: SD Routine causing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432956#M1739356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kuntal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is stopping there but as soon as we make changes via VA02 (any change in date, qty, billing block) again the value returns to 0.00, for which the routine was applied to make it 0.01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have noticed that as soon as the sales order is saved the tables also get updated with the required value i.e 0.01 but still in the change mode it is causing problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 05:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432956#M1739356</guid>
      <dc:creator>former_member214709</dc:creator>
      <dc:date>2013-05-15T05:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: SD Routine causing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432957#M1739357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dinesh - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I have said, probably all your pricing condition are not getting refreshed. So either you can check that button I have told in my last post or you can follow below menu path after your changes to refresh the value "EDIT -&amp;gt; NEW Pricing document". I think this should again refresh the values. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 05:53:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432957#M1739357</guid>
      <dc:creator>former_member376453</dc:creator>
      <dc:date>2013-05-15T05:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: SD Routine causing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432958#M1739358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kuntal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The condition type which&amp;nbsp; i have added is a Manual Entry and as soon as we carry out New Pricing the value for condition type ZW03 gets erased.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 06:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432958#M1739358</guid>
      <dc:creator>former_member214709</dc:creator>
      <dc:date>2013-05-15T06:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: SD Routine causing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432959#M1739359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly assist me with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 12:25:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432959#M1739359</guid>
      <dc:creator>former_member214709</dc:creator>
      <dc:date>2013-05-15T12:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: SD Routine causing problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432960#M1739360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dinesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime we make a change VA02 entire pricing fucntionality will be triggered.So,if I understand your issue correctly may be you need to include REPRICING functionality in your routine or just check if any of the user exits in MV45AFZ* is having any repricing functionality which is getting triggered and resulting inconsistent results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 14:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sd-routine-causing-problem/m-p/9432960#M1739360</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2013-05-20T14:44:37Z</dc:date>
    </item>
  </channel>
</rss>

