‎2007 Dec 10 10:58 AM
‎2007 Dec 10 11:07 AM
Hi Akash,
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 Smart form:
1) One way to debug smart form is to debug the Function Module of that smart forms.
If you want to debug particular smart form 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 smart forms, 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
First go to smart form transaction and then press F8, then the windows change to the function of the smart form, then click in display and then click in find, and choose the control program and find a part of the source code and put a break point.
OR
Four ways you can debugging.....
1. place SFTRACE in place 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
Thanks,
Vinay
‎2007 Dec 10 11:01 AM
Please search the forum for the answer to this often-asked question.
‎2007 Dec 10 11:07 AM
Hi Akash,
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 Smart form:
1) One way to debug smart form is to debug the Function Module of that smart forms.
If you want to debug particular smart form 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 smart forms, 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
First go to smart form transaction and then press F8, then the windows change to the function of the smart form, then click in display and then click in find, and choose the control program and find a part of the source code and put a break point.
OR
Four ways you can debugging.....
1. place SFTRACE in place 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
Thanks,
Vinay
‎2007 Dec 10 11:10 AM
‎2007 Dec 10 12:38 PM
Check this info.
Debug SF:
For Preview :
SMARTFORM-> execute->execute->pass values if require to import & table parameters ->execute-> on the pop up window give Printer name as LP01 and press print preview.
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
Hope this resolves your query.
Reward all the helpful answers.
Regards
‎2007 Dec 10 12:39 PM
Refer the link -
For smartforms debugging you can do this ways:
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
‎2007 Dec 10 12:40 PM