‎2007 Mar 13 3:00 AM
Hi All,
I have a sap script and driver program.
The sap script contains layout and PERFORM statements.
The Driver program contains FORM statements.
Now i need to check the code through F110 screens.
The print from F110 screen must use sap script and generate the hardcopy.
When i give print option, the job is scheduled in background.
Hence i am unable to debug the process....
How to debug the sap script and driver program in such scenarios...???
Please help me ...
Regards
Pavan
‎2007 Mar 13 6:03 AM
HI
Pavan..
DEBUT SAPSCRIPT->
PROCESS1-
activate the abap debug from the forma layout from menu system -- > utilities --> debug abap ,
tehn go into the print progrma and execute teh print program in the execute the program from theri and the script opens in the debug mode.
PROCESS2-
First we need to put Break point in Print program where ever you want to stop the execution.
After in SE71 give your form name and go to Utilities-->Active De-bugger.
Then go to your transcation like VF03(for Invoice or Credit memo) etc to see the print preview or print the form execute it.
When you execute it the the form Debugging will get activated and you can see your Form execution step by step.
I hope this will helps you..
If it helps reward with points
Regards Rk
‎2007 Mar 13 3:47 AM
hi Pavan,
Try putting a break point in the mentioned form routine....it will work.
Also, to debugg the SAP Script, choose the option <b>activate debugger</b>, from SE71, entering the form name and choosing the option from<b> utilities menu</b>.
Hope this helps,
Sajan Joseph.
‎2007 Mar 13 5:59 AM
Hi,
If you are not giving print from Transaction ,
Just put the breakpoint in the perform you want to debug .
Moment when you run it , control will stop here .
However if you want to debug script , then Turn on Activate Debugger in Se71 for your script , control will come to the script and then you can debug .
Thanks .
‎2007 Mar 13 6:03 AM
HI
Pavan..
DEBUT SAPSCRIPT->
PROCESS1-
activate the abap debug from the forma layout from menu system -- > utilities --> debug abap ,
tehn go into the print progrma and execute teh print program in the execute the program from theri and the script opens in the debug mode.
PROCESS2-
First we need to put Break point in Print program where ever you want to stop the execution.
After in SE71 give your form name and go to Utilities-->Active De-bugger.
Then go to your transcation like VF03(for Invoice or Credit memo) etc to see the print preview or print the form execute it.
When you execute it the the form Debugging will get activated and you can see your Form execution step by step.
I hope this will helps you..
If it helps reward with points
Regards Rk