<?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: XD02 - User Exit- Check before Saving in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807562#M41467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subramanian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know the only way to generate a message in this exit is using MESSAGE (if you want to prevent the customer is saved) of a FM like POPUP_TO_INFORM if it's only informational.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Nov 2004 11:29:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-11-04T11:29:42Z</dc:date>
    <item>
      <title>XD02 - User Exit- Check before Saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807561#M41466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using this user exit in transaction XD02 (customer..) and there is a user exit check before saving. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is an error, how should I popup this message in user exit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw a function module which the same transaction is using MESSAGE_STORE. Can I use this function module ? Is there any setting that I need to do in SPRO for message collection ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2004 11:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807561#M41466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-04T11:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: XD02 - User Exit- Check before Saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807562#M41467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subramanian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know the only way to generate a message in this exit is using MESSAGE (if you want to prevent the customer is saved) of a FM like POPUP_TO_INFORM if it's only informational.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2004 11:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807562#M41467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-04T11:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: XD02 - User Exit- Check before Saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807563#M41468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, but I am not sure whether it will work, but I will definitely give it a shot. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ME21N transaction, I had used an user exit and even there the messages were stacked up and on clicking the save button, SAP automatically showed all the messages. I can't recollect which function module I had used(then I didn't have that excel sheet). It used to show 3 error messages, 4 warnings. So similarly, I am looking for a function module which is being used by XD02 for stacking up messages and showing them in final display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2004 12:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807563#M41468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-04T12:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: XD02 - User Exit- Check before Saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807564#M41469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subramanian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ME21N the functions MESSAGE_STORE (to store messages in global table) and MESSAGES_SHOW are used. But as far as I'm aware of this functionality is not used (yet?) for customer maintenance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2004 12:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807564#M41469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-04T12:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: XD02 - User Exit- Check before Saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807565#M41470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This program example shows how to display messages in a message popup using function modules of function group SMSG. It's quite simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck &lt;/P&gt;&lt;P&gt;Volker&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF lt_nachrichten OCCURS 0,&lt;/P&gt;&lt;P&gt;          arbgb LIKE smesg-arbgb,&lt;/P&gt;&lt;P&gt;          msgty LIKE smesg-msgty,&lt;/P&gt;&lt;P&gt;          msgv1(50),&lt;/P&gt;&lt;P&gt;          msgv2(50),&lt;/P&gt;&lt;P&gt;          msgv3(50),&lt;/P&gt;&lt;P&gt;          msgv4(50),&lt;/P&gt;&lt;P&gt;          txtnr(03),&lt;/P&gt;&lt;P&gt;        END OF lt_nachrichten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*...Activate Message-Handler&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'MESSAGES_INITIALIZE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*...Store message&lt;/P&gt;&lt;P&gt;    LOOP AT lt_nachrichten.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'MESSAGE_STORE'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                arbgb = lt_nachrichten-arbgb&lt;/P&gt;&lt;P&gt;                msgty = lt_nachrichten-msgty&lt;/P&gt;&lt;P&gt;                msgv1 = lt_nachrichten-msgv1&lt;/P&gt;&lt;P&gt;                msgv2 = lt_nachrichten-msgv2&lt;/P&gt;&lt;P&gt;                msgv3 = lt_nachrichten-msgv3&lt;/P&gt;&lt;P&gt;                msgv4 = lt_nachrichten-msgv4&lt;/P&gt;&lt;P&gt;                txtnr = lt_nachrichten-txtnr.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*...Display messages&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'MESSAGES_SHOW'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              object             = 'Error messages'&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              inconsistent_range = 1&lt;/P&gt;&lt;P&gt;              no_messages        = 2&lt;/P&gt;&lt;P&gt;              OTHERS             = 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2004 16:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807565#M41470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-04T16:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: XD02 - User Exit- Check before Saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807566#M41471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not all application is using the message store. To check whether that application is using it, put a break-point in those message function modules. Execute your application and generate some errors. See whether it stop in that function.&lt;/P&gt;&lt;P&gt;If that application is not using similar message storing technique, you might want to popup the error message in that user exit, then call back that transaction and skip the initial screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2004 16:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807566#M41471</guid>
      <dc:creator>nablan_umar</dc:creator>
      <dc:date>2004-11-04T16:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: XD02 - User Exit- Check before Saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807567#M41472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot all. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem was solved incredibly easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I need to write is :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MESSAGE E563(F2) with 'my message'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 09:22:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807567#M41472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-05T09:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: XD02 - User Exit- Check before Saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807568#M41473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subramanian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would like to give points regarding to SDN customs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can give points by clicking to the yellow star icon at the header of each post. By this way, you can give;&lt;/P&gt;&lt;P&gt;-one 10 points (solved)&lt;/P&gt;&lt;P&gt;-two 6 points (very helpful answer)&lt;/P&gt;&lt;P&gt;-many 2 points (helpful answer)&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;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 09:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807568#M41473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-05T09:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: XD02 - User Exit- Check before Saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807569#M41474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John, I do understand about the points, and I never forget to give points. I have given points to every answer. I am always reminded of Mark Finnern's weblog about 'Good Karma'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 10:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xd02-user-exit-check-before-saving/m-p/807569#M41474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-05T10:15:35Z</dc:date>
    </item>
  </channel>
</rss>

