<?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 Smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2740953#M636799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             How can we debug the smartform on live system ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2007 09:35:28 GMT</pubDate>
    <dc:creator>former_member386202</dc:creator>
    <dc:date>2007-09-06T09:35:28Z</dc:date>
    <item>
      <title>Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2740953#M636799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             How can we debug the smartform on live system ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 09:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2740953#M636799</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-09-06T09:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2740954#M636800</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;&lt;/P&gt;&lt;P&gt;SMARTFORMS DEBUGGING&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;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 09:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2740954#M636800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T09:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2740955#M636801</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 type a statement called &amp;lt;b&amp;gt;BREAK-POINT&amp;lt;/b&amp;gt; before the first occurance of field or table u want to check. Then save and activate the form. When u use it in VF03,  select the output type of the billing document and click tick mark or press enter in the dialog box. It will take u to the debugging screen. There u can check the values of field and tables. Mostly, debugging the smartform is not advisable. Bcoz., it won't give u the print screen of the smartform. Instead it takes to debugging screen. Endusers may not know to come out of the debugging screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place a break-point in the code and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 09:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2740955#M636801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T09:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2740956#M636802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I think you will not have authorization to debug on live systems. If you  have authorization then following are the ways of debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If you want to debug only the smartform ( I mean if you are not executing the smartform with any other transaction) then you can debug the  smartfrom using genereated function module. When you execute the smartform first it will take you to the funcation module and execute this function module  there you will have execuiton button and debugging button just select the debugging button it will take you to the debugging screen.(OR)go to Display  function module  and put break point where ever you need. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If you are executing using some transaction then you cant see function module display. In that case before executing the transaction, first execute the smartform and see the funcation module name and go to that funcation module and put break points where ever you need.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) if you can change the code, Then go to programme line where ever you need and put user specific break points ( Like BREAK USER)  and activate. I think since you are saying live systems you cant change the 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;Nageswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 11:09:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2740956#M636802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T11:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2740957#M636803</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;regards,&lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 15:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2740957#M636803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T15:28:02Z</dc:date>
    </item>
  </channel>
</rss>

