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

message class

Former Member
0 Likes
599

how to declare TWO message classes in a report. pl. let me know.

iam coping the std program then i had one msg class & for that i did modifications and i have to declare one more msg class. so pl. let me know.

thanks & rewards

satish

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
577

You don't need to declare either, if you want to use messages from two separate message classes in your program, you can write the MESSAGE statements like this, where the value in the parenthsis is the message class.

Message  E001(00).

Regards,

Rich Heilman

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
578

You don't need to declare either, if you want to use messages from two separate message classes in your program, you can write the MESSAGE statements like this, where the value in the parenthsis is the message class.

Message  E001(00).

Regards,

Rich Heilman

Read only

former_member196299
Active Contributor
0 Likes
577

hi Satish ,

For declaring 2 message classes in your report , you can do one thing , open your program in SE80 or ( Open your program and click on object list in the application tool bar ) , and then there create another message class for your progarm . Then you can use both the message classes in the program .

Regards,

Ranjita

Read only

Former Member
0 Likes
577

HI,

u can give the message class along with the message statement.

MESSAGE E010(zmsgtab).

if u give like this, this message will appear from zmsgtab.

simply if u write message e010,it will take the message text from the default message class that u will give along with the REPORT statement.

<b>reward if helpful</b>

rgds,

bharat.

Read only

Former Member
0 Likes
577

Hi

in program write

message i000(z00)

message i001(z01)

double click on both and create

reward points to all helpful answers

kiran.M