<?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: call the debugger through abap coding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671916#M1448045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Samuel I must start debugger via abap and pass him a report name. This is what I am needing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Mar 2010 08:58:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-15T08:58:32Z</dc:date>
    <item>
      <title>call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671914#M1448043</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;&lt;/P&gt;&lt;P&gt;Is it possible to call the debugger through abap coding &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and pass him a program name (which has to be debugged)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let him stepping through the program code (each line, single step).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 08:01:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671914#M1448043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T08:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671915#M1448044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You can put the instuction BREAK-POINT just before the program that you want to debug and then you could use the debugger as usual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Another way is to set a break-point at the beginning of the program being called and then when you entered in this program the debugger will be launched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You can also have a look to such FM like RS_SET_BREAKPOINT which can add dynamically breakpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Hope it will help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 08:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671915#M1448044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T08:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671916#M1448045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Samuel I must start debugger via abap and pass him a report name. This is what I am needing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 08:58:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671916#M1448045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T08:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671917#M1448046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
SY-DEBUG = 'Y'.
SUBMIT Z_YOUR_REPORT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 09:44:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671917#M1448046</guid>
      <dc:creator>AlexanderOv</dc:creator>
      <dc:date>2010-03-15T09:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671918#M1448047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have understood what you need, but if you put such code : &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT z_debug.

START-OF-SELECTION.
  ...
  BREAK-POINT.
  SUBMIT your_other_program.

  ...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;it should meet your requirement, except that you start the debugger just before entering in your other program, isn't it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671918#M1448047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T11:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671919#M1448048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Samuel I must start debugger via abap and pass him a report name. This is what I am needing&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Perhaps if you explained &lt;STRONG&gt;why&lt;/STRONG&gt; you need to do this, you'd get more targetted answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:04:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671919#M1448048</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2010-03-15T11:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671920#M1448049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are many ways to call the debugger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. goto your program which you want to execute.&lt;/P&gt;&lt;P&gt;before executing write/h on the transaction command box.in this method  debugger will be called from start of the program from 1st line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. in the program put command break-point,where you want your debugger to be started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. in the program put the debugger button,those are at the top in application tool bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you can call the debugger in these many ways.now u have to decide whats ur requirement and how u need to call the debugger.hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tanmaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 12:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671920#M1448049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T12:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671921#M1448050</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;I guess its more clearly to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I pass to the programm RSTPDAMAIN any Reportname or Programname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've started some experiments, but unfortunately without success. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 13:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671921#M1448050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T13:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671922#M1448051</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;You can try with below FMs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'RS_GET_BREAKPOINTS'
    EXPORTING
      program         = po_progname
      http_debugging  = space
    TABLES
      showbreakpoints = i_allbreakpoints.

  CALL FUNCTION 'SYSTEM_DEBUG_SET_BREAKPOINTS'
    EXPORTING
      main_program          = p_prog(40)
*    flag_system_debugging = abap_undefined
*    flag_exception_object = abap_undefined
    TABLES
      breakpoints           = i_breakpoints
    EXCEPTIONS
      too_many_breakpoints  = 1
      generate              = 2
      bp_position_not_found = 3
      c_call_error          = 4
      OTHERS                = 5.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In I_breakpoints you need to pass the program name and line number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 13:40:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671922#M1448051</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-03-15T13:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671923#M1448052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vinod thx your reply was very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually when you are debugging you can see on the rightside 4 tabstrips. Variable1 Variable2 Locals Globals.&lt;/P&gt;&lt;P&gt;Do you know a way how can I access the values directly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DYNP_VARS-WA_GLOBAL-VARNAME and DYNP_VARS-WA_GLOBAL-VARVALUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Programname is SAPLSTPDA_TOOL_QUICK_VARS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FunctionPool STPDA_TOOL_QUICK_VARS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 15:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671923#M1448052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T15:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671924#M1448053</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;Recently i have seen similar requirement posted in SCN. Some one has suggested some class to get the run time attributes some thing similar to CL_ABAP_CLASSDESCR. Can you do a search and find out in SCN. Also try to search in SE24 with CL&lt;STRONG&gt;DEBUG&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But during debugging you already have the data in the variables right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 16:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671924#M1448053</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-03-15T16:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671925#M1448054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;you said:
but during debugging you already have the data in the variables right?&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, but I need them because I want  to save a text file directly from ABAP program with these&lt;/P&gt;&lt;P&gt;values of variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do that ?&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;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 21:10:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671925#M1448054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T21:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: call the debugger through abap coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671926#M1448055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your active help, I will try to achieve the req with these answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 10:54:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-the-debugger-through-abap-coding/m-p/6671926#M1448055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T10:54:33Z</dc:date>
    </item>
  </channel>
</rss>

