<?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 message type in user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-in-user-exit/m-p/1007036#M77973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,All,&lt;/P&gt;&lt;P&gt;In Tcode AS01,I use user exit AISA0001 to check the value of ANLA-SERNR,if the value did not fit the rule,raised an error through "message ... type 'E' or message exxx with ...", now the problem occured, although I enter new value for the field SERNR,in the user exit, I got the old value,It seemed that the PAI did not trigged again.&lt;/P&gt;&lt;P&gt;Does anybody can help?&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: gw gw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jul 2005 09:06:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-04T09:06:01Z</dc:date>
    <item>
      <title>message type in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-in-user-exit/m-p/1007036#M77973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,All,&lt;/P&gt;&lt;P&gt;In Tcode AS01,I use user exit AISA0001 to check the value of ANLA-SERNR,if the value did not fit the rule,raised an error through "message ... type 'E' or message exxx with ...", now the problem occured, although I enter new value for the field SERNR,in the user exit, I got the old value,It seemed that the PAI did not trigged again.&lt;/P&gt;&lt;P&gt;Does anybody can help?&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: gw gw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2005 09:06:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-in-user-exit/m-p/1007036#M77973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-04T09:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: message type in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-in-user-exit/m-p/1007037#M77974</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;1) have you debugged your exit ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) alternative for user exit is validation (TA OACV)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2005 09:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-in-user-exit/m-p/1007037#M77974</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-07-04T09:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: message type in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-in-user-exit/m-p/1007038#M77975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if this will help as im not sure at what point the user exit is called, but there is a method to access field values available in the main SAP program from within the user exit using field symbols. The code for this is as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;field symbol declaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;status&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Assign value of variable from calling prog to field &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;symbol&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ASSIGN ('(SAPMM06E)RM06E-BSART') TO &amp;lt;status&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The value will now be contained in the field symbol &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&amp;lt;status&amp;gt; which can be used as usual i.e. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  message exxx with &amp;lt;status&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Mart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2005 13:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-in-user-exit/m-p/1007038#M77975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-04T13:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: message type in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-in-user-exit/m-p/1007039#M77976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mart,&lt;/P&gt;&lt;P&gt;I know the method you said, and I used it.&lt;/P&gt;&lt;P&gt;I wonder why the system can not get the new value,the user exit is called before saving the document.&lt;/P&gt;&lt;P&gt;Any way,thanks for all your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2005 09:24:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-in-user-exit/m-p/1007039#M77976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-05T09:24:10Z</dc:date>
    </item>
  </channel>
</rss>

