2010 May 31 1:30 PM
if l_n <> l_m .
message e000(YOMEG099) with 'Mismatch with the deliveries in the shipment'.
exit.
endif .
I'm using the above code in the BADI IMPLEMENTATION METHIOD for VF01 .
When the condition is satisfied , the error message is displayed as follows .
"E:YOMEG099:000 Mismatch with the deliveries in the shipment "
The message is displayed alongwith " E:YOMEG099 " . I want to avoid this in the message . I want the message to be displayed as "Mismatch with the deliveries in the shipment "
Please tell me how to display a message like this ?
2010 May 31 1:33 PM
For me it sounds like a missing message (transaction SE91).
Regards
André Witt
2010 May 31 1:33 PM
For me it sounds like a missing message (transaction SE91).
Regards
André Witt
2010 May 31 10:46 PM
Hi Pavan
This issue happens because message class YOMEG099 does not exist in the system.
Please, check in transaction SE91 if message class and message number exist in the system. If don´t exist, you can create ot transport from another system. It will solve this unexpected behavior.
Kind regards
2010 Jun 01 3:14 AM
if this is the case in your test or production system and not in dev, that means message class is not transported.
but if it is the issue in all servers then message class doesnot exist. .you can run a code inspector or SLIN to find out these kind of errors.
2010 Jun 01 5:18 AM
Hi Pavan,
It happens, when the message class(YOMEG099) or message no(000) is missing in the system.
Go to SE91 and check whether the message class(YOMEG099) & message no(000) is available or not.
If this is the case in your test or production system and not in dev, that means message class is not transported.
Then transport the Transport request of the message class(YOMEG099) & check.
Regards
Dillip Sahoo
2010 Jun 01 6:37 AM
HI Pavan,
follow the below steps..
1) go to se91
2) create messge class named -- YOMEG099
3) message number 000 and description 'Mismatch with the deliveries in the shipment'
4) u r code will be
if l_n l_m .
message e000(YOMEG099).
exit.
endif .
Thanks,
Madhukar.
2010 Jun 01 7:14 AM
Hello Pavan,
Otherwise you can just change the statement to use the standard message class 00 as follows;
message e001(00) with 'Mismatch with the deliveries in the shipment'.But i recommend you to create a message with the above text in some custom message class. Because this will help you in the future to track down the code which issues the message.
Regards,
Karthik D
2010 Aug 11 4:01 PM
hi all, i have one text msg in my message class like: "The file & is already generated"
question, how can i do to show my file name replacing the & ?
is it &table-name& ? Like "The file &table-name& is already generated" or what is the correct way?
thanks so much!