<?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 program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-program/m-p/2004611#M408473</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;See Gaurav  lets take case system A is source and system B Target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Now Your table is in traget system B so you need to write a function module in System A and that you have to call in System B using RFC destination which is created in System B for B to A Communication.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hiren Patel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Don't forget to Reward Points.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2007 10:01:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-14T10:01:01Z</dc:date>
    <item>
      <title>RFC program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-program/m-p/2004607#M408469</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;I have a requirement to transfer a table from Sandbox1 to sandbox2. Now I have written the program and still it is not giving me results. Can you please point out where am i doing wrong. before the code can you please one of my doubts, &lt;/P&gt;&lt;P&gt;I have created a RFC connection from target sandbox to the sandbox where the table is in target sandbox. SO do i need to create only connection or I have to create it the other way around as well. &lt;/P&gt;&lt;P&gt;the RFC destination name is 'RQ2100'.&lt;/P&gt;&lt;P&gt;Also I have created the program in target system, has it to be done where the table is?&lt;/P&gt;&lt;P&gt;Now please find the code &lt;/P&gt;&lt;P&gt;Tables : TIBAN.&lt;/P&gt;&lt;P&gt;data : tabname like DD02L-TABNAME,&lt;/P&gt;&lt;P&gt;       data1 type table of tab512,&lt;/P&gt;&lt;P&gt;       field1 type table of RFC_DB_FLD,&lt;/P&gt;&lt;P&gt;       options1 type table of RFC_DB_OPT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tabname = 'TIBAN'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RFC_READ_TABLE'&lt;/P&gt;&lt;P&gt;  DESTINATION 'aor3d01_RQ2_00'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    QUERY_TABLE                = tabname&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DELIMITER                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_DATA                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ROWSKIPS                   = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ROWCOUNT                   = 0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    OPTIONS                    = Options1&lt;/P&gt;&lt;P&gt;    FIELDS                     = field1&lt;/P&gt;&lt;P&gt;    DATA                       = data1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TABLE_NOT_AVAILABLE        = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TABLE_WITHOUT_DATA         = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OPTION_NOT_VALID           = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FIELD_NOT_VALID            = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOT_AUTHORIZED             = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DATA_BUFFER_EXCEEDED       = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                     = 7&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;write : 'test'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gaurav Mehta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 09:29:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-program/m-p/2004607#M408469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T09:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: RFC program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-program/m-p/2004608#M408470</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;Can u please tell me wathere your RFC function modulw getting trigger or not.&lt;/P&gt;&lt;P&gt;If yes what sort of problem u faced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg&lt;/P&gt;&lt;P&gt;Hiren Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 09:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-program/m-p/2004608#M408470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T09:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: RFC program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-program/m-p/2004609#M408471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Make sure destination name is correct...You have 'aor3d01_RQ2_00' instead of 'RQ2100'.&lt;/P&gt;&lt;P&gt;Uncomment exceptions as well to investigate errors that may occur during function call&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt; TABLE_NOT_AVAILABLE = 1&lt;/P&gt;&lt;P&gt; TABLE_WITHOUT_DATA = 2&lt;/P&gt;&lt;P&gt; OPTION_NOT_VALID = 3&lt;/P&gt;&lt;P&gt; FIELD_NOT_VALID = 4&lt;/P&gt;&lt;P&gt; NOT_AUTHORIZED = 5&lt;/P&gt;&lt;P&gt; DATA_BUFFER_EXCEEDED = 6&lt;/P&gt;&lt;P&gt; OTHERS = 7.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt; WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 09:35:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-program/m-p/2004609#M408471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T09:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: RFC program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-program/m-p/2004610#M408472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hiren, &lt;/P&gt;&lt;P&gt;Yes the function module is getting triggered and I am using it in a program. But wat my doubt is possibly I need to run the program in the system where table is rather then the target system.&lt;/P&gt;&lt;P&gt;Hi Tomasz,&lt;/P&gt;&lt;P&gt;The rfc destinations you are seeing is what i found in table RFCDES and hence I am using it. &lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 09:42:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-program/m-p/2004610#M408472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T09:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: RFC program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-program/m-p/2004611#M408473</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;See Gaurav  lets take case system A is source and system B Target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Now Your table is in traget system B so you need to write a function module in System A and that you have to call in System B using RFC destination which is created in System B for B to A Communication.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hiren Patel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Don't forget to Reward Points.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 10:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-program/m-p/2004611#M408473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T10:01:01Z</dc:date>
    </item>
  </channel>
</rss>

