‎2007 May 04 7:53 AM
Hi
Can any one send me the snap shots of Smartform debugging.
Thanks in advance.
Useful posts will be rewarded.
Regards,
Archana
‎2007 May 04 7:54 AM
hi,
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
Rgds
Reshma
‎2007 May 04 7:54 AM
hi,
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
Rgds
Reshma
‎2007 May 04 7:55 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.
Read More here.
http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
‎2007 May 04 7:55 AM
Yeah you have to explicitily write
break-point.
any where you are writing code or you may do it for settig the break point...
That is a easy method to see whether all the values are gtting populated or not...
Regards
Jayant
‎2007 May 04 7:59 AM
Hi,
Set the break point in initialization(Global Definitions--> Initialization) of smartform as :
BREAK <USERNAME>. --Works for particular user.
Please don't use BREAK-POINT this will apply all the users who are testing the smartform.
Program stops at break point. After that use Serach and set more break points.
-
>Search the program logic/Textelement/Address via search and set the break point at that code.
See the Below thread for how to debug the Smartforms
Regards,
Priyanka.
‎2007 May 04 8:02 AM
Thank you guys,
I like to know about the transaction code SFTRACE.
I mean how to trace for my smartform in that transaction code.
Thanks again in advance
Regards,
Archana
‎2007 May 04 8:10 AM
Hi,
Check this link.It will help you.
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
‎2007 May 04 8:06 AM
Hi,
Either u can put breakpoint in smartform by doing hardcode BREAK_POINT in any window if u have access to change the smartform
If u don't want to put breakpoint then
first go to smart form transaction -> press f8, -> the windows change to the FM -> click in display and -> click in find -> choose the control program and find a part of the source code and put a break point.
Hope it helps.
Regards,
Sonika
‎2007 May 04 8:16 AM
Hi Archana,
U can write 'BREAK-POINT' statement in Program lines.
smartform will directly go into degugging.
Reward points if helpful.
Regards,
Hemant