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: 

problem with MESSAGE text

Former Member
0 Kudos

hi,

i have this code.

MESSAGE i000(ZD) WITH v_msg.

where v_msg is a variable with value

'cant find barcode.'

when i run the program i get this message.

'I:ZD:000 Cant find barcode'

my problem is this. i want my message to contain only these words 'Cant find barcode'. how can i elliminate this word 'I:ZD:000'.

thank you.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check in the message ID ZD whether the message no contains & & so that u can pass your own messgae otherwise it will give some error.

Give the proper message number.

If this solves ur problem reward and clsoe the thread.

6 REPLIES 6

Former Member
0 Kudos

i don't think it is possible...

MESSAGE i000(ZD) WITH v_msg.

IT REPRESENT THE DISCRIPTION OF MESSAGE TYPE......

I-->information message

000-->message no

ZD-->message class

Former Member
0 Kudos

Hi,

Check in the message ID ZD whether the message no contains & & so that u can pass your own messgae otherwise it will give some error.

Give the proper message number.

If this solves ur problem reward and clsoe the thread.

Former Member
0 Kudos

Hi jesus,

1. use this kind of syntax,

then this extra words at the beginning won't appear.

2. message 'abc' type 'I'.

regards,

amit m.

hymavathi_oruganti
Active Contributor
0 Kudos

check the following works in ur code, it works in some versions. declare message id with report statement

report abd message id zd

MESSAGE 'cant find barcode' type 'i'.

Former Member
0 Kudos

Hi pal,

This error occurs when you have not defined the message 000 in your message id ZD.

When you double click on the message id 'ZD' and get into to it, check if you have defined the message number '000' and activated the same. Also give the text "Can't find Barcode" within this.

Although it sounds a simple thing to do, this is the reason for that error.

Do let me know if it works.

Regards,

Gayathri N.

0 Kudos

Hi

Might be you have defined the message in your development server ( se91 ) and not transported that to the server on which you are testing it . so check the same with se91 .

Regards

Siddharth