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

Find Error Message Line

Former Member
0 Likes
1,482

Hi friends:

When execute a program, got an error message in status line.

How to go to the right line of source code where the message occurs?

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
957

Hi,

Before you execute, enter /h and execute.

then Chose from Menu,

Break Point->Break Point at-> Statement.

Then in the pop up, give "MESSAGE" and press enter.

Press f8 to continue to the message.

Regards,

Ravi

5 REPLIES 5
Read only

Former Member
0 Likes
957

Double click on the message and get the message ID and number. Then in debug mode again set a watchpoint at the statment

SY-MSGNO = '???' - Message Number

Read only

Former Member
0 Likes
957

check what is the message...now goto SE91 and give the message class used in the program and check the message no here....

goto ur program and check where this number has been used....then u can check in what cases will this message be triggered.

Read only

Former Member
0 Likes
958

Hi,

Before you execute, enter /h and execute.

then Chose from Menu,

Break Point->Break Point at-> Statement.

Then in the pop up, give "MESSAGE" and press enter.

Press f8 to continue to the message.

Regards,

Ravi

Read only

0 Likes
957

Great. Right the way I'm looking for.

<i>Hi,

Before you execute, enter /h and execute.

then Chose from Menu,

Break Point->Break Point at-> Statement.

Then in the pop up, give "MESSAGE" and press enter.

Press f8 to continue to the message.

Regards,

Ravi</i>

Read only

Former Member
0 Likes
957

Double click on the error message line (or) Use GOTO Line command by right clicking and entering line number.

Thanks,

Santosh