<?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: VA01 ---user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202670#M763360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kamala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used popup_tp_confirm function module and message type E .i have coded this in userexit_save_document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2007 07:43:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-20T07:43:32Z</dc:date>
    <item>
      <title>VA01 ---user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202668#M763358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement in va01 such that when the credit limit exceeded message comes when the user saves the contract a popup to be created to revert back.i have created the popup but when i revert back some data is lost such as item quantity. please help how should i revert to the old data in the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks ,&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 07:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202668#M763358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T07:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: VA01 ---user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202669#M763359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May i know what type of message and pop up you have used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 07:29:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202669#M763359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T07:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: VA01 ---user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202670#M763360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kamala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used popup_tp_confirm function module and message type E .i have coded this in userexit_save_document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 07:43:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202670#M763360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T07:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: VA01 ---user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202671#M763361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, after displaying error message, all fields wil be disabled. If u want to give error message without disabling and you also want all the values to retain, use the following syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message s(123)06 display like 'E'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 123 -&amp;gt; message no.&lt;/P&gt;&lt;P&gt;          06 -&amp;gt; message class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the pop  up and now you wil not get any values to be lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if its useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kamalapriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 08:23:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202671#M763361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T08:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: VA01 ---user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202672#M763362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i tried with ur solution it doesnt work.my requirement is i have to go back to the screen and edit the item if there is credit limit exceeded message&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 09:21:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202672#M763362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T09:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: VA01 ---user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202673#M763363</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;Did you achieve your task?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 09:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202673#M763363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T09:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: VA01 ---user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202674#M763364</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;No Kamala. my scenario is to have control such that user can go back with a popup and edit the sales order screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 09:31:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202674#M763364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T09:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: VA01 ---user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202675#M763365</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;Your task wil be surely achieved thro configuration itself. Please consult your corresponding functional consultant. I have faced same task in PO and it was achieved thro configuration. Even after that, if you are not able to achieve, then there is a lengthy procedure to finish it. So let me know. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if its helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kamalapriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 09:41:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202675#M763365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T09:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: VA01 ---user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202676#M763366</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;Can u please let me know the technical method in which we can do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 11:38:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202676#M763366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T11:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: VA01 ---user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202677#M763367</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;To check for the suitable badi, Go to transaction SE24 and give the Object type as CL_EXITHANDLER and click on Display button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on method GET_INSTANCE, put a break point on case statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute your transaction and look for variable EXIT_NAME at your scenario then it will show the available badi's. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no BADIs available for your task, then go to the following method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First find the main program of your transaction from system -&amp;gt; status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Then set breakpoint and start debugging and check in which program the price limit and the exceeded price you get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. After finding the program, check whether any userexit exists in that program. If so, then in that userexit check your condition using if condition and if it succeds, then write the error message as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mmpur_message_forced 'E' 'ME '900'  ' '  ' '  ' '  ' '. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;where me -&amp;gt; message class and 900 -&amp;gt; message no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error message is included in an include program mm_messages_mac. So thro enhancement point concept, insert this mm_messages_mac program in the main program of userexit by statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE mm_messages_mac.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error message statement wil give you the error message and when you try to save your SO, it wil display a popup asking whether to save or edit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you click edit, all your data wil be retained without losing anything. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this wil be very useful for you. Try out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward points for all helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;kamalapriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 12:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit/m-p/3202677#M763367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T12:21:02Z</dc:date>
    </item>
  </channel>
</rss>

