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: 

Messsage pop up.

Former Member
0 Kudos

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

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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

5 REPLIES 5

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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

0 Kudos

Thanks Rich.

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

Thanks for the suggestions.

0 Kudos

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

0 Kudos

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.

0 Kudos

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'.