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

Stop at error in SAP new debuggger

Former Member
0 Likes
2,882

hello friends,

I am having error in creating a sales order. In debugging, Can I stop at where the error is occuring.

I am using new debugger. I want to stop cursor at the point where it is creating a error.

thank u .

madhu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,701

You can create watch point based on message number and message id.

get the message number and message id when you double click on message.

Now goto SE91 -> enter message class -> keep the cursor on message number -> now click on where used list,here it shows programs list ,keep the break point all area's ,now run your transaction,now it stops exact there.

if not then run your transaction with /h ,create watch point ,variable is message id ,value is message number ,operator is = ,now it stops exact place.

Thanks

Seshu

hello friends,

I am having error in creating a sales order. In debugging, Can I stop at where the error is occuring.

I am using new debugger. I want to stop cursor at the point where it is creating a error.

thank u .

madhu

3 REPLIES 3
Read only

Former Member
0 Likes
1,702

You can create watch point based on message number and message id.

get the message number and message id when you double click on message.

Now goto SE91 -> enter message class -> keep the cursor on message number -> now click on where used list,here it shows programs list ,keep the break point all area's ,now run your transaction,now it stops exact there.

if not then run your transaction with /h ,create watch point ,variable is message id ,value is message number ,operator is = ,now it stops exact place.

Thanks

Seshu

Read only

0 Likes
1,701

hi seshu,

thank you for ur reply, this peice of information is very helpful. I could stop at the point. my question is answered !!!

However, i have one 2 doubts .

1) Going SE91 ---> >>>> After finding the list of programs. How Can I set Stop point on all programs ?? I did manually by click each program and set a stop point at message ID. Is it right ?? or is there a simpler way to do it ..

2) Creating Watch point .. You suggested to enter message ID as variable but I only know that message ID value is V1, I dont know the variable for it, program I am debugging is SAPMV45A. it is very big std sap program, i dont know which variable is used for message id, number ..etc ..

please let me know these ..

thanks for your help. points awarded.

regards thanks

madhu

Read only

0 Likes
1,701

1) Going SE91 ---> >>>> After finding the list of programs. How Can I set Stop point on all programs ?? I did manually by click each program and set a stop point at message ID. Is it right ?? or is there a simpler way to do it ..

Answer : Manually going by each program and set the break point ,there is not shortest way.

2) Creating Watch point .. You suggested to enter message ID as variable but I only know that message ID value is V1, I dont know the variable for it, program I am debugging is SAPMV45A. it is very big std sap program, i dont know which variable is used for message id, number ..etc ..

You said that you want to stop at error message ,when you get error message ,just double click on message -> tech help ..

Here it shows Message id and message number

Like V1 250..

use this information to create watch point

Thanks

Seshu