<?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 User Exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2806732#M655956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In VA01.i found the user exit but unable to write the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requriment is sales employee can give the 1 to 10% discount and sales manager can give 11 to 20% discout and GM can give 21 to 30% discount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its very urgent requirement pls help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: konv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-uname = 'ABAPDEV'.&lt;/P&gt;&lt;P&gt;if konv-kschl = 'K007'.&lt;/P&gt;&lt;P&gt;konv-KBETR &amp;lt; = 10 .&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is not working. it is not going on if konv-kschl = 'K007' condition.&lt;/P&gt;&lt;P&gt;its checking only sy-uname and its coming out and please also check this konv table is correct or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be awarded.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Maqsood&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2007 07:51:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-17T07:51:54Z</dc:date>
    <item>
      <title>User Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2806732#M655956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In VA01.i found the user exit but unable to write the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requriment is sales employee can give the 1 to 10% discount and sales manager can give 11 to 20% discout and GM can give 21 to 30% discount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its very urgent requirement pls help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: konv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-uname = 'ABAPDEV'.&lt;/P&gt;&lt;P&gt;if konv-kschl = 'K007'.&lt;/P&gt;&lt;P&gt;konv-KBETR &amp;lt; = 10 .&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is not working. it is not going on if konv-kschl = 'K007' condition.&lt;/P&gt;&lt;P&gt;its checking only sy-uname and its coming out and please also check this konv table is correct or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be awarded.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Maqsood&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 07:51:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2806732#M655956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T07:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2806733#M655957</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 might use a LOOP on the tables as well within this user exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mostly the internal tables are beginning with an x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT xkonv.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;your coding&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You migh check out table xkonp also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 07:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2806733#M655957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T07:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2806734#M655958</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;Try following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If sy-uname = 'ABAPDEV'.&lt;/P&gt;&lt;P&gt;loop at xkomv into wa_komv where KSCHL = 'K007'.&lt;/P&gt;&lt;P&gt; write ur logic for discount....&lt;/P&gt;&lt;P&gt; modify xkomv from wa_komv transporting KBETR.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shilpa K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 10:52:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2806734#M655958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T10:52:52Z</dc:date>
    </item>
  </channel>
</rss>

