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

Error Message Confusion?

Former Member
0 Likes
627

I created an ABAP that used syntax "MESSAGE e007". Naturally the message is in a message class. When I scheduled the job in batch, each time it hits this the status is cancelled(red).

However, when I change the message syntax to "MESSAGE w007" or "MESSAGE s007". It is still a red status.I need it to go to green in this condition. Why is it still red result when I changed to s007 or w007 in place of e007?

Thank-You.

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
583

That's interesting. I wouldn't think that there would be a problem here. Is your program activated? Maybe the scheduling job is using the active version where your message is still an "E" message.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
583

hi,

message w007 is for warining.check 007 what it is?and tell me where yu ar using this meaasge in yu program

Read only

Former Member
0 Likes
583

Are you sure that the program is only displaying your success or warning message? Is there another (error message) coming after this?

You can see all of this in the job log.

Rob

Read only

Former Member
0 Likes
583

Hi,

you can ignore this messages when u run in batch if it sounds good with u .

if sy-batch <> ' '. " Just for on-line

give message

endif.

Cheers