<?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: User-exit for VA01/VA02 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367362#M1039267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FORM USEREXIT_SAVE_DOCUMENT in stead of &lt;/P&gt;&lt;P&gt;FORM USEREXIT_SAVE_DOCUMENT_PREPARE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2008 06:34:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-27T06:34:41Z</dc:date>
    <item>
      <title>User-exit for VA01/VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367358#M1039263</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;I'm looking for a user-exit which will prevent the save/modification of a sales order given certain conditions. Right now, I'm using MV45AFZZ (FORM USEREXIT_SAVE_DOCUMENT_PREPARE). This works when pressing the save button. However, when user presses on the cancel button, they are prompted if they want to save or cancel. when pressing on SAVE the document is still saved. Is there a way to suppress this or is there a way to invoke another user-exit when this dialog message is displayed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any ideas or suggestions. Thanks &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 06:19:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367358#M1039263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T06:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: User-exit for VA01/VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367359#M1039264</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;User exit of VA01/VA02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDAPO001            Activating Sourcing Subitem Quantity Propagation&lt;/P&gt;&lt;P&gt;SDTRM001            Reschedule schedule lines without a new ATP check&lt;/P&gt;&lt;P&gt;V45A0001            Determine alternative materials for product selection&lt;/P&gt;&lt;P&gt;V45A0002            Predefine sold-to party in sales document&lt;/P&gt;&lt;P&gt;V45A0003            Collector for customer function modulpool MV45A&lt;/P&gt;&lt;P&gt;V45A0004            Copy packing proposal&lt;/P&gt;&lt;P&gt;V45E0001            Update the purchase order from the sales order&lt;/P&gt;&lt;P&gt;V45E0002            Data transfer in procurement elements (PRreq., assembly)&lt;/P&gt;&lt;P&gt;V45L0001            SD component supplier processing (customer enhancements)&lt;/P&gt;&lt;P&gt;V45P0001            SD customer function for cross-company code sales&lt;/P&gt;&lt;P&gt;V45S0001            Update sales document from configuration&lt;/P&gt;&lt;P&gt;V45S0003            MRP-relevance for incomplete configuration&lt;/P&gt;&lt;P&gt;V45S0004            Effectivity type in sales order&lt;/P&gt;&lt;P&gt;V45W0001            SD Service Management: Forward Contract Data to Item&lt;/P&gt;&lt;P&gt;V46H0001            SD Customer functions for resource-related billing&lt;/P&gt;&lt;P&gt;V60F0001            SD Billing plan (customer enhancement) diff. to billing plan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds, &lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 06:22:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367359#M1039264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T06:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: User-exit for VA01/VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367360#M1039265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Denz .,&lt;/P&gt;&lt;P&gt; I dont think You can find an Exit for that .&lt;/P&gt;&lt;P&gt; its an SAP Standard Functionality to reconfirm the cancel operation . Becuse some Click Cancel By mistak they can not get the data back , if you skip the reconfirmation option .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt; Sreenivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 06:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367360#M1039265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T06:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: User-exit for VA01/VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367361#M1039266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;I'm looking for a user-exit which will prevent the save/modification of a sales order given certain conditions. Right now, I'm using MV45AFZZ (FORM USEREXIT_SAVE_DOCUMENT_PREPARE). This works when pressing the save button. However, when user presses on the cancel button, they are prompted if they want to save or cancel. when pressing on SAVE the document is still saved. Is there a way to suppress this or is there a way to invoke another user-exit when this dialog message is displayed?&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are almost on right track. in same routine do one thing just restrict user by checking the certtain condition by putting the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no need to exit here.just use error message once you check the certain condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 06:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367361#M1039266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T06:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: User-exit for VA01/VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367362#M1039267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FORM USEREXIT_SAVE_DOCUMENT in stead of &lt;/P&gt;&lt;P&gt;FORM USEREXIT_SAVE_DOCUMENT_PREPARE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 06:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367362#M1039267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T06:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: User-exit for VA01/VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367363#M1039268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the best flag for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-ucomm eq 'YES'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 06:54:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367363#M1039268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T06:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: User-exit for VA01/VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367364#M1039269</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 can write your code in user exit MV45AFZZ&lt;/P&gt;&lt;P&gt;of FORM USEREXIT_SAVE_DOCUMENT_PREPARE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;message i001(00) with 'error while save'.&lt;/P&gt;&lt;P&gt;leave to transaction sy-tcode.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 07:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367364#M1039269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T07:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: User-exit for VA01/VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367365#M1039270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;what is the best flag for this?

sy-ucomm eq 'YES'?&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No sy-ucomm check would be needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only check should be placed by somthing like that&lt;/P&gt;&lt;P&gt;if sy-tcode = 'VA02' or 'VA02'.&lt;/P&gt;&lt;P&gt;if your condition check.&lt;/P&gt;&lt;P&gt;message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;cause system automaticaly triggers that routine when SAVE triggers&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Amit Gujargoud on Aug 27, 2008 9:17 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 07:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-va01-va02/m-p/4367365#M1039270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T07:17:33Z</dc:date>
    </item>
  </channel>
</rss>

