<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to debug Smartforms? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803390#M654878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Standard program SFTRACE for debugging smartforms&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2007 12:08:01 GMT</pubDate>
    <dc:creator>varma_narayana</dc:creator>
    <dc:date>2007-08-30T12:08:01Z</dc:date>
    <item>
      <title>How to debug Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803387#M654875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to debug Smartforms?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:05:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803387#M654875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T12:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803388#M654876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;u cannot debug smartforms.&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803388#M654876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T12:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803389#M654877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a program lines node in smartform and enter the 'BREAK-POINT' statement there.you can debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;jinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803389#M654877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T12:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803390#M654878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Standard program SFTRACE for debugging smartforms&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:08:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803390#M654878</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-30T12:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803391#M654879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please set a break point in side the smartform:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK &amp;lt;USERNAME&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then at the time of print/ preview the program stops there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example : If you set the break point in initializationas&lt;/P&gt;&lt;P&gt;BREAK &amp;lt;USERNAME&amp;gt;.&lt;/P&gt;&lt;P&gt;Program stops at break point. After that use Serach and set more break points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;Search the program logic/Textelement/Address via search and set the break point at that code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;____________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) One way to debug smartform is to debug the Function Module of that smartforms.&lt;/P&gt;&lt;P&gt;If you want to debug particular smartform node that the solution would be,&lt;/P&gt;&lt;P&gt;insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.&lt;/P&gt;&lt;P&gt;So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) SFTRACE can be used for debugging SMARTFORMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;______________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)goto tcode SFTRACE --&amp;gt; click "trace on"&lt;/P&gt;&lt;P&gt;2) Get the function module name and set break points in function module name.&lt;/P&gt;&lt;P&gt;______________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a transaction 'SMARTFORMS_TRACE' (or was it 'SMARTFORMS_TRACE') which will give you quite helpful information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;______________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAPSCRIPTS, you can 'Activate the debugger' in SE71 to start the debugging of script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SMARTFORMS, you can use BREAK-POINT (coded in any code window node) to initiate debugging of SF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;______________________________________-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SFTRACE can be used for debugging SMARTFORMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_______________________________________-&lt;/P&gt;&lt;P&gt;Go in smartforms, put a breakpoint where you want in the generated FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go in you're PO, go to messages, generated you're output and make sure in further data option 1 is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then run program rsnast00 with you're form settings, that's it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could debug sapscript like that also,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803391#M654879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T12:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803392#M654880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;open ur smartform, after activating it, in the environment menu, click on function module name.it 'll b sumthing like '/1bcd...'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;copy it and go to se37.paste dis name.funtion module 'll b opened. put break point and debug as usual...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward points if it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803392#M654880</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2007-08-30T12:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803393#M654881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes we can debug scripts and smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SMARTFORMS DEBUGGING&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For smartforms debugging you can do this.&lt;/P&gt;&lt;P&gt;1. Execute the smartform (execute button in SMARTFORMS transaction)&lt;/P&gt;&lt;P&gt;2. Take the generated function module and display it in SE80.&lt;/P&gt;&lt;P&gt;3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis&lt;/P&gt;&lt;P&gt;Tcode - SFTRACE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1305529"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="359231"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="15539"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="109051"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SCRIPTS DEBUGGING&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 separate kinds of debugging available when you try to debug scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Debugging the print program : This is the normal debugging we do for our report programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Debugging the script itself : You Can debug a SAP Script by activating debugger in two ways:&lt;/P&gt;&lt;P&gt;a .In SE71-&amp;gt;Menu-&amp;gt;Utilities-&amp;gt;Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.&lt;/P&gt;&lt;P&gt;b. Goto se38-&amp;gt; RSTXDBUG -&amp;gt;Execute this same as going thru in se71-&amp;gt; Menu, now debugger will be activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer to the link below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.howforge.com/how-to-debugging-sapscript-form" target="test_blank"&gt;http://www.howforge.com/how-to-debugging-sapscript-form&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Look at the BLOG here, it is well explained&lt;/P&gt;&lt;P&gt;/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:09:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803393#M654881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T12:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803394#M654882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Display your SmartForm. &lt;/P&gt;&lt;P&gt;Go to Environment and copy the function module name. &lt;/P&gt;&lt;P&gt;Go to SE37 and display the function. &lt;/P&gt;&lt;P&gt;Go to Smartforms and copy the node name where you want to debugg. &lt;/P&gt;&lt;P&gt;Go to the function and search for the name in main program. Put a soft break point. &lt;/P&gt;&lt;P&gt;Hope this helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803394#M654882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T12:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803395#M654883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you dont know things please dont reply........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;jinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:09:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803395#M654883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T12:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803396#M654884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method 1.&lt;/P&gt;&lt;P&gt;Goto SE37 and give the function module name of a Smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open the Function Module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto  &amp;amp;#61664; Main Program &amp;amp;#61664; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will display three includes:&lt;/P&gt;&lt;P&gt;First Include will have the Global Data Declaration.&lt;/P&gt;&lt;P&gt;Second Include will have the Form Interface.&lt;/P&gt;&lt;P&gt;Third Include will have the Main Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open the third Include and set the Break-Point wherever necessary &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method2.&lt;/P&gt;&lt;P&gt;In same way we can do it through transaction SE80.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803396#M654884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T12:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803397#M654885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry see the Correction below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For smartforms debugging you can do this. &lt;/P&gt;&lt;P&gt;1. Execute the smartform (execute button in SMARTFORMS transaction)&lt;/P&gt;&lt;P&gt;2. Take the generated function module and display it in SE80.&lt;/P&gt;&lt;P&gt;3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Tcode &amp;#150; SFTRACE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-smartforms/m-p/2803397#M654885</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-30T12:10:10Z</dc:date>
    </item>
  </channel>
</rss>

