<b>1.sap scripts</b>
<b>This can done in two ways:</b>
In the form <b>Utilities->debugger / RSTXDBUG FM for debugging script</b>
The <b>Procedure for debugging SAP script is:</b>
Generally SAP script contains the Layout and corresponding print program.
First go to <b>SE71 and enter ur script name.</b> In the same screen go to Utilities->click on activate debugger option.
Now go to <b>SE 38 and enter ur Print Program name</b> and execute the program.
Now you can debug the script Page wise and window wise.
<b>2. sap smartforms</b>
<b>1</b>.In <b>the Smartform</b>, create a Code Node and within the Code Node you can hardcode a normal abap
Break Point.
<b>2</b>.Smart debugging:--> Execute the smartform.It will open a FM in se37 screen.
--> Press Display.
--> Press find(CTRL+F).
--> Enter command here at which you want to put the break point.
--> Select the radio button 'in main program'.It will open the point at which you want to put the breakpoint.
--> Put the breakpoint here and execute the smartform again.It will stop at the point where you put the breakpoint.
On activating smartform it will generate one function moudle, take that name and go to SE37 , Put your generated FM name and display.. check the code where you want debug.. place the break point there .. come back and then execute your dirver program .. it will stop you at your break point.
<b>3.</b>
1.place SFTRACE inplace where we enter T_CODE and press ENTER.
after that press F8.
2 ./H
3 /SH
4.after generating the function module there is a button DEBUGGING
reward points if it is usefull .....
Girish