2007 Jul 16 10:19 AM
do we debug print program or forms in SAP SCRIPTS?
2007 Jul 16 10:25 AM
Hi
That depends on your requirement. If you want to debug through print program follow this
First we need to put Break point in Print program where ever you want to stop the execution.
through coding you can follow this
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.
We have standard report for debugging SAP script i.e is RSTXDBUG.
Reward all helpfull answers
Regards
Pavan
2007 Jul 16 10:21 AM
Its depend on the issue and your requirement.
You can debug the same.
Regards,
Atish
2007 Jul 16 10:22 AM
Hi,
goto transaction SE71.
Utilities->Activate Debugger.
***do reward if usefull
vijay
2007 Jul 16 10:22 AM
IF u want to debug the scripts in SE71 Do this.
In Utilities--> Activate Debugger
Vasanth
2007 Jul 16 10:22 AM
hi
u can debug both based on yr requirement.
reward if helpful
2007 Jul 16 10:22 AM
Hi veerendra
yes we can
for form goto to the option
Utilities->Activate Debugger on
for print program it is normal set break pont
regards
sandhya
2007 Jul 16 10:22 AM
Hello,
For checking the sample out put of the script that we are developing,
open ur program in se71, in the menu-utilities->Printing test.
Reward all usefull answers.
Regards,
Rakesh
2007 Jul 16 10:23 AM
Hi,
<i><b>To Debug Sapscript:</b></i>
1) Goto transaction <b>SE71</b> and put the sapscript name and then goto <b>Utilities</b> -> <b>Activate Debugger</b>. After that run the Driver program and it will bring the Sapscript to Debug mode
Regards,
Padmam.
2007 Jul 16 10:25 AM
Hi,
Select the update debugging option in the ABAP debugging settings.
Regards
Arun
2007 Jul 16 10:25 AM
Hi
That depends on your requirement. If you want to debug through print program follow this
First we need to put Break point in Print program where ever you want to stop the execution.
through coding you can follow this
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.
We have standard report for debugging SAP script i.e is RSTXDBUG.
Reward all helpfull answers
Regards
Pavan
2007 Jul 16 10:26 AM
Hi
Welcome to SDN
see this for your query
SMARTFORMS DEBUGGING
For smartforms debugging you can do this.
1. Execute the smartform (execute button in SMARTFORMS transaction)
2. Take the generated function module and display it in SE80.
3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.
Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis
Tcode - SFTRACE
<b>SCRIPT</b>
There are 2 separate kinds of debugging available when you try to debug scripts.
1. Debugging the print program : This is the normal debugging we do for our report programs.
2. Debugging the script itself : You Can debug a SAP Script by activating debugger in two ways:
a .In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.
b. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
refer to the link below
http://www.howforge.com/how-to-debugging-sapscript-form
Look at the BLOG here, it is well explained
/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging
<b>Reward points for useful Answers</b>
Regards
Anji