<?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: Implementing  Note 836401.  How to create message class 'Z'? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-note-836401-how-to-create-message-class-z/m-p/6382107#M1403413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pavel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SAP note says that you should look for an appropriate Z-message class having a message (i.e. number) with the required text.&lt;/P&gt;&lt;P&gt;Alternatively, you may use the following approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
...
    CHECK sy-subrc NE 0.
    ld_no_auth = 'X'.                            "no authorization
     MESSAGE ID '00' TYPE 'I' NUMBER 208 WITH 'Sie haben keine Berechtigung, Quittungen zu drucken'.
"     MESSAGE ID 'Z' TYPE 'I' NUMBER 000.
"*   Sie haben keine Berechtigung, Quittungen zu drucken.
 
  ENDIF.                                         "begru initial?
 
ENDFORM.   
 
...

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Dec 2009 08:17:23 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2009-12-11T08:17:23Z</dc:date>
    <item>
      <title>Implementing  Note 836401.  How to create message class 'Z'?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-note-836401-how-to-create-message-class-z/m-p/6382106#M1403412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to  implement SAP Note 836401 -" FBCJ: Receipt print with display not allowed " In SAP ERP 6.0.    Could somebody help me please with action in this note:&lt;/P&gt;&lt;P&gt;"You must then adjust the error class 'Z' to your error class and replace the error number '000' with the error number of the message you created." I have some misunderstanding - What I must to do here? In SE91 i can't  find message class 'Z' and I can't to create it there, because of the rule:    name of message class   must minimum 2 characters.&lt;/P&gt;&lt;P&gt;In  correction of object :"R3TR REPS MFCJ0F01" of this note, in source code I'm facing  strings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;...

     ID 'BEGRU' FIELD ls_tcj_c_journals-begru.
    CHECK sy-subrc NE 0.
    AUTHORITY-CHECK OBJECT 'F_FBCJ'
      ID 'ACTVT' FIELD '32'                      "Save
      ID 'BEGRU' FIELD ls_tcj_c_journals-begru.
    CHECK sy-subrc NE 0.
    ld_no_auth = 'X'.                            "no authorization
     MESSAGE ID 'Z' TYPE 'I' NUMBER 000.
*   Sie haben keine Berechtigung, Quittungen zu drucken.

  ENDIF.                                         "begru initial?

ENDFORM.   

...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create the error class'Z'? &lt;/P&gt;&lt;P&gt;How to adjust error class 'Z' to my error class?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pavel Bogomolov.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2009 08:11:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-note-836401-how-to-create-message-class-z/m-p/6382106#M1403412</guid>
      <dc:creator>pavel_bogomolov</dc:creator>
      <dc:date>2009-12-11T08:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing  Note 836401.  How to create message class 'Z'?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-note-836401-how-to-create-message-class-z/m-p/6382107#M1403413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pavel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SAP note says that you should look for an appropriate Z-message class having a message (i.e. number) with the required text.&lt;/P&gt;&lt;P&gt;Alternatively, you may use the following approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
...
    CHECK sy-subrc NE 0.
    ld_no_auth = 'X'.                            "no authorization
     MESSAGE ID '00' TYPE 'I' NUMBER 208 WITH 'Sie haben keine Berechtigung, Quittungen zu drucken'.
"     MESSAGE ID 'Z' TYPE 'I' NUMBER 000.
"*   Sie haben keine Berechtigung, Quittungen zu drucken.
 
  ENDIF.                                         "begru initial?
 
ENDFORM.   
 
...

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2009 08:17:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-note-836401-how-to-create-message-class-z/m-p/6382107#M1403413</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-12-11T08:17:23Z</dc:date>
    </item>
  </channel>
</rss>

