02-20-2006 10:50 AM
Dear All,
How to Debug SAP Script?
regards,
Dharmesh
02-20-2006 10:52 AM
Hi,
run se71, then choose Utilities -> Activate Debugger
Regards, Manuel
02-20-2006 10:53 AM
Hi
Run trx SE71 and here go to: Utilities-> Activate Debugger
After run the print.
Max
02-20-2006 10:56 AM
Hi,
Script:In SE71 give your form name and in Utilities-->Active debugger.
Then put a break point in your print prog where ever you want to stop it.
After that you need to go to your transaction like VF03/../..etc for Invoice you need to execute it by giving Outtype.
Then your print prog and form will debugg step by step.
Thanks.
If this helps you reward with points.
02-20-2006 10:56 AM
Dear,
In se71 use Utilities-> Activate Debugger
Regards,
Vikas
02-20-2006 11:25 AM
hi,
you can run this program <b>RSTXDBUG</b> and also you can able to activate the debugger.
regards
vijay
02-20-2006 12:17 PM
Hi,
Use the following Links
http://help.sap.com/saphelp_erp2005/helpdata/en/ee/a3c798d59b11d4b2e90050dadfb92b/frameset.htm
Regards,
Gayathri
02-20-2006 12:24 PM
Hi,
They are two ways to debug the SAPScript.
1). Use Tools - Word Processing - Layout Set (SE71). Enter name of layout set and then Utilities - Activate Debugger.
It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.
2). Another way to set the SAPScript debugger is to run program RSTXDBUG.
When you debug Print program it is same as you debug any other ABAP program. While when you debug SAPScript, you actually debug the code ( scripting) you have written SAPScript Form.
Kindly reward points by clicking the star on the left of reply,if it helps.
02-20-2006 1:01 PM
To debug SAP Script program,the easy way of the doing it is as follows.
1.Go to script program and put a breakpoint where you want to stop the debugger.
2.Go the transaction or layout and put it in the debugging mode by either entering /h in command area and after that give the output type and try to execute the layout.
Now,the debugger will stop at the intended place and you will be able to execute the program.
Most important thing to note is in case of SAP Script , both the script layout and the program should be in debugging mode.
Please do reward me if it helps to understand and solve your problem.
Regards,
Vishwakarma.