<?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 bdc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2255339#M488221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can we debug a bdc which is running in bachground&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2007 09:09:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-30T09:09:22Z</dc:date>
    <item>
      <title>bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2255339#M488221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can we debug a bdc which is running in bachground&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 09:09:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2255339#M488221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T09:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2255340#M488222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;How do I debug background Processes?&lt;/P&gt;&lt;P&gt;In transaction SM50 (process overview), you can select a background process and choose Program/Mode -&amp;gt; Program -&amp;gt; Debugging from the menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative workaround, which allows you to step into a particular piece of code is to place a piece of code in a endless DO-ENDDO, where you can change a variable to step out of the DO at a particular point in your code. This allows you to hold the process at that point and debug it from SM50 as described above. An implementation of this exists in function module C160_HOLD_FOR_DEBUG, which will enter the endless loop if a particular environment variable is set, thereby allowing you to control its behaviour. (Further instructions are found in the comments in subroutine INC14Z_HOLD_FOR_DEBUG of include LC14ZFCB).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I debug completed background process?&lt;/P&gt;&lt;P&gt;You can do this only after the job has finished execution. This will simulate the exact background scenario with the same selection screen values as used in the job and sy-batch set to 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use SM37 to get list of jobs , type 'JDBG' in the command line ( no '/' ), put the cursor on the job and press ENTER &lt;/P&gt;&lt;P&gt;You are in debug mode now. Step through SAP program (press F7 couple of times) until you get to code you need. &lt;/P&gt;&lt;P&gt;How do I debug remote function calls?&lt;/P&gt;&lt;P&gt;You can use the same techniques as described in How do I debug background Processes? above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I debug Updates/System code?&lt;/P&gt;&lt;P&gt;Both options are available from the menu in debugging. Choose Settings -&amp;gt; System/Update Debugging to activate either before proceeding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does it give a dump when I put a break-point in between SELECT and ENDSELECT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A breakpoint in SELECT loops can cause an exception through loss of the database cursor. The reason for this is that during debugging a database commit is triggered and hence the cursor is lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I set breakpoints in modal dialogs?&lt;/P&gt;&lt;P&gt;There are two similar approaches to set breakpoints in modal dialogs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Approach 1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the Create shortcut icon on the toolbar. &lt;/P&gt;&lt;P&gt;In the popup window choose "System command" and in the command enter "/h" &lt;/P&gt;&lt;P&gt;A shortcut on the desktop would be created &lt;/P&gt;&lt;P&gt;Drag and drop the shortcut to the modal window to set debugging on. &lt;/P&gt;&lt;P&gt;Approach 2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a txt file on the desktop with the following lines: &lt;/P&gt;&lt;P&gt;[FUNCTION]&lt;/P&gt;&lt;P&gt;Command=/H&lt;/P&gt;&lt;P&gt;Title=Debugger&lt;/P&gt;&lt;P&gt;Type=SystemCommandDrag and drop this file to the modal window to set debugging on. &lt;/P&gt;&lt;P&gt;How do I switch between the Classic and New Debugger&lt;/P&gt;&lt;P&gt;From within the ABAP workbench, select the Utilities-&amp;gt;Settings Menu &lt;/P&gt;&lt;P&gt;Select the ABAP Editor Tab &lt;/P&gt;&lt;P&gt;Select the Debugging tab within the ABAP Editor Tab &lt;/P&gt;&lt;P&gt;Select the Classic Debugger or New Debugger radio button &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 09:13:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2255340#M488222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T09:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2255341#M488223</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;It will save the all records in to the corresponding tables.&lt;/P&gt;&lt;P&gt;If any error is there it will stop the execution when u use the calltransaction that is if u provide the mode as 'Error mode'.&lt;/P&gt;&lt;P&gt;In case of session method it will continue the execution and if any error is there it will store it in logmode.&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;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 09:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2255341#M488223</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-05-30T09:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2255342#M488224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is no debugging concept for any  background jobs  .....    ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only foreground   will have navigation  ..... so  it can be debugged  ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if want to  seee  it  ... then       after selecting the session in SM35     ....  ...selecting the   PROCESS  in  the POP AS backgrond     ...   there  is  screen  debugging   program   .. which   you have to    create  one note pad file   in you destop     .... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after seleting the  process as   background  drag &amp;amp; drop that   text fiel  from the   desktop to this screen  .... your  process will be   strated debugging mode   ... then press  proocess  ok ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will take you  in debug mode ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the below code should be  in the txt file  inyour desktop    .......   remember drag &amp;amp; drop this file   don't  open   ... it will take you in debugg  mode  .... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 09:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2255342#M488224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T09:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2255343#M488225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;s i got my solution,thanks for tghe help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 09:55:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2255343#M488225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T09:55:01Z</dc:date>
    </item>
  </channel>
</rss>

