<?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: Sript Debug in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sript-debug/m-p/2533955#M574869</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;They are two ways to debug the &amp;lt;b&amp;gt;SAPScript&amp;lt;/b&amp;gt;.&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;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Smartform:&amp;lt;/b&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 command 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;Regards,&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2007 21:56:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-17T21:56:48Z</dc:date>
    <item>
      <title>Sript Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sript-debug/m-p/2533954#M574868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to debug the standard script.for that I've copied the script to a my zname .&lt;/P&gt;&lt;P&gt;I've activated the debugger.I want to debug the script by using ME9F transacton.How to do it? How to place the P.O document no into ME9F?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       Regards &lt;/P&gt;&lt;P&gt;     Srikanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 02:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sript-debug/m-p/2533954#M574868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T02:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sript Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sript-debug/m-p/2533955#M574869</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;They are two ways to debug the &amp;lt;b&amp;gt;SAPScript&amp;lt;/b&amp;gt;.&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;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Smartform:&amp;lt;/b&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 command 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;Regards,&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 21:56:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sript-debug/m-p/2533955#M574869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T21:56:48Z</dc:date>
    </item>
  </channel>
</rss>

