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

MESSAGE ID

Former Member
0 Likes
20,941

HI ALL ,

I HAD WRITEN CODE LIKE THIS

MESSAGE E001 WITH WA_FINAL-MATNR.

THE FIELD WA_FINAL-MATNR VALUE IS NOT DISPLAYING.

CAN ANY PLZ GUIDE PROPERLY

THANKS

1 ACCEPTED SOLUTION
Read only

Former Member
7,522

1. SE91, create a message using & as placeholder. No message class? Create one either.

2. MESSAGE tnnn(id) WITH v1 v2 v3 v4.

t is message type(i, s, w, e, a, x);

nnn is message number

id is message class

v1 .. v4 are four fields to replace the placeholder in the message text

3. Or, you can use alternative syntax, MESSAGE ID id TYPE t Number nnn WITH v1 v2 v3 v4

6 REPLIES 6
Read only

Former Member
0 Likes
7,522

first start writing in lowercase letters

second use F1 on message command in SE38

Read only

Former Member
0 Likes
7,522

And also please format your code. using '<' and '>'.

Rob

Read only

former_member156446
Active Contributor
0 Likes
7,522
MESSAGE E000(ZZ) WITH 'Original plant is mandatory'.
Read only

Former Member
0 Likes
7,522

Hi

You need to mention the message class if you have not specified your message class in the report.

Pass the value like this.

MESSAGE I001(ZZ) WITH MARA-MATNR.

Thanks,

Chidanand

Read only

Former Member
7,523

1. SE91, create a message using & as placeholder. No message class? Create one either.

2. MESSAGE tnnn(id) WITH v1 v2 v3 v4.

t is message type(i, s, w, e, a, x);

nnn is message number

id is message class

v1 .. v4 are four fields to replace the placeholder in the message text

3. Or, you can use alternative syntax, MESSAGE ID id TYPE t Number nnn WITH v1 v2 v3 v4

Read only

matt
Active Contributor
0 Likes
7,522

What is the message class, and how is message 001 defined? If it doesn't have & or &1 then it won't work. Alternatively, wa_final-matnr is empty

matt