‎2007 Jan 24 7:02 AM
Hi can any one clear me one doubt can we activate debugger or can we go to debugging mode when we use program subroutine
‎2007 Jan 24 7:14 AM
‎2007 Jan 24 7:10 AM
‎2007 Jan 24 7:22 AM
while creating a program we have to select various options in which it will ask for type in which we are having
Executable Program
Include Program
.
.
.
subroutine pool
in which i had asked if we had selected subroutine pool while creating a program after to debug that program what should i do??
‎2007 Jan 24 7:27 AM
write /h on where u specify tcode and press F8.debugger 'll switch on.
‎2007 Jan 24 7:35 AM
No it was directly going to debugging mode but it was not selecting what data i want is there is any alternate
‎2007 Jan 24 8:35 AM
Hi Pavan ,
A subroutine pool is a program which is used to define subroutines whicah can be later called by any program , so the debugging is the same , go to the subroutine pool program and set a breakpoint at the statement where you want to break.
Here is a sample code as to how we call a subroutine in another program
<b>perform ADD_TWO_NO in program ZAR_TEST_1.</b>
here ZAR_TEST_1 is my subroutine pool
i put a breakpoint at a statement in the subroutine ADD_TWO_NO and the program stopped there.
do revert back in case of queries.
Regards
Arun
‎2007 Jan 24 7:14 AM
‎2007 Jan 24 7:20 AM
Hello,
If it is a zprogram just write on the subrutine:
...
break yourUsuer.
....
then..
Activate
In case it isnt a Z, go the line and put a break point in the client you are testing,
Put the cursor in the line you want to stop, the in the Utilities mode -> breakpont -> set/delete.
Then run the program.
Or to do a full debbugin, just /h on the transaction input field.
Hope this helps,
Gabriel.
‎2007 Jan 24 7:20 AM
Put a breakpoint at the begining of the Subroutine that you want to debug and then execute the program. The program execution will stop at the breakpoint and you would find yourself in the debugging mode from that point onwards.
‎2007 Jan 24 7:21 AM
hi,
Place a breakpoint at the subroutine and execute the program or use /h
‎2007 Jan 24 7:39 AM
Hi,
Put a break point on the first executable line in the subroutine-pool and execute your program.
Debugger will appear when the subroutine pool is called.
Reward points if found useful...!
Cheera
Abhishek