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
4,156

hi,

i havea message class defined with message number 000 and message short text as & & & &.

in my program i use

message e000(message_class_name) with ' my message'.

the message is displayed but always with a prefix like

E:message_class_name:000 my message

why so ?? i just want my message to be displayed and no such prefix that talks abt the message class details !!

what is to be done ?

thks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,592

> message e000(message_class_name) with ' my message'.

>

> the message is displayed but always with a prefix like

>

> E:message_class_name:000 my message

>

even when you have no message number maintianed in the message class, then also you get the similar behaviour.

15 REPLIES 15
Read only

Former Member
0 Likes
3,592

if the message class in not there , then you get the similar behaviour.

check in SE91 there any message class or not.

Read only

Former Member
0 Likes
3,593

> message e000(message_class_name) with ' my message'.

>

> the message is displayed but always with a prefix like

>

> E:message_class_name:000 my message

>

even when you have no message number maintianed in the message class, then also you get the similar behaviour.

Read only

0 Likes
3,592

My message class exists, Vijay !!!

If i use any of the standard message class like F2, i dont face such a problem !!! for e.g.

Message E899(F2) with 'my message '.

any other tips ??

Read only

0 Likes
3,592

Hi in SE91 for that message class, at 000 add 3& only, u were using 4& i think.

Ex:- 000 &&&

Then use that number in ur program

MESSAGE E000(ZXXX) with 'YOUR MESSAGE'.

Edited by: Bala Krishna on Aug 16, 2008 10:19 PM

Read only

0 Likes
3,592

if message class exists and message number not there then also you get the same kind of message .

message s011(f2) with 'No data'. "check this first

*message s990(f2) with 'No data'. " check this later

Read only

0 Likes
3,592

yes Bala, 4 ampersands have been defined...I think that shud help..anyway will confirm and then close this thread...thanks

Read only

0 Likes
3,592

hey Bala, But message class F2 also uses 4 ampersands for message number 899 !! But its works ...how ??

Read only

0 Likes
3,592

I have defined a message classs ZZ, and inside that i have message number 011,

and i defined this way

011 & & & &

and now in my program

i coded this way...

message e011(zz) with 'my message'.

but i got direct message. you are missing some thing thats for sure.

check it once

Read only

0 Likes
3,592

did u check with 3 or 5 &s and activate and check once.

Read only

0 Likes
3,592

My bad, typo error, the message class name was typed wrong !!! Sorry...but wont the existence of message class be checked during syntax check ??

thks

Read only

0 Likes
3,592

as i told you, if you give wrong message calss or non existing class you get the same behaviour.

it won't check in syntax check also.that is the reason it tries to display in that fashion.

Edited by: Vijay Babu Dudla on Aug 16, 2008 1:35 PM

Read only

0 Likes
3,592

see my reply in my first post.

>if the message class in not there , then you get the similar behaviour.

>check in SE91 there any message class or not.

Read only

0 Likes
3,592

Hi for ZZ message class it is giving like that, may be it is maintained in DE language.

Try to create a new message class and to any message num assign only 1&.

Sorry in my previous message i said 3 or 5 &, its only 1 & in short message text, and use that message number in program

Read only

former_member585060
Active Contributor
0 Likes
3,592

Hi,

In any message class if any number

Ex:- 000 has a &&&, that means we can use it for our dynamic text in program.

Some time we may require other messages to display according to our need and in message class there will be no such text, in that situation we can use 000 for our custom text messages.

Regards

Bala Krishna

Read only

Former Member
0 Likes
3,592

>i havea message class defined with message number 000 and message short text as & & & &.

is message class and message number created by you now or it is already there .

if you created , check the message class and number saved or not.

a message can take max 4 & , minimum 0 . that is nothing to do with the current problem.

even if you define 5 & nothing will happen. you can supply only 4 variables to the message.