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

Determine debug status in ABAP

Former Member
0 Likes
521

Is there a way to determine that a program is being run in debug mode?

I would like to be able to use transaction /h and then subsequently run a program and the program act differently depending on whether the debug method is being used.

I though system field SY-DEBUG would change but it does not appear to be different if the debug is run or not.

My end goal is to be able to access Bex Customer Exits when the report is run in a web application. Pehaps there is a way to activate debugging for this.

Is there a way to determine that a program is being run in debug mode?

I would like to be able to use transaction /h and then subsequently run a program and the program act differently depending on whether the debug method is being used.

I though system field SY-DEBUG would change but it does not appear to be different if the debug is run or not.

My end goal is to be able to access Bex Customer Exits when the report is run in a web application. Pehaps there is a way to activate debugging for this.

1 REPLY 1
Read only

Former Member
0 Likes
436

Hi Ross,

Have you tried External Debugging at all to debug your program?

Cheers,

Neil.