05-09-2006 7:20 AM
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.
05-09-2006 7:24 AM
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.
05-09-2006 7:23 AM
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
05-09-2006 7:24 AM
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.
05-09-2006 7:26 AM
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.
05-09-2006 7:28 AM
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'.
05-09-2006 7:38 AM
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.
05-09-2006 7:53 AM
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