<?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: debug smart form in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-smart-form/m-p/2678062#M618848</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;DEBUG Smartform:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For script Debugging: Execute RSTXDUBG program to activate the debugger or you can activate the debugger from SE71 utilities -&amp;gt; Activate Debugger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Smartforms: You can put a breakpoint in the code or you can write explicity BREAK-POINT keyword to debug the smartform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set the break point in initialization(Global Definitions--&amp;gt; Initialization) of smartform as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK &amp;lt;USERNAME&amp;gt;. --Works for particular user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please don't use BREAK-POINT this will apply all the users who are testing the smartform.&lt;/P&gt;&lt;P&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;Thanks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Aug 2007 16:42:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-11T16:42:35Z</dc:date>
    <item>
      <title>debug smart form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-smart-form/m-p/2678061#M618847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hallow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i doing a smart form and i add a code to it and i wont to debug it and i dont have any icon that i can push and start it hoe can i start the debugger?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Aug 2007 16:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-smart-form/m-p/2678061#M618847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-11T16:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: debug smart form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-smart-form/m-p/2678062#M618848</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;DEBUG Smartform:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For script Debugging: Execute RSTXDUBG program to activate the debugger or you can activate the debugger from SE71 utilities -&amp;gt; Activate Debugger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Smartforms: You can put a breakpoint in the code or you can write explicity BREAK-POINT keyword to debug the smartform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set the break point in initialization(Global Definitions--&amp;gt; Initialization) of smartform as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK &amp;lt;USERNAME&amp;gt;. --Works for particular user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please don't use BREAK-POINT this will apply all the users who are testing the smartform.&lt;/P&gt;&lt;P&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;Thanks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Aug 2007 16:42:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-smart-form/m-p/2678062#M618848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-11T16:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: debug smart form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-smart-form/m-p/2678063#M618849</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;you may try transaction smartformstrace - quite useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Aug 2007 17:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-smart-form/m-p/2678063#M618849</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-08-11T17:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: debug smart form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-smart-form/m-p/2678064#M618850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap  Break Point. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clearly :&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, 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;2) SFTRACE can be used for debugging SMARTFORMS.&lt;/P&gt;&lt;P&gt;a)goto tcode SFTRACE --&amp;gt; click "trace on"&lt;/P&gt;&lt;P&gt;b) 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;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Aug 2007 18:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-smart-form/m-p/2678064#M618850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-11T18:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: debug smart form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-smart-form/m-p/2678065#M618851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shnya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You dont have any push buttons in smartforms to activate debugging. Instead, You need to put break-point either in the program lines code in the smart form or placing a function module generated by the smart forms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, You can put a break-point in the code where you have written in smart forms.&lt;/P&gt;&lt;P&gt;Place &amp;lt;b&amp;gt;BREAK-POINT &amp;lt;USERNAME&amp;gt;.&amp;lt;/b&amp;gt; as the first statement in your code block. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you execute the smart forms again, it will stop here to debug the program lines in the smart form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Aug 2007 18:52:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-smart-form/m-p/2678065#M618851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-11T18:52:46Z</dc:date>
    </item>
  </channel>
</rss>

