on 11-19-2007 12:47 PM
Hi to all
Plz tell me how to debug a smart form so that I can see the output at runtime.
Thanks & Regards'
Anubhav Gupta
Hi,
To debugg a smartform v have to follow this steps.
Execute the smartform (execute button in SMARTFORMS transaction)
Take the generated function module and display it in SE80.
Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.
Correct name is SMARTFORM_TRACE.
Tcode - SFTRACE.
Regards...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hI
goto your smartform, and see you can find any program lines, if you find any set break-point in your program line.
IF not goto SMARTFORM_TRACE and activate trace on and run the smartform go back to SMARTFROM_TRACE and go through the log.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Take the Generated Function Module Environment -> Function Module Name from SMARTFORM.
Go to Attributes of that FM, Double click on Program
Double click on Subroutines Include which ends with *F01.
Keep break point in one of the subroutines.
While Printing the smartform it will stops there and you can do debugging.
Reward Points if this helps,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anubhav,
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
Function module that takes form name as input and which gives the form details like pages,windows etc.,
EFG_GET_SMARTFORM_PARAMS
<b>Reward points if this helps.
Manish</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.