<?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: Perform Inside a RFC function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857992#M362535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing both Itab and variables in the perform.&lt;/P&gt;&lt;P&gt;and in the form part I am geeting error because I am mentioning both itab and variable parameteres.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Iff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Feb 2007 07:00:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-01T07:00:04Z</dc:date>
    <item>
      <title>Perform Inside a RFC function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857983#M362526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a perform inside an RFC function module,&lt;/P&gt;&lt;P&gt;In the perform I have used the select statmetns to fill the internal table , but once the perform subroutine is completed , then the internal table iniside the perform is not passing data to the table in the RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please suggest the method to pass the data in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Iff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 04:50:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857983#M362526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T04:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Perform Inside a RFC function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857984#M362527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;Please check the follwing &lt;/P&gt;&lt;P&gt;  Where is the perfom defined ?&lt;/P&gt;&lt;P&gt;, are you declaring local varaibles in the subroutine to store the data , &lt;/P&gt;&lt;P&gt;pass you internal table as a parameter to the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 04:53:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857984#M362527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T04:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Perform Inside a RFC function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857985#M362528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi IFF,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  1.  Declare the Internal Table Globaly in Function module.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  2. In perform statment use the internal table as parameter in TABLES statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  3.IN RFC FM also Use the Internal table in Tables tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Now it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 04:54:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857985#M362528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T04:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Perform Inside a RFC function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857986#M362529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;        One way is to declare the internal table in the TOP include of this RFC function modules function group then after the perform this internal table will still have the data and this can be accessed in the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       Another way is to pass the Internal table to the subroutine either with the help of USING or CHANGING. Create this internal table before the perform call and then populate it in the perform. ONce perform is over you will be able to access the data in the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 04:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857986#M362529</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-02-01T04:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Perform Inside a RFC function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857987#M362530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing 3 variables with the  form in the subroutine,&lt;/P&gt;&lt;P&gt;But I am getting the resultant table filled inside the form of a subroutine,&lt;/P&gt;&lt;P&gt;How to pass this filled table out side the subroutine.&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;Irfan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 04:56:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857987#M362530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T04:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Perform Inside a RFC function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857988#M362531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Either you assign this internal table to a global internal table which you will declare in the TOP include of the FM, this is possible only if this subroutine belongs to the same function group as that of the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you pass this internal table as a parameter to the subroutine from the FM itself using CHANGING or TABLES statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use CHANGING only if this internal table us typed after a DDIC table type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Seshatalpasai Madala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 04:59:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857988#M362531</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-02-01T04:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Perform Inside a RFC function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857989#M362532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  In subroutine you have the additions CHANGING and TABLES , usually tables is not used.&lt;/P&gt;&lt;P&gt;So what you can do is in addition to the parameters you are passing pass the internal table in which you want the result to the subroutin as a changing parameter ,and after selecting your data populate this internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or a simple option would be to declare the IT you are currently using in the subroutine as a global varaible and use this in your further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do revert back in case you want more info..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regadrs&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 05:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857989#M362532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T05:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Perform Inside a RFC function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857990#M362533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am using the Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform Validation1  tables ITab&lt;/P&gt;&lt;P&gt;                              USING par1 par2 par3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the form statment i am getting error for the table part to get it declared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please suggest the method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Iff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 06:26:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857990#M362533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T06:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Perform Inside a RFC function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857991#M362534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  Here is a sample code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data : it_1 type table of matnr ,
       v_matnr type matnr.

start-of-selection.

perform get_matnr using it_1.

loop at it_1 into v_matnr.
write / v_matnr.
endloop.
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  get_matnr
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      --&amp;gt;P_IT_1  text
*----------------------------------------------------------------------*
form get_matnr using    p_it_1 like it_1[].  "This decleration is required for tables

data : it_2 type table of matnr.

select matnr into table it_2
up to 10 rows
from mara.

p_it_1[] = it_2[].

endform.                    " get_matnr&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also define the form this way&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;form get_matnr using    p_it_1 type table.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do revert back in case you have any queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 06:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857991#M362534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T06:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Perform Inside a RFC function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857992#M362535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing both Itab and variables in the perform.&lt;/P&gt;&lt;P&gt;and in the form part I am geeting error because I am mentioning both itab and variable parameteres.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Iff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 07:00:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857992#M362535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T07:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Perform Inside a RFC function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857993#M362536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi IFF,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; u could even think of Set Paramerer in the subroutin and pass the itab to SAP global memory and use Get Parameter in FM to retrieve ur itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hardik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 07:12:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-inside-a-rfc-function-module/m-p/1857993#M362536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T07:12:19Z</dc:date>
    </item>
  </channel>
</rss>

