<?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: MESSAGE class problem. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988342#M1342019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is not a Message class Problem when you are trying to view the form through VF03 it will send the Form by FAX/MAIl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Check the Output Medium in Tcode VF02/VF03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also check the SAP Inbox in Tcode SBWP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kanagaraja L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2009 13:28:00 GMT</pubDate>
    <dc:creator>Kanagaraja_L</dc:creator>
    <dc:date>2009-08-12T13:28:00Z</dc:date>
    <item>
      <title>MESSAGE class problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988341#M1342018</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 have coded an error message for my form by using below syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MESSAGE ID 'Z0' TYPE 'E' NUMBER '999' WITH 'Please maintain cust pricing grp 34 for' wa_zmas-matnr .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked fine when i try to display the form with an error message in tcod : vf03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i try to cancel this billing document in tcode : vf11 and able to save without a problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is, when i try to view this billing document again via tcode : vf03 again, there's is an error message shown by the system :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;Express document "Update was terminated" received from author "ABCDE".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This indicates that my cancellation/reverse of this billing doc no its not successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering is it cause by my above code but when i try to do the cancelation, it did not went through my coding? Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 09:13:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988341#M1342018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T09:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGE class problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988342#M1342019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is not a Message class Problem when you are trying to view the form through VF03 it will send the Form by FAX/MAIl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Check the Output Medium in Tcode VF02/VF03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also check the SAP Inbox in Tcode SBWP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kanagaraja L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 13:28:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988342#M1342019</guid>
      <dc:creator>Kanagaraja_L</dc:creator>
      <dc:date>2009-08-12T13:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGE class problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988343#M1342020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, below its my coding (bold).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-i suspected its the error message. This is because once i uncomment the message class, the error will not appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-i have problem in create billing too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-my process was, i create a new billing --&amp;gt; click on save button --&amp;gt; view my new billing via vf03  --&amp;gt; pop up error msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-pop up error message : Express document "Update was terminated" received from author "USER01".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-when i check my inbox msg, it shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Update was terminated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  System ID....   DEV&lt;/P&gt;&lt;P&gt;  Client.......   300&lt;/P&gt;&lt;P&gt;  User.....   DCABAP03&lt;/P&gt;&lt;P&gt;  Transaction..   VF01&lt;/P&gt;&lt;P&gt;  Update key...   16AE88DE0111F11EA300001A64635E5E&lt;/P&gt;&lt;P&gt;  Generated....   14.08.2009, 16:40:21&lt;/P&gt;&lt;P&gt;  Completed....   14.08.2009, 16:40:22&lt;/P&gt;&lt;P&gt;  Error Info...   Z0 999: Please maintain cust pricing grp 34&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- i realised that the error info it's the same with my coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- my main purpose its to display this error message once i print preview the form via vf03 output type only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT it_zmas INTO wa_zmas.
      IF wa_zmas-mtart = 'FIN' AND wa_zmas-fkimg NE '0'.

        LOOP AT tvbdpr WHERE posnr = wa_zmas-posnr AND matnr = wa_zmas-matnr.
*read internal table it_zmas to save uecha, gross value and discount.
          READ TABLE it_zmas WITH KEY posnr = wa_zmas-posnr matnr = wa_zmas-matnr.
          IF sy-subrc = 0.
*to retrieve uecha from tvbdpr and to compared with intab-posnr. intab posnr its taken from tvbdpr-uecha and tvbdpr-posnr.
            IF tvbdpr-uecha &amp;lt;&amp;gt; 0.
              it_zmas-uecha = tvbdpr-uecha.
            ELSE.
              it_zmas-uecha = tvbdpr-posnr.
            ENDIF.
*to retieve cust pricing group and material table.
            SELECT SINGLE knumh INTO zknumh FROM a960
              WHERE kschl = 'Z001'
              AND zzkonda = '34'
              AND matnr = wa_zmas-matnr
              AND datab LE tvbdpr-prsdt
              AND datbi GE tvbdpr-prsdt.
*if there is cust pricing grp available continue else display error message.
            IF zknumh IS NOT INITIAL.
              SELECT SINGLE kbetr INTO (zkbetr) FROM konp
                WHERE knumh = zknumh.
*determine gross value
              it_zmas-gross_value = zkbetr * wa_zmas-fklmg.

              LOOP AT intab WHERE matnr = wa_zmas-matnr AND posnr = it_zmas-uecha.
                AT NEW posnr.
                  SUM.
                  zkwert = intab-kwert.
                ENDAT.
              ENDLOOP.

*determine discount
              it_zmas-discount = it_zmas-gross_value - zkwert.
              MODIFY it_zmas.
            ELSE.

         *MESSAGE ID 'Z0' TYPE 'I' NUMBER '999' WITH 'Please maintain cust pricing grp 34'.*

            ENDIF.
            CLEAR zknumh.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anyone guide me or let me know what did i do wrongly? really appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: SW on Aug 14, 2009 10:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 08:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988343#M1342020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T08:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGE class problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988344#M1342021</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;   If you are writing the code user exit , which is called in update task ( i.e once the DB commit is done ) you are not supposed to give error mesage. Looks like you need to find some other user exit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To trace the actual reason, please let me know your user exit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Krishnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 08:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988344#M1342021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T08:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGE class problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988345#M1342022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt; unfortunately its not an user exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is a program that ive written and tag to a form (sapscript).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 09:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988345#M1342022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T09:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGE class problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988346#M1342023</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;Try to execute ur code only for VF03 and for rest just skip ur code and see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use SY-TCODE...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 09:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988346#M1342023</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2009-08-14T09:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGE class problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988347#M1342024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prb solved Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 01:44:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-class-problem/m-p/5988347#M1342024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-23T01:44:12Z</dc:date>
    </item>
  </channel>
</rss>

