<?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: restrict quantity change in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-quantity-change/m-p/2386570#M530329</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;Have you found the solution for this? We have the same requirements, wherein if the quantity is changed I need to pop a warning message but somehow the previous quantity is missing.&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, 28 Aug 2009 10:58:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-28T10:58:35Z</dc:date>
    <item>
      <title>restrict quantity change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-quantity-change/m-p/2386568#M530327</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 requirement is the change sales order should not allow changes to Quantity field KWMENG.&lt;/P&gt;&lt;P&gt;SO when the value is changed, I am resetting the value back by comparing YVBAP-KWMENG (Old Quantity) and XVBAP- KWMENG new quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are not equal then i am resetting it in USEREXIT_CHECK_VBAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value is changed, but when i save and exit and then enter the value is changed back to the new quantity. This is because XVBEP-WMENG is also changed.&lt;/P&gt;&lt;P&gt;So i tried setting the value of it, but still its not working as the value is changed again somewhere else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me solve this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 10:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-quantity-change/m-p/2386568#M530327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T10:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: restrict quantity change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-quantity-change/m-p/2386569#M530328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; You can use user exit MV45AFZZ and here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM USEREXIT_FIELD_MODIFICATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CASE SCREEN-GROUP3.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WHEN '900'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IF VBAK-VBTYP NE 'A'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CASE SCREEN-NAME.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WHEN 'VBAK-VBELN'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write your code between Form and endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 10:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-quantity-change/m-p/2386569#M530328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T10:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: restrict quantity change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-quantity-change/m-p/2386570#M530329</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;Have you found the solution for this? We have the same requirements, wherein if the quantity is changed I need to pop a warning message but somehow the previous quantity is missing.&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, 28 Aug 2009 10:58:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-quantity-change/m-p/2386570#M530329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-28T10:58:35Z</dc:date>
    </item>
  </channel>
</rss>

