<?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: Debugging the scripts and smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258916#M778516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For debugging SAP Script, go to transaction SE71. Enter the name of your form, goto Utilities -&amp;gt; Activate debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will call the debugger when you run the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 13:43:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-17T13:43:26Z</dc:date>
    <item>
      <title>Debugging the scripts and smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258912#M778512</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;Please Tell me How to debug the SAP SCRIPTS and SMARTFORMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank in advance&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 12:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258912#M778512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T12:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging the scripts and smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258913#M778513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;script debugging&lt;/P&gt;&lt;P&gt;/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging&lt;/P&gt;&lt;P&gt;smartform debugging&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 12:38:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258913#M778513</guid>
      <dc:creator>former_member188829</dc:creator>
      <dc:date>2008-01-17T12:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging the scripts and smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258914#M778514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DEBUG Smartform:&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;Read More here.&lt;/P&gt;&lt;P&gt;&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;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;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;/P&gt;&lt;P&gt;LOGO on Smartform&lt;/P&gt;&lt;P&gt;1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -&amp;gt; Window, Give it a name and Description (Say Window1) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Right Click on Window (Window 1) and select Create -&amp;gt; Graphics, Give it a name and description &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Select any picture and set its Resolution in DPI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6) Set any other parameters if required, save and activate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7) If there is only 1 Window in the forms, set it as Main Window in general attributes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Use TCode SE78 to upload new pictures and logos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at Thread Dynamic Graph in smartforms&lt;/P&gt;&lt;P&gt;Refer the links also -&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="2276425"&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="80791"&gt;&lt;/A&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SMARTFORM-&amp;gt; execute-&amp;gt;execute-&amp;gt;pass values if require to import &amp;amp; table parameters -&amp;gt;execute-&amp;gt; on the pop up window give Printer name as LP01 and press print preview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For debugging -&lt;/P&gt;&lt;P&gt;1. Write BREAK POINT in the code window.&lt;/P&gt;&lt;P&gt;2. Put a break point on the call function in the driver program &lt;/P&gt;&lt;P&gt;3. Put a break point in the generated Function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) DEBUG Smartform:&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;Read More here.&lt;/P&gt;&lt;P&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Four ways you can debugging.....&lt;/P&gt;&lt;P&gt;1.place SFTRACE inplace where we enter T_CODE and press ENTER.&lt;/P&gt;&lt;P&gt;after that press F8.&lt;/P&gt;&lt;P&gt;2 ./H&lt;/P&gt;&lt;P&gt;3 /SH&lt;/P&gt;&lt;P&gt;4.after generating the function module there is a button DEBUGGING&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;Refer to these related threads&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="3013306"&gt;&lt;/A&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="2864576"&gt;&lt;/A&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="3706453"&gt;&lt;/A&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="2898386"&gt;&lt;/A&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="173610"&gt;&lt;/A&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="3239589"&gt;&lt;/A&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;In the Smartform, within the Code Node you can hardcode a normal abap Break Point ..&lt;/P&gt;&lt;P&gt;&lt;/P&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;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;&lt;/P&gt;&lt;P&gt;or&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;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;P&gt;See the Below thread for how to debug the Smartforms&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="130855"&gt;&lt;/A&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="2241642"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&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="168726"&gt;&lt;/A&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are two ways to debug the SAPScript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1). Use Tools - Word Processing - Layout Set (SE71). Enter name of layout set and then Utilities - Activate Debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2). Another way to set the SAPScript debugger is to run program RSTXDBUG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you debug Print program it is same as you debug any other ABAP program. &lt;/P&gt;&lt;P&gt;While when you debug SAPScript, you actually debug the code ( scripting) you have written SAPScript Form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 12:38:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258914#M778514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T12:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging the scripts and smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258915#M778515</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;*To debugg SAP Script.*&lt;/P&gt;&lt;P&gt;Activate the ABAP debugger from in the form layout of SAP Script &lt;/P&gt;&lt;P&gt;From the top Menu in SE71 go to System -- &amp;gt; Utilities --&amp;gt; Debug ABAP&lt;/P&gt;&lt;P&gt; Then execute the print program and the script opens in the debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 12:47:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258915#M778515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T12:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging the scripts and smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258916#M778516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For debugging SAP Script, go to transaction SE71. Enter the name of your form, goto Utilities -&amp;gt; Activate debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will call the debugger when you run the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 13:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258916#M778516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T13:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging the scripts and smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258917#M778517</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;u can debug a script n  smartform with below steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;to debug an sap script.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;go to se71 transaction ---&amp;gt; go to utilities ---&amp;gt; then activate debugger.&lt;/P&gt;&lt;P&gt;n run u r transaction it will go in debug mode before entering u r script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to debug a smartform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open the corresponding function module for the smartform search for the corresponding page r window name keep a break point .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and run u r transaction it will take u to the break point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward pts if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 14:15:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-the-scripts-and-smartforms/m-p/3258917#M778517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T14:15:59Z</dc:date>
    </item>
  </channel>
</rss>

