2007 Jul 19 5:55 AM
2007 Jul 19 6:02 AM
Hi
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
SMARTFORMS DEBUGGING
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
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Jul 19 5:58 AM
hi
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
regards
ravish
2007 Jul 19 5:58 AM
In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap
Break Point.
Reward points if useful
2007 Jul 19 5:59 AM
Hi,
Check This link:
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/content.htm
Regards,
Himanshu
2007 Jul 19 5:59 AM
HI
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.
1)goto tcode SFTRACE --> click "trace on"
2) Get the function module name and set break points in function module name.
Read More here.
http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
or
Try with this:
In the form Utilities->debugger / RSTXDBUG FM for debugging
or
You can set break "sy-uname" within your smart form code sections and this will take you to the code sections in the function module of the smart form when the break point is reached. This way by timing the break points you can look at the code of the various nodes of your smart form.
BREAK-POINT can be used only in own program lines in smartform - not very helpful because it always stops until removed and generated again.
Or you can use transaction SMARTFORM_TRACE.
1. use transaction SMARTFORM_TRACE
2. in the SMARTFORMS, use utilities to show the function name. You can analyze this function in SE37 and set dynamic breakpoints as required. Lok at the SMARTFORM_TRACE to decide where to set break points.
or
SMARTFORMS DEBUGGING
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
Ravish Garg
<b>
Reward if useful</b>
2007 Jul 19 6:00 AM
Hi,
You can debug your code in smartform using following steps.
Fisrt right click on ur main window->create->flow logic->program lines-> then u will get text editor there u have write BREAK POINT. Then execute ur form then it will go to debugg mode.
Reward me a points if it is use full answer.
2007 Jul 19 6:02 AM
Hi
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
SMARTFORMS DEBUGGING
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
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Jul 19 6:04 AM
Hi,
SMARTFORMS DEBUGGING
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
Reward if useful
Thanks