<?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 RFC Enabled FM ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708372#M627631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sameer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Thanks for ur reply .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed ur steps but still the cursor is not going into the BAPI of the RFC DEstination system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and one more thing is :&lt;/P&gt;&lt;P&gt;I cant change the program now to write the endless loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN this scenario waht shud I do ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2007 09:23:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-21T09:23:06Z</dc:date>
    <item>
      <title>How to Debug RFC Enabled FM ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708369#M627628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         I want to debug an RFC Enabled FM.&lt;/P&gt;&lt;P&gt;I've written a small Test program to check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: eenumber	      LIKE	bapip2001-pernr,
      subtype	      LIKE	bapip2001-subty,
      objectid	      LIKE	bapip2001-objps,
      lockindicator	LIKE	bapip2001-sprps,
      validitybegin	LIKE	bapip2001-begda,
      validityend	      LIKE	bapip2001-endda,
      recordnumber	LIKE	bapip2001-seqnr.



CALL FUNCTION 'BAPI_ABSENCE_GETDETAIL 
  EXPORTING
    employeenumber          = eenumber
    subtype                 = subtype
    objectid                = objectid
    lockindicator           = lockindicator
    validitybegin           = validitybegin
    validityend             = validityend
    recordnumber            = recordnumber
* IMPORTING
*   RETURN                  =
*   START                   =
*   END                     =
*   ABSENCETYPE             =
*   ABSENCEDAYS             =
*   ABSENCEHOURS            =
*   NAMEOFABSENCETYPE       =
          .

IF sy-subrc &amp;lt;&amp;gt; 0.
  WRITE:/ 'UNsuccessful'.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a Break Point is kept at the above FM and When I press F5 the cursor is going into the FM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I specify the Destination in the Call Statement as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'BAPI_ABSENCE_GETDETAIL' DESTINATION 'SID_010'
  EXPORTING
    employeenumber          = eenumber
    subtype                 = subtype
    objectid                = objectid
    lockindicator           = lockindicator
    validitybegin           = validitybegin
    validityend             = validityend
    recordnumber            = recordnumber
* IMPORTING
*   RETURN                  =
*   START                   =
*   END                     =
*   ABSENCETYPE             =
*   ABSENCEDAYS             =
*   ABSENCEHOURS            =
*   NAMEOFABSENCETYPE       =
          .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The control is not going into the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one tell me how to debug the FM within a different system ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 08:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708369#M627628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T08:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Debug RFC Enabled FM ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708370#M627629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just put a endless loop before calling BAPI n execute u'r prog. n goto destination server TCODE sm50 select workprocess then goto menu program/mode--&amp;gt;debugging &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't forget to reward.&lt;/P&gt;&lt;P&gt;Sameer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 09:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708370#M627629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T09:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to Debug RFC Enabled FM ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708371#M627630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Just put the BreakPoint on ur BAPI Call, &lt;/P&gt;&lt;P&gt;*Put Break point CALL FUNCTION 'BAPI_ABSENCE_GETDETAIL and Execute the Program.&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;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 09:15:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708371#M627630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T09:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Debug RFC Enabled FM ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708372#M627631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sameer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Thanks for ur reply .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed ur steps but still the cursor is not going into the BAPI of the RFC DEstination system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and one more thing is :&lt;/P&gt;&lt;P&gt;I cant change the program now to write the endless loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN this scenario waht shud I do ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 09:23:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708372#M627631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T09:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Debug RFC Enabled FM ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708373#M627632</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;check whetehr the FM 'BAPI_ABSENCE_GETDETAIL' in presnt in the DESTINATION 'SID_010'.Also check the RFC connectivity between the two systems..also check the logical systems of both the servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 09:30:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708373#M627632</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-08-21T09:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Debug RFC Enabled FM ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708374#M627633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nagraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         I checked everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI is also there in the Destination System.(SID_010)&lt;/P&gt;&lt;P&gt;RFC COnnectivity is perfectly working&lt;/P&gt;&lt;P&gt;Logical Systems are perfectly right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Depu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 09:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708374#M627633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T09:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Debug RFC Enabled FM ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708375#M627634</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;HAVE A look at the below links..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/22/04280f488911d189490000e829fbbd/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/22/04280f488911d189490000e829fbbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/22/0424ba488911d189490000e829fbbd/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/22/0424ba488911d189490000e829fbbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 09:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708375#M627634</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-08-21T09:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to Debug RFC Enabled FM ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708376#M627635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nagaraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          I've gone thru the Help content given by you.&lt;/P&gt;&lt;P&gt;But still it doesn't solve my Problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other Options ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 12:43:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708376#M627635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T12:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Debug RFC Enabled FM ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708377#M627636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your function module is at other system and you are calling it at some other system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you know on which system your function module exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First debug your coding at your system where you are calling this RFC Function Module and go to that point where your function module starts,  now check the export data here&lt;/P&gt;&lt;P&gt;And&lt;/P&gt;&lt;P&gt;go to that system where this function module exists and give the same export data there and debug this Function Module at that system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points, if helpful,&lt;/P&gt;&lt;P&gt;Sandeep Kaushik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 12:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708377#M627636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T12:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to Debug RFC Enabled FM ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708378#M627637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         Thanks for ur reply.&lt;/P&gt;&lt;P&gt;In my case I have lot of entries which I can't enter manually in the Target system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other option ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 13:04:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-rfc-enabled-fm/m-p/2708378#M627637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T13:04:52Z</dc:date>
    </item>
  </channel>
</rss>

