Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO CREATE "MESSAGE CLASS"?

Former Member
0 Kudos

HELLO EXPERTS,

Hereby, I post my another very simple but very important query.

I have to make <b>"message class"</b>. But I <b>do not</b> know the tracsaction code, procedure and other require syntax.

Kindly, explain me the <b>ENTIRE PROCEDURE</b>.

Thanks!!

6 REPLIES 6

Former Member
0 Kudos

go to se91 and create your message class or write

in abap code

message e001(zspd).

dbl click that zspd it will automatically go to zspd message class and 0001 text.

regards

shiba dutta

Former Member
0 Kudos

<b>You create and edit Message Class using Transaction SE91. Once you have created a message, you can use it in the MESSAGE statement in a program.

All messages are stored in table T100.</b>

<b>Creating Message Classes</b>

To create a new message class from the ABAP Editor:

1. In the initial statement (for example, REPORT) or directly in the statement MESSAGE ID <id> enter a parameter value of up to 20 characters as a message ID, for example:

REPORT <name> MESSAGE-ID <message class>.

Messages are stored system-wide. The chosen message ID (message class) must not already exist in the system.

2. Double-click the message ID.

If you enter an ID that already exists in the system, the system calls up Message maintenance. In this case, enter a different ID. Once you have done this, the system asks you whether you want to create a new message class.

3. Choose Yes.

The system calls up Message maintenance.

4. Enter a brief description of the class in Short text.

5. Choose Save.

Former Member
0 Kudos

Hi Tejas,

The transaction to create custom message class is SE91. Please also check the following link

Regards,

Sowmya

Former Member

Former Member
0 Kudos

Hi Tejas,

Message classes can be in defined in many forms like :

1> message innn(mmm)

where mmm is the message class and the nnn is the message

for example :

message i002(001)

2> message id mmm type x number nnn

where x may be 'I' or 'E' -- type of message

for example :

message id '001' type 'I' number '002'

3> message innn.

for example :

message i001.

In the above case the message id is tot be specified in the message statement.

for example:

REPORT ZRULE111 message-id 001.

Former Member
0 Kudos

Hi ,

Use the transaction SE91.

Regards

Arun