<?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 a FM executed  from an external source in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512738#M1423784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm, strange. I can't find external breakpoint in my SAP version.&lt;/P&gt;&lt;P&gt;Is it let me to debug FMs run via RFC ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jan 2010 02:56:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-20T02:56:22Z</dc:date>
    <item>
      <title>How to debug a FM executed  from an external source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512733#M1423779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. sap developers &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running a functional module using RFC (take a look at the code example):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA it9106 LIKE p9106 OCCURS 0.
  DATA p_pernr LIKE p0001-pernr VALUE '83000845'.
  DATA p_des(6) VALUE 'THR200'.
  CALL FUNCTION 'RH_READ_INFTY'
    DESTINATION p_des
    EXPORTING
*      authority            = 'DISP'
      with_stru_auth       = ' '
      plvar                = '01'
      otype                = 'P'
      objid                = p_pernr
      infty                = '9106'
      istat                = '1'
    TABLES
      innnn                = it9106
    EXCEPTIONS
      all_infty_with_subty = 1
      nothing_found        = 2
      no_objects           = 3
      wrong_condition      = 4
      wrong_parameters     = 5
      OTHERS               = 6.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got sy-subrc value equals to 6 and I don't know why.&lt;/P&gt;&lt;P&gt;So could you help me how I can debug this FM ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 10:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512733#M1423779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T10:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a FM executed  from an external source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512734#M1423780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Put an External breakpoint  in your code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 10:44:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512734#M1423780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T10:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a FM executed  from an external source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512735#M1423781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;external breakpoint ?&lt;/P&gt;&lt;P&gt;never heard of it &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 10:53:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512735#M1423781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T10:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a FM executed  from an external source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512736#M1423782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;In your code &lt;/P&gt;&lt;P&gt;go to Utilities&lt;DEL&gt;- External Breakpoints&lt;/DEL&gt;- Set/Delete External Breakpoint&lt;/P&gt;&lt;P&gt;Also Declare &lt;/P&gt;&lt;P&gt;DATA it9106 LIKE p9106 OCCURS 0 with header line .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 11:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512736#M1423782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T11:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a FM executed  from an external source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512737#M1423783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;In your code &lt;/P&gt;&lt;P&gt;go to Utilities&lt;DEL&gt;- External Breakpoints&lt;/DEL&gt;- Set/Delete External Breakpoint&lt;/P&gt;&lt;P&gt;Also Declare &lt;/P&gt;&lt;P&gt;DATA it9106 LIKE p9106 OCCURS 0 with header line .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 11:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512737#M1423783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T11:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a FM executed  from an external source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512738#M1423784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm, strange. I can't find external breakpoint in my SAP version.&lt;/P&gt;&lt;P&gt;Is it let me to debug FMs run via RFC ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 02:56:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512738#M1423784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T02:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a FM executed  from an external source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512739#M1423785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Kernel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have undestood from your problem is that, the function module which you want to execute is located in another system (as you are passing the: pdes).&lt;/P&gt;&lt;P&gt;What you can do is go to that particular system and in the called functio module you can put the break-point.(if the FM is created by you, you can insert the statement: BREAK-POINT &amp;lt;userid&amp;gt;(check for the addition for putting the break-point by pressing F1 on it.)) So when you will call the FM, it will take the control to the particular function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check whether the RFC destination has been maintained properly(tCode SM59).&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;s@k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 03:09:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512739#M1423785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T03:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a FM executed  from an external source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512740#M1423786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. I understood my problem right.&lt;/P&gt;&lt;P&gt;But this modude is not mine and I can't modify it, so if I put breakpoint in destination system and call FM in source system debugger skips my breakpoint anyway.&lt;/P&gt;&lt;P&gt;RFC address is set correct.&lt;/P&gt;&lt;P&gt;But when I run FM in destination system I got correct results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 04:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512740#M1423786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T04:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a FM executed  from an external source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512741#M1423787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys. Versions of infotype structure are differes, therefore I was getting an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 07:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-fm-executed-from-an-external-source/m-p/6512741#M1423787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T07:26:57Z</dc:date>
    </item>
  </channel>
</rss>

