<?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 Need to Create RFC Functional Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891050#M1689005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no experience on RFC creation forget about setting RFC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create RFC enabled for third party communication&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement:&amp;nbsp; Input Parameter: PERNR &amp;amp; WORK DATE from third party system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to club 3 to 4 tables based on certain condition and how can i declare Table type in RFC cause when i club 3 to four tables structure would be changing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give me logic on clubbing 3 or 4 tables passing into RFC table area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Moderator Message: Spoon-feeding is not encouraged in the forums. Show your efforts 'til then the thread remains locked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Suhas Saha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Aug 2012 15:32:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-08-02T15:32:15Z</dc:date>
    <item>
      <title>Need to Create RFC Functional Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891050#M1689005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no experience on RFC creation forget about setting RFC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create RFC enabled for third party communication&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement:&amp;nbsp; Input Parameter: PERNR &amp;amp; WORK DATE from third party system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to club 3 to 4 tables based on certain condition and how can i declare Table type in RFC cause when i club 3 to four tables structure would be changing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give me logic on clubbing 3 or 4 tables passing into RFC table area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Moderator Message: Spoon-feeding is not encouraged in the forums. Show your efforts 'til then the thread remains locked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Suhas Saha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 15:32:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891050#M1689005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-02T15:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Create RFC Functional Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891051#M1689006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to help but what is clubbing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 15:40:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891051#M1689006</guid>
      <dc:creator>Phillip_Morgan</dc:creator>
      <dc:date>2012-08-02T15:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Create RFC Functional Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891052#M1689007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we have to read out matching record from four table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 15:55:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891052#M1689007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-02T15:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Create RFC Functional Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891053#M1689008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There would be 4 four tables and which has to pass into internal table area of RFC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 15:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891053#M1689008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-02T15:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Create RFC Functional Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891054#M1689009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the tables and keep like normal selection statement.Keep messages and return statement.Then keep that fm as a bapi as rfc .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 15:59:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891054#M1689009</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2012-08-02T15:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Create RFC Functional Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891055#M1689010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to pull from a custom table and few standard tables checking certain conditon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 16:02:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891055#M1689010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-02T16:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Create RFC Functional Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891056#M1689011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any standard RFC would support for all criteria? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 16:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891056#M1689011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-02T16:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Create RFC Functional Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891057#M1689012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep normal select entries and get data into final table and display.You start and post if need any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 16:15:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891057#M1689012</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2012-08-02T16:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Create RFC Functional Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891058#M1689013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Get the RFC destinations of type 3 created in SE59 with the help of Basis Guys.&lt;BR /&gt;2.Create the RFC enabled Function module in the source as well as the target system ie if you are running the program in system X and intend to get the data from System Y back to system X then the RFC Fm should be present in both the systems ie X and Y (source and target)&lt;BR /&gt;3.To pass a range of selections as an input to the RFC FM you declare an internal table in TABLES tab of the RFC FM with associated type as RFC_DB_OPT.(input)&lt;BR /&gt;4.To get back the data from the target to Source declare one internal table of the desired structure(output) in TABLES tab of the RFC FM.&lt;BR /&gt;5.call ZFM_FM destination DEV010 (DEV010 is an example RFC destination which needs to be replaced by the actual RFC Destination that the Basis guys had created )&lt;BR /&gt;6.Handle the exceptions.&lt;BR /&gt;7.How to debug an RFC FM.&lt;BR /&gt;Add a piece of code in the FM as below.Comment it in the source system but in the target system uncomment it whenever you want to debug the RFC FM in the target system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA:c_x TYPE c.&lt;BR /&gt;&amp;nbsp; DO.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF c_x = 'X'.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXIT.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;BR /&gt;&amp;nbsp; ENDDO.&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Put a break point in the source system at the RFC FM and execute it.This will make the program in the source system run in endless loop.&lt;BR /&gt;b) Go to the target system and get into SM50.Here you will find an entry with your RFC FM.&lt;BR /&gt;C) select it and choose the PROGRAM/MODE&amp;gt;&amp;gt;PROGRAM&amp;gt;&amp;gt;DEBUGGING.&lt;BR /&gt;d) you will get a pop up whether you want to debug.Click on YES and it will take you into the debugging screen for the RFC FM.Make the variable C_X as X and continue your debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 05:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-create-rfc-functional-module/m-p/8891058#M1689013</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2012-08-03T05:53:06Z</dc:date>
    </item>
  </channel>
</rss>

