on 07-10-2007 4:43 PM
HI
THIS IS NARESH
I WANT TO KNOW HOW WE CAN DEBUG A SAPSCRIPT AND SMARTFORMS
PLEASE ANY BODY CAN EXPLAIN ME HOW WE CAN DO , AND SEND ME THE DOCUMENTS ON THIS
TO nareshnelapatla@gmail.com
regards
naresh
Hi,
<b>SCRIPT DEBUGGING</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>SMARTFORMS DEBUGGING</b>
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
Regards,
Priyanka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1)SAPScripts: goto SE71, utilities --> activate debugger. Once you execute you will be taken to debugging mode.
2) Smart Forms: Different ways we can debug smart forms.
1)goto tcode SFTRACE --> click "trace on"
2) Get the function module name and set break points in function module name.
3) Set break-point in program lines in your smart form.
Reward points if useful.
Regards,
SaiRam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
<b>SCRIPT</b>
by using the standard program <b>RSTXDBUG</b> we can debug the script.
before debugging the script form we can activate the debugger for that one you execute the <b>RSTXDBUG</b> program.
<b>or</b>
1) goto SE71
2) Enter form name
3) here select option <b>Utilities->ACTIVATE DEBUGGER</b>
then execute the script from the Application Transaction.
<b>SMARTFORM</b>
we use the PROGRAM LINES node to execute the abap program code,For debugging the Smartforms we keep a BREAK-POINT in the PROGRAM LINES node of the SMARTFORM.
regards,
Ashok Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
SCRIPT
from SE71 enter form name
from Menu Utilities->ACTIVATE DEBUGGER
then execute the script from the Application Transaction
it will stop in the script and check for the Values you need
SMARTFORM
Smartforms keep a break point in the Main Program or
IN the PROGRAM LINES of the SMARTFORM
write BREAK-POINT, where ever you need
execute the smartform it will stop there.
<b>Reward points for useful Answers</b>
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.