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

program is not going to debugger.

Former Member
0 Likes
2,038

hey folks,

i am facing one very strange problem, on the selection screen of a report after entering the selection criteria if i try debugging the program by entering /h it doesn't takes me to the debugger, although i get the message 'debugger switched on' , instead it executes the report. i have tried using the break-point statement in the code and used breakpoints in all the necessary places....but it simply doent work.....please help me out...thanks

11 REPLIES 11
Read only

Former Member
0 Likes
1,702

Hi Kapil,

Though this is a very strange scenario.

Can you try to insert an infinite loop inside the program. Then schedule it, and

when the process stops .. Debug it.

Regards,

Sameer

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,702

Can you post your coding please.

Regards

Rich Heilman

Read only

0 Likes
1,702

Rich,

It is a pretty simple piece of code, kinda standard format that we use to build reports ie with data declaration, tables, variables. selection screen definition, and then start of selection event which has the required performs, the complete code executes and i am sure about it because i have tried writing WRITE statements inside start of selection event and verious performs too and all the write statements were executed as desired.

thanks

Read only

0 Likes
1,702

Make sure your program is active.

Thanks,

Narayan

Read only

0 Likes
1,702

Narayanan,

The program is very much active, and i guess it really should not make a difference.

thanks

Read only

0 Likes
1,702

Hi Kapil,

Looks like debugger flag is not set up ? log off the system and log in again.

try now..

when you se38 -> enter program name -> system ->utilities -> debug abap

You should get it now

Thanks

Seshu

Read only

0 Likes
1,702

Rich,

Can you help with this solution now.

Read only

0 Likes
1,702

It doesn't appear that the system will allow you to set it back to "Blank", but there is nothing wrong with setting as "Customer Production Program". If you want it to be blank, you will need to copy out the source, delete the program and re-create it.

Regards,

RIch Heilman

Read only

0 Likes
1,702

Hi

If your program is SYSTEM PROGRAM you need to active the flag for system debugging to run that program in debug mode.

So before running your program, run something in debug mode and go to Setting->System debugging

Max

Read only

Former Member
0 Likes
1,702

Hi Kapil,

Try to debug some other program, if you are not able to do that then Please check if you have debugger authorization.

Regards,

Goutham

Read only

Former Member
0 Likes
1,702

Hi All,

I did got what the problem is,..

I have selected the Program type as "SYSTEM Program" and we cant debug system programs..

but i need to change it back to BLANK.

but the system doesn't allow me to do so. Is there any way to do it without Deleting and Creating again.

Regards,

Kapil