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: 

messages

Former Member
0 Kudos
93

Hi Gud Morning

I am Srikanth frm HYDERABAD

Messages are created using transacode se91 , But I want the sequential procedure to create a message explaining all the fields in it.

Regards,

SRIKANTH

4 REPLIES 4

FredericGirod
Active Contributor
0 Kudos
60

Former Member
0 Kudos
60

Former Member
0 Kudos
60

hi,

create msg class first using se91

then create messages

for eg if u create msg class Z01 and message 199.

if u need it to be a error message, call in the following manner in the program

MESSAGE E199(Z01)

*Reward points for helpful answers

shishupalreddy
Active Contributor
0 Kudos
60

Hi ,

Follow this to use mesages inyour application.

1. GOTO SE91

2. CREATE MESSAGE CLASS <zmclass>.

3. select the messages option where you will get mesage numbers .

You may or may not provide the description of the messages here.

ACTIVATE THE MESSAGE CLASS .

nOW IN A PROGRAM .

1. report PROGRAM.

pROVIDE THE MESSAGECALSS NAME WITHIN REPORT STTEMENT.

REPORT Zreport message-id <msgcalss>.

Use message <msgtyp><msgnumber>.

msgtyp maybe ERROR---E

WARNING---W

INFORMATION----I

STATUS-----S

ABAORT/TERMINATE----X(NEVER USE THIS )

iF THE MESSAGE DESCRIPTION IS NOT PROVIDED THEN

Use message <msgtyp><msgnumber> WITH <text>.

for further notes ont his Press F1 on message statement .

regards,