<?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: Doubt in Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851783#M1885758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Teja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to pass multiple lines of data to your FM or your FM returns multiple lines of data then this TABLES tab is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For better understanding, you can execute standard FM's in se37 then you will get an idea how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jan 2015 09:02:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-01-23T09:02:18Z</dc:date>
    <item>
      <title>Doubt in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851776#M1885751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello People !!&lt;/P&gt;&lt;P&gt;I am new to sap ABAP World. while i am learning Function modules in SAP ABAP, i have got some doubts about tables tab in the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood follwoing things&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import tab : here we pass the input &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source code : we put our logic to get the output here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export : output is stored in this varialbes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i did not understand 'TABLES' Tab over here Properly. I read some documents about it ,but still not understood properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in understanding this&amp;nbsp; with the simple example ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Teja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 08:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851776#M1885751</guid>
      <dc:creator>teja_divya</dc:creator>
      <dc:date>2015-01-23T08:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851777#M1885752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Teja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which used to declare internal table parameters for function module.&lt;/P&gt;&lt;P&gt;But it is now obsolete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreekanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 08:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851777#M1885752</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2015-01-23T08:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851778#M1885753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to pass select-option (via selection screen) to call a function module then TABLE tab is used to declare a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/630391" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/630382" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/630389" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can pass internal table data to function module...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 08:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851778#M1885753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-23T08:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851779#M1885754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Avirat!!&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1103/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 08:57:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851779#M1885754</guid>
      <dc:creator>teja_divya</dc:creator>
      <dc:date>2015-01-23T08:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851780#M1885755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnks Sreekanth for your information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 08:58:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851780#M1885755</guid>
      <dc:creator>teja_divya</dc:creator>
      <dc:date>2015-01-23T08:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851781#M1885756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Teja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want SET / GET inforamtion in TABLE tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just pass the structure in &lt;STRONG&gt;Associated Type&lt;/STRONG&gt; Field, the parameter itself work as a table in FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Praveer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 09:00:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851781#M1885756</guid>
      <dc:creator>ipravir</dc:creator>
      <dc:date>2015-01-23T09:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851782#M1885757</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;The IMPORT shall have single Import parameters,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXP&lt;SPAN style="font-size: 13.3333330154419px;"&gt;ORT shall have single export parameters &lt;/SPAN&gt; and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES shall have multiple parameters .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinodkumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 09:01:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851782#M1885757</guid>
      <dc:creator>vinodkumar_thangavel</dc:creator>
      <dc:date>2015-01-23T09:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851783#M1885758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Teja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to pass multiple lines of data to your FM or your FM returns multiple lines of data then this TABLES tab is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For better understanding, you can execute standard FM's in se37 then you will get an idea how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 09:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851783#M1885758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-23T09:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851784#M1885759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;TABLES&lt;/STRONG&gt;&lt;/SPAN&gt; parameters are table parameters. Table parameters are obsolete &lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;CHANGING&lt;/STRONG&gt;&lt;/SPAN&gt; parameters that are typed as &lt;A href="http://help.sap.com/abapdocu_70/en/ABENSTANDARD_TABLE_GLOSRY.htm" style="color: #505050;"&gt;standard tables&lt;/A&gt; with a &lt;A href="http://help.sap.com/abapdocu_70/en/ABENHEADER_LINE_GLOSRY.htm" style="color: #505050;"&gt;header line&lt;/A&gt;. If an internal table without a header line or a &lt;A href="http://help.sap.com/abapdocu_70/en/ABENTABLE_BODY_GLOSRY.htm" style="color: #505050;"&gt;table body&lt;/A&gt;is passed as an actual parameter to a formal parameter of this type, an empty local header line is generated in the function module. If an internal table with a header line is used as an actual parameter, both the table body and the header line are passed to the function module.&lt;STRONG&gt; Pass by value is not possible in formal parameters defined using&lt;/STRONG&gt; &lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;TABLES&lt;/STRONG&gt;&lt;/SPAN&gt;. Formal parameters defined with &lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;TABLES&lt;/STRONG&gt;&lt;/SPAN&gt; can be replaced by formal parameters defined with &lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;CHANGING&lt;/STRONG&gt;&lt;/SPAN&gt;. A local work area can be created for the internal table in the function module by using the addition &lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LIKE LINE OF itab&lt;/STRONG&gt;&lt;/SPAN&gt; of the &lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;DATA&lt;/STRONG&gt;&lt;/SPAN&gt; statement.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 09:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851784#M1885759</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2015-01-23T09:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851785#M1885760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sreekanth , can you help me by giving an example for this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 10:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851785#M1885760</guid>
      <dc:creator>teja_divya</dc:creator>
      <dc:date>2015-01-23T10:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851786#M1885761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG&gt;Pass by value is not possible in formal parameters defined using&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 10pt; background: transparent; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;TABLES.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Did u get this point?&lt;/P&gt;&lt;P&gt;we don't have an option to choose 'Pass by value' for Tables parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual parameter- The variable passing to FM&lt;/P&gt;&lt;P&gt;Formal Parameter- The variable name defined in FM&lt;/P&gt;&lt;P&gt;Pass by value- Passing a copy of actual parameter to formal parameter&lt;/P&gt;&lt;P&gt;Pass by reference- Passing a reference(like pointer) to formal parameter.(So that the changes from FM will affect the actual parameter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since TABLES obsolete we can define a table parameter in Import or Export list.&lt;/P&gt;&lt;P&gt;Remember here we require a &lt;STRONG&gt;table type(&lt;/STRONG&gt;can be created from se11&lt;STRONG&gt;)&lt;/STRONG&gt; to define a table parameter. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 10:28:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-function-module/m-p/10851786#M1885761</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2015-01-23T10:28:00Z</dc:date>
    </item>
  </channel>
</rss>

