<?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: doubt in user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247144#M485227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE &lt;/P&gt;&lt;P&gt;This user exit will trigger before saving sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me tell you one example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to validate customer on basis of country.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write the code between form and enform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single land1 from kna1 into kna1-land1 &lt;/P&gt;&lt;P&gt;                                    where kunnr = vbak-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if kna1-land1 ne 'US'.&lt;/P&gt;&lt;P&gt;message 'Customer should be US Country'&lt;/P&gt;&lt;P&gt;endif    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and USEREXIT_FILL_VBRK_VBRP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this user exit you can fille some values to vbrk vbrp like billing information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 May 2007 23:47:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-20T23:47:02Z</dc:date>
    <item>
      <title>doubt in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247139#M485222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;while implementing SAP, generally one will write functionality for standard userexit programs or only in enhancement projects we will write our own funcationality to the user exit?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 23:22:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247139#M485222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T23:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247140#M485223</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;It can be in the both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The decision whether to use or not, about the user exit is depend on the business requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say any particalar business requirement is not solved by implementing standard SAP functionality then one need to use the user-exit at that point(if it is provided in that code).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back if you have further query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 23:27:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247140#M485223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T23:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247141#M485224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As per client requiremnet ,we need to use logic ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One simple example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you go Purchase order ,there should be account assignment category,&lt;/P&gt;&lt;P&gt;if account assignment category contains 'I' and then we need to use material group Starting with 'I' otherwise we need use error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I done this developemnt for client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Project at CMOD and project name start with Z* and click on create button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please assign enhancement - MM06E005&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save the current screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now click on component and use Function module - EXIT_SAPMM06E_017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User exit includes starting with ZX*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;within include you need to write the code -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code follows -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Transport Request    DEVK922305&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IF I_EKPO-KNTTP = 'I'.&lt;/P&gt;&lt;P&gt;IF I_EKPO-MATKL+0(1) NE 'I'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e037(z01) with i_ekpo-ebelp.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;IF I_EKPO-KNTTP = ''.&lt;/P&gt;&lt;P&gt;IF I_EKPO-MATKL+0(1) = 'I'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e038(z01) with i_ekpo-ebelp.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Reward Points if it is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 23:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247141#M485224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T23:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247142#M485225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;can u explain by this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_FILL_VBRK_VBRP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean what are the functionality i can add on my own on this..Plz Give some real time scenario?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u first briefly explain what is the functionality of save document and prepare and then.. can u explain what can i add on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I awarded points for both of us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 23:38:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247142#M485225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T23:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247143#M485226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to find out these FM (user-exits) in the system.&lt;/P&gt;&lt;P&gt;Can you please check and let me know the name of the same so that I may be able to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 23:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247143#M485226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T23:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247144#M485227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE &lt;/P&gt;&lt;P&gt;This user exit will trigger before saving sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me tell you one example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to validate customer on basis of country.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write the code between form and enform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single land1 from kna1 into kna1-land1 &lt;/P&gt;&lt;P&gt;                                    where kunnr = vbak-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if kna1-land1 ne 'US'.&lt;/P&gt;&lt;P&gt;message 'Customer should be US Country'&lt;/P&gt;&lt;P&gt;endif    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and USEREXIT_FILL_VBRK_VBRP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this user exit you can fille some values to vbrk vbrp like billing information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 23:47:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247144#M485227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T23:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247145#M485228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not function module and which is available at MV45AFZZ Includes,MV45AFZB,MV45AFZA . this form routine will trigger at sales order transaction like VA01,VA02,VA03&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 23:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247145#M485228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T23:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247146#M485229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi seshu,&lt;/P&gt;&lt;P&gt;thanks for ur answer once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I rewarded points again..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 00:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-user-exit/m-p/2247146#M485229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T00:02:28Z</dc:date>
    </item>
  </channel>
</rss>

