<?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: How  to debug BDC , Dialog program and Script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669117#M616095</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;bdc will be just like the reports&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/h is one method&lt;/P&gt;&lt;P&gt;and in the call transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put mode 'A'&lt;/P&gt;&lt;P&gt;this is all screen mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can see each and every entry and screen by screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dialog prgoramms also by /h or puting break-points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scripts by activating the debugger inthe &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;se71 transaction&lt;/P&gt;&lt;P&gt;give your script name &lt;/P&gt;&lt;P&gt;and utilities -- activated debugger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 10:00:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-09T10:00:44Z</dc:date>
    <item>
      <title>How  to debug BDC , Dialog program and Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669115#M616093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know, how to  debug BDC , Dialog program and Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Devi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 09:56:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669115#M616093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T09:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: How  to debug BDC , Dialog program and Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669116#M616094</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;Place a breakpoint by selecting the line and breakpoint button from the application toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USe F5 key,F6, F7 and F8 Key for Processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on the variable to view the contents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:00:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669116#M616094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: How  to debug BDC , Dialog program and Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669117#M616095</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;bdc will be just like the reports&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/h is one method&lt;/P&gt;&lt;P&gt;and in the call transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put mode 'A'&lt;/P&gt;&lt;P&gt;this is all screen mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can see each and every entry and screen by screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dialog prgoramms also by /h or puting break-points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scripts by activating the debugger inthe &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;se71 transaction&lt;/P&gt;&lt;P&gt;give your script name &lt;/P&gt;&lt;P&gt;and utilities -- activated debugger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:00:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669117#M616095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: How  to debug BDC , Dialog program and Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669118#M616096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDC: you should choose DISMODE = 'A'.&lt;/P&gt;&lt;P&gt;Dialog: '/H'.&lt;/P&gt;&lt;P&gt;Script: i think you should print test and test,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:02:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669118#M616096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: How  to debug BDC , Dialog program and Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669119#M616097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rama,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For BDC Debug, Refer the foll.thread,&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="263540"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To debug Script, foll. the links,&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geekinterview.com/question_details/1489" target="test_blank"&gt;http://www.geekinterview.com/question_details/1489&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://searchsap.techtarget.com/tip/0,289483,sid21_gci1066270,00.html" target="test_blank"&gt;http://searchsap.techtarget.com/tip/0,289483,sid21_gci1066270,00.html&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="3897552"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:02:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669119#M616097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: How  to debug BDC , Dialog program and Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669120#M616098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;SCRIPT DEBUGGING&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;When we want to debug the SAPSCRIPT, we need to first activate the debugger, we have 2 ways to activate the Debugger.&lt;/P&gt;&lt;P&gt;1) Execute the program RSTXDBUG&lt;/P&gt;&lt;P&gt;2) Go to SE71, from the initial screen enter the form name and press Utilities --&amp;gt; Activate Debugger&lt;/P&gt;&lt;P&gt;When we are in the Debug screen,&lt;/P&gt;&lt;P&gt;3.1) F5 will be debug filed by field, that means if a single line is having 5 fields, if we press the F5 this will do field by field,&lt;/P&gt;&lt;P&gt;3.2) F6 will be line by line, that means when we press the F6, it will debug the line and it will go to the next line. F7 also do the same way&lt;/P&gt;&lt;P&gt;3.3) F8 will be very useful when we have any include statement in the SCRIPT, if any include is there and we press the F5 or F6 then this will go that Include (normally SO10 or any transaction text), then if we want line by line debugging then we can press the F5 or F6, or if you want to execute that in a single shot then press the F8, then the debugger will be executed that include and come back to the Script debugging.&lt;/P&gt;&lt;P&gt;Some times in the script, we may right lengthy lines, if we want to debug that whole line, we have an option called Left/Right, this we will find the Debug screen of the script, there is a Push button, we can make use this button to debug.&lt;/P&gt;&lt;P&gt;We can put the breakpoints in the SCRIPT DEBUGGER also, just press the BREAKPOINT Pushbutton from the debugging screen or press EDIT --&amp;gt; Breakpoint&lt;/P&gt;&lt;P&gt;If we want to debug the print program from the SCRIPT DEBUGGER, just press SHIFT+F7 or EDIT --&amp;gt; ABAP Debugging&lt;/P&gt;&lt;P&gt;If we want to see the Windows which are defined in the forms, just press the Go to --&amp;gt; Form --&amp;gt; Windows .if we want to see the pages go to --&amp;gt; Form --&amp;gt; pages. Here we have an option to see the page wise window also go to --&amp;gt; Form --&amp;gt; page Windows&lt;/P&gt;&lt;P&gt;If we want to see the paragraphs which are defined in that script, press go to --&amp;gt; Styles --&amp;gt; paragraphs.  &lt;/P&gt;&lt;P&gt;If we want to see the Character formats which are defined in that script, press go to --&amp;gt; Styles --&amp;gt; Character Strings.  &lt;/P&gt;&lt;P&gt;If we want to see the Page formats which are defined in that script, press go to --&amp;gt; OTF --&amp;gt; Page.&lt;/P&gt;&lt;P&gt;If we want to see the Elements which are used in the Script, then press go to --&amp;gt; Text Elements --&amp;gt; Form Elements.&lt;/P&gt;&lt;P&gt;If we want to see the commands which are used in the script, press go to --&amp;gt; Commands --&amp;gt; List&lt;/P&gt;&lt;P&gt;Finally, if we want to exit from the SCRIPT DEBUGING, simply press Debugger --&amp;gt; Exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DEBUG BDC&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ust go into debugging mode and do the BDC step by step, when it comes to the Call Transaction line, check the mode which will be 'N'....Now, overwrite this with 'A' and execute the BDC...It will run in All Screens Mode....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As suggested above the MODE 'A' will do the trick as it takes you to all screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally MODE N will be defaulted as it will be used for background processing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a simple tip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will be the call transaction part of the program,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'IW32' USING BDCDATA MODE 'N'&lt;/P&gt;&lt;P&gt;MESSAGES INTO MESSTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to make it like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: V_MODE TYPE C VALUE 'N'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;lt;In debug mode set V_MODE = 'A' for debugging&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'IW32' USING BDCDATA MODE V_MODE&lt;/P&gt;&lt;P&gt;MESSAGES INTO MESSTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will be very useful because you just need to change the value of the V_MODE at runtime as A for debugging besides it has N which is the default to be used. (i.e. you need not change the code again and again).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will be very useful when you have to debug some program in QA or PRD servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*&lt;STRONG&gt;reward for useful answers&lt;/STRONG&gt;*&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-bdc-dialog-program-and-script/m-p/2669120#M616098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:06:32Z</dc:date>
    </item>
  </channel>
</rss>

