<?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 Replace 'raise' with message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-raise-with-message/m-p/2352258#M519406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace 'raise' with message is the warning which I get. What has to be &lt;/P&gt;&lt;P&gt;done ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL FUNCTION '/BMW/STD_IFF_SNR_ZU_AG'
       EXPORTING
            werk       = iff_daten-werk
            sachnummer = iff_daten-sachnummer
            ai         = iff_daten-ai
       IMPORTING
            snr_zu_ag  = ila_iff_snr_ls
       EXCEPTIONS
            not_found  = 1
            OTHERS     = 2.

  IF sy-subrc = 0.
    snr_zu_ag_lf = 'X'.
  ELSE.
    snr_zu_ag_lf = ' '.
  ENDIF.

* Wurde keine Zuordnung gefunden, lesen Kunde aus zfs5zwv_abst
  IF snr_zu_ag_lf = ' '.
    SELECT SINGLE debitor
      FROM /BMW/STD_ZFS5ZWV
      INTO lv_kunnr_lf
     WHERE bmwwerk = iff_daten-werk.
    IF sy-subrc &amp;lt;&amp;gt; 0.
      RAISE kunnr_not_found.
      EXIT.
    ENDIF.
  ELSE.
    lv_kunnr_lf = ila_iff_snr_ls-auftraggeber.
  ENDIF.

  IF lv_kunnr_lf IS INITIAL.
    RAISE kunnr_not_found.
    EXIT.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2007 14:55:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-15T14:55:20Z</dc:date>
    <item>
      <title>Replace 'raise' with message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-raise-with-message/m-p/2352258#M519406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace 'raise' with message is the warning which I get. What has to be &lt;/P&gt;&lt;P&gt;done ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL FUNCTION '/BMW/STD_IFF_SNR_ZU_AG'
       EXPORTING
            werk       = iff_daten-werk
            sachnummer = iff_daten-sachnummer
            ai         = iff_daten-ai
       IMPORTING
            snr_zu_ag  = ila_iff_snr_ls
       EXCEPTIONS
            not_found  = 1
            OTHERS     = 2.

  IF sy-subrc = 0.
    snr_zu_ag_lf = 'X'.
  ELSE.
    snr_zu_ag_lf = ' '.
  ENDIF.

* Wurde keine Zuordnung gefunden, lesen Kunde aus zfs5zwv_abst
  IF snr_zu_ag_lf = ' '.
    SELECT SINGLE debitor
      FROM /BMW/STD_ZFS5ZWV
      INTO lv_kunnr_lf
     WHERE bmwwerk = iff_daten-werk.
    IF sy-subrc &amp;lt;&amp;gt; 0.
      RAISE kunnr_not_found.
      EXIT.
    ENDIF.
  ELSE.
    lv_kunnr_lf = ila_iff_snr_ls-auftraggeber.
  ENDIF.

  IF lv_kunnr_lf IS INITIAL.
    RAISE kunnr_not_found.
    EXIT.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 14:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-raise-with-message/m-p/2352258#M519406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-15T14:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replace 'raise' with message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-raise-with-message/m-p/2352259#M519407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is all of this code being called within a function module or method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 14:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-raise-with-message/m-p/2352259#M519407</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-06-15T14:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replace 'raise' with message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-raise-with-message/m-p/2352260#M519408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it's &amp;lt;b&amp;gt;function module&amp;lt;/b&amp;gt; then it dont accept &amp;lt;b&amp;gt;message&amp;lt;/b&amp;gt;, you should replace with  &amp;lt;b&amp;gt;raise&amp;lt;/b&amp;gt; keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it's report then u should write like this,&lt;/P&gt;&lt;P&gt;message e001 (ZMEGCLA).&lt;/P&gt;&lt;P&gt;ZMEGCLA this should be message class which u should create in se91,&lt;/P&gt;&lt;P&gt;e001 by double click on this text u can enter text like'custmoer not avbl'.&lt;/P&gt;&lt;P&gt;then save and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;seshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 14:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-raise-with-message/m-p/2352260#M519408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-15T14:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Replace 'raise' with message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-raise-with-message/m-p/2352261#M519409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Based on the Program Create a Message class ZA using SE91 (not for fun module) and &lt;/P&gt;&lt;P&gt;add/create a message 000 with  4 Place holders in it like &amp;amp;&amp;amp;&amp;amp;&amp;amp; and&lt;/P&gt;&lt;P&gt;then write&lt;/P&gt;&lt;P&gt; IF snr_zu_ag_lf = ' '.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE debitor&lt;/P&gt;&lt;P&gt;      FROM /BMW/STD_ZFS5ZWV&lt;/P&gt;&lt;P&gt;      INTO lv_kunnr_lf&lt;/P&gt;&lt;P&gt;     WHERE bmwwerk = iff_daten-werk.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;   &amp;lt;b&amp;gt;       message i000(za) with 'Customer Not found'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    lv_kunnr_lf = ila_iff_snr_ls-auftraggeber.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  IF lv_kunnr_lf IS INITIAL.&lt;/P&gt;&lt;P&gt;    &amp;lt;b&amp;gt;message i000(za) with 'Customer Not found'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Anji Reddy Vangala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 14:59:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-raise-with-message/m-p/2352261#M519409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-15T14:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Replace 'raise' with message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-raise-with-message/m-p/2352262#M519410</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;Go to SE91. Create a message class(for example:zwarn) and add a message number to it(example: W01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now replace raise in your program with&amp;lt;b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE W01.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it solves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 15:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-raise-with-message/m-p/2352262#M519410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-15T15:01:25Z</dc:date>
    </item>
  </channel>
</rss>

