2005 Oct 05 7:40 AM
Hi,
experts please explain how do debug an report and script.
regards,
vijay.
2005 Oct 05 7:47 AM
Hi,
For report there are many ways.
1. Take tcode SE38 and go inside the report. On the application toolbar you can find a button called 'Stop'. Using this you can put a soft break point. Next time when the program runs, it will stop there.
2. From the selection screen of the report, in the command box type '/h' and then press execute. This will take you to debugging.
3. Hard coding break point. Insert the command BREAK-POINT or BREAK <username> in your code.
For debugging SAPScript. Go to SE71 and take the menu Utilities -> Activate Debugger. This will activate script debugging.
Kindly assign points if this is helpful.
Cheers
Vinod
Hi,
For report there are many ways.
1. Take tcode SE38 and go inside the report. On the application toolbar you can find a button called 'Stop'. Using this you can put a soft break point. Next time when the program runs, it will stop there.
2. From the selection screen of the report, in the command box type '/h' and then press execute. This will take you to debugging.
3. Hard coding break point. Insert the command BREAK-POINT or BREAK <username> in your code.
For debugging SAPScript. Go to SE71 and take the menu Utilities -> Activate Debugger. This will activate script debugging.
Kindly assign points if this is helpful.
Cheers
Vinod
2005 Oct 05 7:47 AM
Hi,
For report there are many ways.
1. Take tcode SE38 and go inside the report. On the application toolbar you can find a button called 'Stop'. Using this you can put a soft break point. Next time when the program runs, it will stop there.
2. From the selection screen of the report, in the command box type '/h' and then press execute. This will take you to debugging.
3. Hard coding break point. Insert the command BREAK-POINT or BREAK <username> in your code.
For debugging SAPScript. Go to SE71 and take the menu Utilities -> Activate Debugger. This will activate script debugging.
Kindly assign points if this is helpful.
Cheers
Vinod
2005 Oct 05 7:51 AM
Hi,
Can I know report means Script print prog or normal report.
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.
2005 Oct 05 9:08 AM
simple way is enter /H in comman prompt and enter.
after that whatever you will do , will be debug mode
hope this help
regards
2005 Oct 05 9:14 AM
Hi
Enter /H in the command prompt.
Then press F5 for line by line debugging.
F6 for skiping the function modules.
F7 for exiting from a function.
F8 to execute the program inside a debugging mode.
Regards,
Baburaj
2005 Oct 05 11:01 AM
Hi,
Check this link
http://www.sapdevelopment.co.uk/tips/debug/debug_popup.htm
To debug a program in foreground just enter the data in the selction screen and then before pressign F8 enter /H then enter> F8.
U can also write
<b>break <userid></b>in ur code where u want to break.
OR u can use <b>
BREAK-POINT</b>. in ur code.
Or u can go to ur program and u can see a stop button place the cursor in the line where u want to break and press the button.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |