<?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: RFC testing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-testing/m-p/5008923#M1166019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how shd i test the RFC in front end it has to receive data form other non SAP system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Dec 2008 10:40:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-30T10:40:14Z</dc:date>
    <item>
      <title>RFC testing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-testing/m-p/5008919#M1166015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user  calls an RFC "ZRFC" from a non SAP system.When user Executes the non sap program that call SAP RFC&lt;/P&gt;&lt;P&gt;It shows that RFC is called sucessfully ,but the DB table "Zitem_info" is not updated in SAP.&lt;/P&gt;&lt;P&gt;So i want to debug my RFC in SAP when it is called by non SAP to see whether data is received in "tbl_info" declared in Tables statment in RFC as&lt;/P&gt;&lt;P&gt;itab_info  like zstructure.  "Zstructure" contains all fields of type char.Please guide how shd ii find th problem why data is not been updated or received into tbl_info form Non SAP system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The source code in SAP RFC is as follows&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: tot_cnt(4).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CLEAR: cntnup,cntup,ws_info,tot_cnt,n.&lt;/P&gt;&lt;P&gt;  REFRESH itab_info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT tbl_info IS INITIAL.&lt;/P&gt;&lt;P&gt;    LOOP AT tbl_info.&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING tbl_info TO itab_info.&lt;/P&gt;&lt;P&gt;      APPEND itab_info.&lt;/P&gt;&lt;P&gt;         ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SORT itab_info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Count of Total records&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE itab_info LINES tot_cnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Deleting duplicate entries&lt;/P&gt;&lt;P&gt;  DELETE ADJACENT DUPLICATES FROM itab_info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Inserting records in DB zitem_info&lt;/P&gt;&lt;P&gt;  INSERT zitem_info FROM TABLE itab_info ACCEPTING DUPLICATE KEYS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    COMMIT WORK.&lt;/P&gt;&lt;P&gt;    cntup = sy-dbcnt.&lt;/P&gt;&lt;P&gt;    cntnup = tot_cnt - cntup.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    ROLLBACK WORK.&lt;/P&gt;&lt;P&gt;    cntnup = tot_cnt - cntup.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 09:33:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-testing/m-p/5008919#M1166015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T09:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: RFC testing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-testing/m-p/5008920#M1166016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use external break-point to debug RFC when called from non-sap system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 09:36:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-testing/m-p/5008920#M1166016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T09:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: RFC testing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-testing/m-p/5008921#M1166017</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;Use external break-point to debug (applicable for ECC 6.0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY to make one small change  in ur code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of  INSERT zitem_info FROM TABLE itab_info ACCEPTING DUPLICATE KEYS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use MODIFY statement and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY zitem_info FROM TABLE itab_info .&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, 30 Dec 2008 09:42:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-testing/m-p/5008921#M1166017</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2008-12-30T09:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: RFC testing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-testing/m-p/5008922#M1166018</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 u tried executing the FM successfully in frontend with your ID?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is successful updating with your ID and not when calling from external system I &lt;STRONG&gt;guess this is the authorization issue.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The caller ID might be a Cummunication Type user. Try to give SAP ALL auhtorizations to ID and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure it will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 09:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-testing/m-p/5008922#M1166018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T09:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: RFC testing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-testing/m-p/5008923#M1166019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how shd i test the RFC in front end it has to receive data form other non SAP system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 10:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-testing/m-p/5008923#M1166019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T10:40:14Z</dc:date>
    </item>
  </channel>
</rss>

