Application Development and Automation 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: 
Read only

Regarding messages.

Former Member
0 Likes
1,153

Hi,

How to create a message class?

What are the transactions used for it.

Give me detailed steps regarding the messages.

Cheers,

Chandru

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,134

Hi,

YOu can create message class in SE91

In this u can define 1000 messages (all types of messges)

with 3 digit no start with 000 upto 999.

You can call this in ur program.

Syntax: Zmess.class name E(3 digit no.)

I(3 digit no.)

S(3 digit no.)

W(3 digit no.)

E error message, I infomation message, S status message, W warning message,

Regards,

kavitha.

HI

goto se91 transaction------->here u can create message class.

give the message class name--->create a class>give short description -


>ans save--in meesages tab u can declare the messages which u want to use in program.

message -


u can give a three digit number.

Edited by: Jyothsna M on Feb 27, 2008 10:11 AM

9 REPLIES 9
Read only

Former Member
0 Likes
1,134

Check transaction SE91 to create message class and messages for the class.

Read only

Former Member
0 Likes
1,134

Hi,

Goto Tcode SE91-->

1. Enter Message Class Name .select Radio button Messages

2.Give short description

3.Click ON Messages Tab -->Give all required messages There.

Read only

0 Likes
1,134

Hi Murali,

Thanks a lot for ur reply.

I have one more doubt what is the maximum length of the message class name?

What are the different types of messages Available?

Cheers,

Chandru

Read only

Former Member
0 Likes
1,135

Hi,

YOu can create message class in SE91

In this u can define 1000 messages (all types of messges)

with 3 digit no start with 000 upto 999.

You can call this in ur program.

Syntax: Zmess.class name E(3 digit no.)

I(3 digit no.)

S(3 digit no.)

W(3 digit no.)

E error message, I infomation message, S status message, W warning message,

Regards,

kavitha.

Read only

Former Member
0 Likes
1,134

Hi,

Use transaction SE91. U can add messages to this class in the message tab. And u can use this z class directly in ur program.

Regards,

Ramya

Read only

Former Member
0 Likes
1,134

hi,

the maximum length of message class is 20 characters and there are 6 types of messages.

E-Error message.

I-Information message.

W-warning message.

S-status message

X-Exit message

A-Abort(termination) message.

Regards,

vineela.

Read only

Former Member
0 Likes
1,134

HI

goto se91 transaction------->here u can create message class.

give the message class name--->create a class>give short description -


>ans save--in meesages tab u can declare the messages which u want to use in program.

message -


u can give a three digit number.

Edited by: Jyothsna M on Feb 27, 2008 10:11 AM

Read only

Former Member
0 Likes
1,134

Hi,

MESSAGE CLASSES:

-


Message Classes are container of user-defined messages. We can create our own messages to be displayed in the screen and we can create these messages in a message pool inside the message class.

SE91 is the Tcode to create a message class.

The created messages can be called from programs using the statement 'MESSAGE'.

SYNTAX:

MESSAGE <type_of_message><message id>(message_class).

TYPES OF MESSAGES:

-


S - Status message.

I - Information message.

E - Error message.

W - Warning message.

A - Abort message.

T - Terminate message.

You can create up to 1000 messages in a single message class. The message id ranges from 0 - 999.

Regards,

Priya.