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

Messsage pop up.

Former Member
0 Likes
808

Suppose i have data in my field

itab-vbeln.

I want to populate massage like.

order # '1234567890' is a split order.

Righr now i am using 'MESSAGE i042' in my message class.

on i42 i have order # is a split order.

any suggestions.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
769

Yes, add a place holder in the message.

order # & is a split order.

then in the message statement, fill the placeholder.

message i042(ZXX) with itab-vbeln.

Regard,s

Rich HEilman

Suppose i have data in my field

itab-vbeln.

I want to populate massage like.

order # '1234567890' is a split order.

Righr now i am using 'MESSAGE i042' in my message class.

on i42 i have order # is a split order.

any suggestions.

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
770

Yes, add a place holder in the message.

order # & is a split order.

then in the message statement, fill the placeholder.

message i042(ZXX) with itab-vbeln.

Regard,s

Rich HEilman

Read only

0 Likes
769

Thanks Rich.

What are the corresponding changes to be made in message class.

Thanks for the suggestions.

Read only

0 Likes
769

Yes, go to the message class and change the message, put the & in the place where you want to insert the order number. Now in your program, simply adjust your messgae statement like I have above.

Regards

Rich Heilman

Read only

0 Likes
769

Go to SE91, enter your message class (assuming that it is your Z class not SAP standard class), go to your message number, change it to what Rich suggested.

Read only

0 Likes
769

Alternatively, pick up any class which has atleast 3 place holders (like message class 00 and number 398). Simply issue your message as

MESSAGE I398(00) with 'Order#' itab-vbeln 'is a split order'.