2008 Jun 26 8:35 PM
Hi all,
can any body say how to debug the script and smartform
Thands and Regards
2008 Jun 26 8:38 PM
hi friend
before posting ur query , just search in the forum itself there are many threads related to ur post,
********
This can done in two ways:
First u need to active debugging in scripts. then run the driver program.
First goto SE71 initial screen and enter the form name. Goto Menu Path Utilities --> Activate Debugger. and now u run the driver program. Now u get the script editor in debugging mode.
Secondly,
Program is RSTXDBUG.
Now go to SE 38 and enter ur Print Program name and execute the program.
Now you can debug the script Page wise and window wise.
****
2) use SFTRACE transaction to debug smartforms.
2008 Jun 27 5:13 AM
Take the smartform program
/h (in debugging mode)
Put break-point at statement CALL
one you reach the the CALL FUNCTION sfname (smartform name returned from
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' )
Click on Overview tab in debugging mode
In the Name if you double click, you will directly reach that code,
Put the break-point. then you can reach that code during debugging.
2008 Jun 27 5:21 AM
Hi,
1)go to se71-> utilities -> activate debugger.
or RSTXDBUG for debugging script .
2)SFTRACE can be used for debugging SMARTFORMS
http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
or
IN the PROGRAM LINES of the SMARTFORM
write BREAK-POINT
Regards
Kiran Sure
2008 Jun 27 7:08 AM
Hi mohd noor,
For debugging SAP script
1. go to se71,give your form name.
2. go to menu ,utilities->activate debugger
For debugging smart form
1.give the command break-point <Your User name>.
Regards,
Charumathi.B
2008 Jun 27 1:13 PM
hi
You can debug a script in two ways one is goto se71 and utilities-->activate debugger or
goto se38 and execute the program RSTXDBUG in both the cases the script will open in debug mode
2008 Jun 27 2:14 PM
hi,
in the initial screen on se71 go for UTILITIES and then ACTIVATE DEBUGGER and while testing the form u can go in the debug mode and if u want to cancel u can do it from there.
with luck,
pritam.
2008 Jun 27 2:26 PM
Hello dear..
*DEBUGGING SAP SCRIPTS*
This can done in two ways:
1. In the form Utilities->debugger / RSTXDBUG FM for debugging script
2.The Procedure for debugging SAP script is:
Generally SAP script contains the Layout and corresponding print program. First go to SE71 and enter ur script name. In the same screen go to Utilities->click on activate debugger option. Now go to SE 38 and enter ur Print Program name and execute the program. Now you can debug the script Page wise and window wise.
After that you need to go to your transaction like
VF03/fbz5/.. and execute it .
DEBUGGING SMARTFORMS
Place the break-point in program lines or in function module of the smartform or SFTRACE.
1) One way to debug smartform is to debug the Function Module of that smartforms.
If you want to debug particular smartform node that the solution would be,
insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.
So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
2) SFTRACE can be used for debugging SMARTFORMS.
Best of luck,
Bhumika