<?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: SAP script  &amp; smartform debugging in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352062#M176299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2006 05:10:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-24T05:10:15Z</dc:date>
    <item>
      <title>SAP script  &amp; smartform debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352056#M176293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;can u plz give me the step by step procedure  for debugging the SAP script and smartform&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 04:48:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352056#M176293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T04:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script  &amp; smartform debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352057#M176294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know about SAP Script but for SMART Form, create a PRORAM LINES object and hard code the break point in there and then when you execute the SMART Form, it stops there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no way straight forward way debugging a SMART Form function as its a combination of generated code and the code that you have written. Debugging will not be that easy and you need to figure which section of the smart form you are currently processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 04:54:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352057#M176294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T04:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script  &amp; smartform debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352058#M176295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;SAP Script:&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;YOu Can debug a SAP Script by activating debugger in two ways 1.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;2. 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;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Smartform:&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;I am afraid , we dont have any direct commands or direct procedure to debug a script. But in indirect ways we can do it.&lt;/P&gt;&lt;P&gt;1.Put a program line before where you want check the value of smartform and write the code "BREAK-POINT"-&amp;gt;hardcoded debugging.&lt;/P&gt;&lt;P&gt;2.You can debug the function module which generates the smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Hope This Info Helps YOU.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 04:55:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352058#M176295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T04:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script  &amp; smartform debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352059#M176296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Venkat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SE71 --&amp;gt;Goto Utilities Menu and Select Activate Debugger &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that will activate your Debugger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while running your Report when the execution goes to Open_form this will be triggered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 04:56:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352059#M176296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T04:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script  &amp; smartform debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352060#M176297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;DEBUT SAPSCRIPT-&amp;gt;&lt;/P&gt;&lt;P&gt;PROCESS1-&lt;/P&gt;&lt;P&gt;activate the abap debug from the forma layout from menu system -- &amp;gt; utilities --&amp;gt; debug abap , &lt;/P&gt;&lt;P&gt;tehn go into the print progrma and execute teh print program in the execute the program from theri and the script opens in the debug mode.&lt;/P&gt;&lt;P&gt;PROCESS2-&lt;/P&gt;&lt;P&gt;First we need to put Break point in Print program where ever you want to stop the execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After in SE71 give your form name and go to Utilities--&amp;gt;Active De-bugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go to your transcation like VF03(for Invoice or Credit memo) etc to see the print preview or print the form execute it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you execute it the the form Debugging will get activated and you can see your Form execution step by step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SMARTFORMS-&amp;gt;&lt;/P&gt;&lt;P&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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 05:03:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352060#M176297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T05:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script  &amp; smartform debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352061#M176298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 05:09:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352061#M176298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T05:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script  &amp; smartform debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352062#M176299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 05:10:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352062#M176299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T05:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script  &amp; smartform debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352063#M176300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 05:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352063#M176300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T05:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script  &amp; smartform debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352064#M176301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 05:15:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352064#M176301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T05:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script  &amp; smartform debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352065#M176302</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;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 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selecting the SAPscript debugger. (Menu path: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tools-Wordprocessing - Forms, Utilities - Activate Debugger) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other ABAP program. While when you debug SAPScript, you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually debug the code ( scripting) you have written &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPScript Form.&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 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that smartforms. If you want to debug particular smartform &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;node that the solution would be, insert a "Program Line" just &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above the node you want to debug and this program line write &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a normal abap breakpoint. So whenever you call the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;smartforms, it will stop at this breakpoint and you can debug &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;onwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another way is SFTRACE can be used for debugging SMARTFORMS&lt;/P&gt;&lt;P&gt;for details refer this link:&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;rgds,&lt;/P&gt;&lt;P&gt;latheesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 06:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-smartform-debugging/m-p/1352065#M176302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T06:09:52Z</dc:date>
    </item>
  </channel>
</rss>

