2007 Sep 13 10:52 PM
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
2007 Sep 13 11:42 PM
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
2007 Sep 13 11:42 PM
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
2007 Sep 14 9:25 PM
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
2007 Sep 15 2:16 PM
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