<?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: Sample Code for user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-user-exit/m-p/5345677#M1231097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suggesting that the value is 1000euro how should I form the ABAP statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF XVBAK-KWERT &amp;gt; '1000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this right because I am facing abap error when trying to interpret 1000 as a number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2009 06:23:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-10T06:23:29Z</dc:date>
    <item>
      <title>Sample Code for user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-user-exit/m-p/5345675#M1231095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;   I am using a userexit to check the user name and accordingly allow or not the user to fill &lt;/P&gt;&lt;P&gt;VBAK-KVGR1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want a further check. I want the system not to take into account the user (and therefore allow to fill or modify the VBAK-KVGR) if the total amount of the quotation or sales order is less that 1,000 Euros&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me in which user exit to use and a sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried it a lot but I think especially I have problem when trying to write in the code the amount (don't know how to form the abap statement)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 09:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-user-exit/m-p/5345675#M1231095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T09:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-user-exit/m-p/5345676#M1231096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stilianos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should check if you can use OVA8 to set your check before proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use exit USEREXIT_SAVE_DOCUMENT_PREPARE(MV45AFZZ)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check value XVBAK-NETWR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;edgar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 15:31:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-user-exit/m-p/5345676#M1231096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T15:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-user-exit/m-p/5345677#M1231097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suggesting that the value is 1000euro how should I form the ABAP statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF XVBAK-KWERT &amp;gt; '1000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this right because I am facing abap error when trying to interpret 1000 as a number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 06:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-user-exit/m-p/5345677#M1231097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T06:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-user-exit/m-p/5345678#M1231098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Putting the 'number'  between quotes, that would suggest a character. Just loose the quotes and it will be treated as a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: Is the currency always euro? Otherwise, you will have to do the conversion from one currency to EURO as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 06:55:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-user-exit/m-p/5345678#M1231098</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-03-10T06:55:31Z</dc:date>
    </item>
  </channel>
</rss>

