Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to get > 4 fileds in throwing a MESSAGE ??

Hi Experts,

my code:

<i><b> MESSAGE e000(z1) WITH 'Missing material' xlips-matnr

'batch' xlips-charg.</b></i>

I wuld like to hv:

<i><b>MESSAGE e000(z1) WITH 'Missing material' xlips-matnr

'batch' xlips-charg

'plant' xlips-werks.</b></i>

Issue: system saying that, ONLY 4 fileds r allowed for WITH clause in Message!!

Pls let me know that, Wht is the alternative to get the same result?

thanq.

Tags:
Former Member replied

Try the following code:

data: l_msg(250) type c.
concatenate 'Missing material' 
            xlips-matnr
            'batch' 
            xlips-charg
            'plant' 
            xlips-werks
            into l_msg separated by space.
message l_msg type 'E'.

Works in ECC5 or ECC6, not sure about earlier versions.

Andrew

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question