<?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 the smart forms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875593#M368264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Divakar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can debug a smart form by setting a break point in smart form (where you write the code).  This can be done by writing the following stmt in ur smartform code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK_POINT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ REWARD POINTS IF HELPFUL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jan 2007 08:10:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-17T08:10:54Z</dc:date>
    <item>
      <title>how to debug the smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875591#M368262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to debug the smart form&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 08:06:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875591#M368262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T08:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875592#M368263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;lt;b&amp;gt;In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap&lt;/P&gt;&lt;P&gt;Break Point. &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set a break point in side the smartform:&lt;/P&gt;&lt;P&gt;BREAK &amp;lt;USERNAME&amp;gt;.&lt;/P&gt;&lt;P&gt;Then at the time of print/ preview the program stops there.&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;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;2.&amp;lt;b&amp;gt;Other 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.&lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&amp;lt;b&amp;gt;SFTRACE can be used for debugging SMARTFORMS.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Read More here.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 08:08:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875592#M368263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T08:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875593#M368264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Divakar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can debug a smart form by setting a break point in smart form (where you write the code).  This can be done by writing the following stmt in ur smartform code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK_POINT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ REWARD POINTS IF HELPFUL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 08:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875593#M368264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T08:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875594#M368265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write code in very first window of smartform and put break point.&lt;/P&gt;&lt;P&gt;as &lt;/P&gt;&lt;P&gt;1) break  username e.g break divaka .&lt;/P&gt;&lt;P&gt;2) break-point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 08:11:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875594#M368265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T08:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875595#M368266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this out&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/4d22f3de9657bfe10000000a155369/Chap%2032%20IS-M%20SAP%20Media.pdf" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/4d22f3de9657bfe10000000a155369/Chap%2032%20IS-M%20SAP%20Media.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 08:11:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875595#M368266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T08:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875596#M368267</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 it is not in the production system, use break-point &amp;lt;name&amp;gt; at the relavant place.Let me know if you have more Questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Avi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 08:12:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875596#M368267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T08:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875597#M368268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi srikanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can debug in the following ways&lt;/P&gt;&lt;P&gt;1. using the static break points as above .. write in the initialization code..&amp;lt;b&amp;gt;BREAK xxxx&amp;lt;/b&amp;gt;. xxx is user name.&lt;/P&gt;&lt;P&gt;2. open the function module(in se37) generated by smartform, and put the breakpoints.&lt;/P&gt;&lt;P&gt;3. u can use the SFTRACE. this tcode is not a debuuger, but u will get to know the errors and warnming in smartform, to do this open the tcode SFTRACE&lt;DEL&gt;&amp;gt;press on the ACTIVE TRACE, the in antohter session run the smartform and com back. in the SFTACE bottom u will find an entry&lt;/DEL&gt;&amp;gt;press on the Disply --&amp;gt;in there  u'll find all the warnings and error if exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Close this thread.. when u r problem is solved&lt;/P&gt;&lt;P&gt;Reward if Helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Naresh Reddy K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 08:13:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875597#M368268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T08:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875598#M368269</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 this thread&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="1462862"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;download this ebook&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappressbooks.com/downloads/h955_preview.pdf" target="test_blank"&gt;http://www.sappressbooks.com/downloads/h955_preview.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 08:14:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875598#M368269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T08:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875599#M368270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at the time of  smartform design or in program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 08:31:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875599#M368270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T08:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875600#M368271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Divakar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) in TC SMARTFORMS find out function module name using menu point "environment"&lt;/P&gt;&lt;P&gt;2) call se37 enter FM name and display, choose Attributes&lt;/P&gt;&lt;P&gt;3) double-click on program name, double-click on third include&lt;/P&gt;&lt;P&gt;4) Utilities/Breakpoint/set/delete&lt;/P&gt;&lt;P&gt;5) Then, search for the coding you have added and set another breakpoint there&lt;/P&gt;&lt;P&gt;Now, u can do a print preview or test the smartform from TC smartforms. In both cases, the debugger will be called at the place where u set the breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to set one first breakpoint somewhere else first, else you get an error.&lt;/P&gt;&lt;P&gt;If it has helped you, please set answer as correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Petra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 15:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-smart-forms/m-p/1875600#M368271</guid>
      <dc:creator>petra_just</dc:creator>
      <dc:date>2012-11-28T15:36:17Z</dc:date>
    </item>
  </channel>
</rss>

