10-14-2008 12:47 PM
Hey
i hav an doubt...
suppose to any Zprogram am executing in background mode and during this i want to debug..
is it possible ??
I want to Debug my Bank Payment Advice Script as well as its Driver program used in Cheque Printing
can u tell me how to debug it ?
evenif am putting break-point its not happening..B'coz we are generating spool in F110 and its run in background mode...
Is there no solution to this ????
Thanks in Advance
SATYA
10-14-2008 12:50 PM
Hello ,
Yes, it is possible to debug a background job.
Select the job from SM37 and enter JDBG in command prompt.
It will take you to debug mode.
Note: All the databse updates will happen again , so be careful about this .
Regards,
Sandeep
10-14-2008 12:50 PM
Hello ,
Yes, it is possible to debug a background job.
Select the job from SM37 and enter JDBG in command prompt.
It will take you to debug mode.
Note: All the databse updates will happen again , so be careful about this .
Regards,
Sandeep
10-14-2008 12:54 PM
Hi,
If you want to debug in back ground write a statement
break-point.
in your progam where ever you want.
I hope this may help you.
Thanks
Narsim.Aeda
10-14-2008 12:53 PM
Hi,
First you need to put break point in printprogram where ever you want to stop the execution.
After in se71 give your formname and go to Utilities->ActivateDebugger
Then go to your transaction like VF03(For invoice or credit memo ) to see the print preview execute it .
When You execute it form debugging will get activated and you can see your form execution step by step .
10-15-2008 5:29 AM
>
> Hi,
>
> First you need to put break point in printprogram where ever you want to stop the execution.
>
> After in se71 give your formname and go to Utilities->ActivateDebugger
>
> Then go to your transaction like VF03(For invoice or credit memo ) to see the print preview execute it .
>
> When You execute it form debugging will get activated and you can see your form execution step by step .
Dear hari Hara,
i know this process
but it will not work in background processing
Edited by: Satyabrata sahoo on Oct 15, 2008 9:59 AM
10-14-2008 12:55 PM
Hi,
GOTO SM51.
There choose the server in which ur background program is running. Place the cursor on the line which shows your program. Choose the menu option 'Debugging'.
Depending on your version the menu option is in different places.
If you have the correct authorizations, a window pop will pop up, with your program in the debugger.
Regards,
Omkar.
10-15-2008 5:45 AM
Hi,
You have to debug the Background Job by using the TCODE JDBG......
10-15-2008 6:23 AM
Hi
Create a infinite loop in your program.
DATA flag TYPE i.
WHILE flag EQ 1.
ENDWHILE.
And go to SM50.
Select the program you want to debug.
Go to menu path program/session>program>debugging
There change the flag value as 1 and debug...