on 10-17-2007 3:58 PM
hi
i want to debug code i have written in smartform like we debug programs in SE38
Hi Buddy,
Solution is simple...........
1. Write Break-point in the section of code u want to debug.....
2. go to option GOTO-> MAIN PROGRAM............... click on the relevant include (not top include)...... ull se entire driver program..........
put additional dynamic break point if u need...........
Run the tranasction for which the appn is being developed.........
Hope this answers ur query........
Rajiv Kaushal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Smartforms..wherever u hav the code..
jus write BREAK-POINT der..
and it will debug from dat point
Hope this helps..Reward if it does
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi sachin,
check these links:
debug the smartforms->
http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
link about SFTRACE->
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/content.htm
Reward me if useful,
Harimanjesh AN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The only way you can debug your code of smartform is to set a hard-break point inside program lines of your smartform, or goto function module of smartform and set a break-point.
Best way is to goto SMARTFROM_TRACE and tick the check box trace on , now run your smartform, and go back to samrtfrom_Trace(SF_trace) and go through the log.
Regards,
Sairam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Write BREAK-POINT in the code and run the generated function module,
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Debug the function module created as a result of smartform generation.
During debugging mode.
Click on <b>Overview</b> Button.
There you can see the Program, Block and Name.
In that every<b> NAME</b> starting with %C is code.
If you double click on that Name it will take you to that code.
You can put break-point there.
and execute.
It will go to that code at run time and you can see the value .
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.