<?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: create function module with option Remote Function Call Supported  (urgent) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-function-module-with-option-remote-function-call-supported-urgent/m-p/2960046#M698317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sree..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is same as how u create a Normal FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only Differences are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the FM attributes select PROCESSING TYPE as Remote Function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. All the Parameters (Import / Export / .. ) must be given as PASS BY VALUE only. Bcoz Remote FM does not support Pass by REF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IF HELPFUL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2007 07:29:41 GMT</pubDate>
    <dc:creator>varma_narayana</dc:creator>
    <dc:date>2007-10-12T07:29:41Z</dc:date>
    <item>
      <title>create function module with option Remote Function Call Supported  (urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-function-module-with-option-remote-function-call-supported-urgent/m-p/2960044#M698315</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;       I  got an urgent requirement to create function module with &amp;lt;b&amp;gt;Processing type&amp;lt;/b&amp;gt; Remote Function Call Supported option On. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       Can anybody give me a detail explaination on how to create this ..&lt;/P&gt;&lt;P&gt;            and selecting the data..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    my requirement is to select matnr   plant(werks) and storage location (lgort)&lt;/P&gt;&lt;P&gt;    from mara marc mard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       while retrieving data of each field from different table (i.e., matnr from mara,werks form marc , lgort from mard) i have to display messages if no record is found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i have to retrieve the data  and populate it to final internal table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have to return the no. of records retrieved also..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Plz help .. it is urgent..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have to do it by today evening &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I reward  if it is  helpful &lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 07:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-function-module-with-option-remote-function-call-supported-urgent/m-p/2960044#M698315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T07:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: create function module with option Remote Function Call Supported  (urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-function-module-with-option-remote-function-call-supported-urgent/m-p/2960045#M698316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Attributes of Function Module, you have to check the option "Remote call enabled". This will make the function RFC Enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to trap all the messages in the internal table. For RFC calls, you should not directly raise a message in SAP. You are required to trap the Message No, Message Type  and Message Contents in an internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 07:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-function-module-with-option-remote-function-call-supported-urgent/m-p/2960045#M698316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T07:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: create function module with option Remote Function Call Supported  (urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-function-module-with-option-remote-function-call-supported-urgent/m-p/2960046#M698317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sree..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is same as how u create a Normal FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only Differences are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the FM attributes select PROCESSING TYPE as Remote Function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. All the Parameters (Import / Export / .. ) must be given as PASS BY VALUE only. Bcoz Remote FM does not support Pass by REF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IF HELPFUL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 07:29:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-function-module-with-option-remote-function-call-supported-urgent/m-p/2960046#M698317</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-10-12T07:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: create function module with option Remote Function Call Supported  (urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-function-module-with-option-remote-function-call-supported-urgent/m-p/2960047#M698318</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;1. In the FM attributes select PROCESSING TYPE as Remote Function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. All the Parameters (Import / Export / .. ) must be given as PASS BY VALUE only. Bcoz Remote FM does not support Pass by REF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN UR PROGRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE A SELECTION SCREEN FOR FIELDS WHICH U WANT TO GET AND CREATE A RFC ENABLED FUNCTION MODULE AND A INTERNAL TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE A MESSAGE CLASS [SE91] AND USE IT IN RFC FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PASS ALL THE INPUT VALUES TO RFC FM AND DISPLAY MESSAGES IN THE RFC ITSELF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN CODING OF FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE A GLOBAL STRUCTURE IN FUNCTION POOL AND CREATE A TABLE OF DAT TYPE IN UR FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USE INNER JOIN FOR SELECTING ALL FIELDS FROM DIFFERENT TABLES AS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A&lt;SUB&gt;MATNR B&lt;/SUB&gt;WERKS C~LGORT FROM MARA AS A &lt;/P&gt;&lt;P&gt;           INNER JOIN MARC AS B ON A&lt;SUB&gt;MATNR = B&lt;/SUB&gt;MATNR&lt;/P&gt;&lt;P&gt;           INNER JOIN MARD AS C ON A&lt;SUB&gt;MATNR = C&lt;/SUB&gt;MATNR.&lt;/P&gt;&lt;P&gt;                INTO TABLE IT_ITAB WHERE MATNR = .................&lt;/P&gt;&lt;P&gt;                          &lt;/P&gt;&lt;P&gt;PASS UR INTERNAL FROM FM TO CALLING AREA AS A EXPORT PARAMETER FROM FM [ IT BECOMES IMPORT PARAMETER FOR CALLING AREA].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN UR REPORT PROGRAM DECLARE A VARIABLE WHICH HOLDS NO OF RECORDS AS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : NOREC TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;     WRITE:/10 ITAB-..........&lt;/P&gt;&lt;P&gt;                         .............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE ITAB LINES NOREC.&lt;/P&gt;&lt;P&gt;WRITE:/10 NOREC 'RECORDS ARE THERE IN INTERNAL TABLE ITAB'.&lt;/P&gt;&lt;P&gt;................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF HELPFUL REWARD SOME POINTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WITH REGARDS,&lt;/P&gt;&lt;P&gt;SURESH ALURI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 07:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-function-module-with-option-remote-function-call-supported-urgent/m-p/2960047#M698318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T07:49:01Z</dc:date>
    </item>
  </channel>
</rss>

