‎2007 Jan 31 2:14 PM
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
‎2007 Jan 31 2:18 PM
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
‎2007 Jan 31 2:15 PM
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
‎2007 Jan 31 2:17 PM
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.
‎2007 Jan 31 2:18 PM
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
‎2007 Feb 02 9:24 AM
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>
‎2007 Jan 31 2:48 PM
Double click on the error message line (or) Use GOTO Line command by right clicking and entering line number.
Thanks,
Santosh