2007 Mar 29 12:02 PM
Hi experts ,
Can any of you please explain how to debug the code inside a smart form?
Thanks in advance
regards,
Ashwin.
2007 Mar 29 12:07 PM
hi
hard code ' break-point' inside the SF code & excute the driver program
this will help u...
if ...
reward..
reg
veera
Hi experts ,
Can any of you please explain how to debug the code inside a smart form?
Thanks in advance
regards,
Ashwin.
2007 Mar 29 12:04 PM
Hi Ashwin,
You must create a Program lines element at the location where you want to start the debugging and create a hard break-point.
break <your user name..Regards,
Ravi
2007 Mar 29 12:06 PM
hi dude,
put a break-point in the program lines of a particular node or in the routines of the layout wherever it is required.
Regards,
alson.
2007 Mar 29 12:07 PM
hi
hard code ' break-point' inside the SF code & excute the driver program
this will help u...
if ...
reward..
reg
veera
2007 Mar 29 12:10 PM
Hi,
Can you please elaborate on hard coding break point,I am not able to get it ?
Thanks in advance
regards
ashwin.
2007 Mar 29 12:13 PM
Another way is to execute the smartform.It will go to FM screen.Go to display.Search here the line on which you want to put the breakpoint.Put the break point and execute your program
2007 Mar 29 12:17 PM
hi ..
did u have codding in smart form ....
then simple ' write ' BREAK-POINT' where u want to debug....
excute ...
regards
veera
2007 Mar 29 12:11 PM
Hi Ashwin,
Create a Program Lines. Insert BREAK-POINT there and activate the smartform.
After activation run the driver program and it will halt the the point where you have inserted the break point.
Thanks and Regards,
Kunjal
2007 Mar 29 12:15 PM
Hi Ashwin,
Check this info.
For debugging -
1. Write BREAK POINT in the code window.
2. Put a break point on the call function in the driver program
3. Put a break point in the generated Function module.
OR
1) DEBUG Smartform:
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.
Read More here.
http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
OR
Four ways you can debugging.....
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
Test smartform:
1.after creating FM direct press F8 or Excute(button) then select print preview.
Hope this resolves your query.
Reward all the helpful answers.
Regards
2007 Mar 29 12:18 PM
u can use sftrace transaction
Message was edited by:
venkata k
2007 Mar 29 12:21 PM
2007 Mar 29 12:24 PM
Hi Aswin,
U just simple write 'Break-point' in ur smart form code where ever u needed and run the driver program.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |