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

displaying message

Former Member
0 Likes
979

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 ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
934

For me it sounds like a missing message (transaction SE91).

Regards

André Witt

7 REPLIES 7
Read only

Former Member
0 Likes
935

For me it sounds like a missing message (transaction SE91).

Regards

André Witt

Read only

former_member214857
Contributor
0 Likes
934

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

Read only

Former Member
0 Likes
934

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.

Read only

Former Member
0 Likes
934

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

Read only

Former Member
0 Likes
934

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.

Read only

Former Member
0 Likes
934

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

Read only

0 Likes
934

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!