<?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: Read Warning message and throw an additional error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499440#M1932697</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 don't know if I get it, but Usually you can verify creation/changing mode by watching sy-tcode field value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to help&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Mar 2016 13:19:01 GMT</pubDate>
    <dc:creator>roberto_vacca2</dc:creator>
    <dc:date>2016-03-09T13:19:01Z</dc:date>
    <item>
      <title>Read Warning message and throw an additional error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499436#M1932693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ever there is a warning message VL 150 is triggered during delivery creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An Error message as to be triggered, which will block the partial delivery being created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Program : MV50AFZ1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;User Exit :&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FORM &lt;/SPAN&gt;USEREXIT_SAVE_DOCUMENT_PREPARE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why i am not configuring this in the Message level is because i need this error to be triggered only to some order types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to read a warning message from the Error log from the user exit ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the code to read the warning message and and throw an Error message stating that "The Part delivery is not allowed in "XXXX" Order types"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not from ABAP background. If this is possible then i will give the requirement to our technical team.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate all your support. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 10:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499436#M1932693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-18T10:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Read Warning message and throw an additional error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499437#M1932694</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 should have&amp;nbsp; CVBFS table online and&amp;nbsp; with this code you'll get the warning message (If Present)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;STRONG&gt;read &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;cvbfs &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;key &lt;/SPAN&gt;MSGID&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'VL'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSGNO &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'&lt;SPAN style="color: #333333; font-size: 12px;"&gt;150&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSGTY&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'W'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;IF sy-subrc EQ 0.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"Throw your error message&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to help&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 14:08:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499437#M1932694</guid>
      <dc:creator>roberto_vacca2</dc:creator>
      <dc:date>2016-01-18T14:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Read Warning message and throw an additional error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499438#M1932695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try this with team and will let you know once it is done. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 14:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499438#M1932695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-18T14:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Read Warning message and throw an additional error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499439#M1932696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement same as the above. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to change an error message into warning message only for a particular transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e we need the error message during creation but not during changing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me with this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your support&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- &lt;/P&gt;&lt;P&gt;Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 12:42:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499439#M1932696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-09T12:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Read Warning message and throw an additional error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499440#M1932697</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 don't know if I get it, but Usually you can verify creation/changing mode by watching sy-tcode field value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to help&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 13:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499440#M1932697</guid>
      <dc:creator>roberto_vacca2</dc:creator>
      <dc:date>2016-03-09T13:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Read Warning message and throw an additional error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499441#M1932698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for your reply Roberto. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 13:24:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-warning-message-and-throw-an-additional-error-message/m-p/11499441#M1932698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-09T13:24:10Z</dc:date>
    </item>
  </channel>
</rss>

