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

ABAP Debug

Former Member
0 Likes
519

hi all,

I have been given a task to debug a problem in SAP ERP. If we run a SAP transaction, we get information message which is from custom message class. I am required locate & remove that message. I debugged the transaction but not able to locate the message. When in Debug mode & I click F8, the screen is displayed properly but no message.

Can you please suggest how to address this issue?

thanks,

LSP

3 REPLIES 3
Read only

Former Member
0 Likes
470

Try doing a "Where used" on the message.

Rob

Read only

Former Member
0 Likes
470

goto Se91 -> enter message class -> display

Keep the cursor on message number -> click on where used list,now it shows list of programs.

keep the break point the all programs and run your transaction,now it stops there.

if you do not get any program if you use where used list.

then run your transaction with debugging using /H ,create watch point ,use varaible is message number,input is message class

comparisin value is =

Now it stops exact point

Thanks

Seshu

Read only

0 Likes
470

Hi,

in these types of scenarios when you get the error message please double click on it ,then a pop up will be dipalyed with the error message as wel as message class and number.Take this and start ur debugging again.place a break point at this message ,it should stop at that message.

if the message is called in a different program that is called from urs it may not stop.

then its better to go to se91 and make a where used and put a break point according to ur process area.

Regards,

sasi