<?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: Function modules &amp; IT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-it/m-p/4472943#M1059422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) &lt;/P&gt;&lt;P&gt;If you call a function module within a program they will be loaded into the same LUW (logical unit of work) hence you have access to the report variables even if you are within the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the debugger: (Report_name)variable_name&lt;/P&gt;&lt;P&gt;in the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
constants: lc_variable type char60 value '(Main_Program)Variable_name'.                                                                  
data: lv_temp type variable_type.

FIELD-SYMBOLS:&amp;nbsp;&amp;lt;fs_any&amp;gt;&amp;nbsp;type&amp;nbsp;variable_type.                                                                     assign&amp;nbsp;(lc_variable)&amp;nbsp;to&amp;nbsp;&amp;lt;fs_any&amp;gt;.                                                                                if&amp;nbsp;&amp;lt;fs_any&amp;gt;&amp;nbsp;is&amp;nbsp;assigned. 
  lv_temp&amp;nbsp;=&amp;nbsp;&amp;lt;fs_any&amp;gt;. 
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you would have the variable content from the main program in lv_temp in the function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) &lt;/P&gt;&lt;P&gt;I am not sure about the whole function group, but the main program and the data declarations definitely are because you are using those and in case you have form routines in there they are loaded as well. &lt;/P&gt;&lt;P&gt;Therefore I would say that the whole function group is loaded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) &lt;/P&gt;&lt;P&gt;Standard - YES&lt;/P&gt;&lt;P&gt;Sorted - YES - however this will cause the table to be resorted&lt;/P&gt;&lt;P&gt;Hashed - No append statement possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Sep 2008 19:14:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-16T19:14:04Z</dc:date>
    <item>
      <title>Function modules &amp; IT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-it/m-p/4472942#M1059421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have small doubts i.e..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) when we call a function module in a program,&lt;/P&gt;&lt;P&gt;into which memory both the function module and program are lodaded i.e.. both are loaded into one memory or loaded into different memories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) when we call a function module in a program,&lt;/P&gt;&lt;P&gt;only function module is loaded or total function group is loaded into memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) can we append records to any table ....&lt;/P&gt;&lt;P&gt;i.e.. standard table, sorted table, hashed table..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 18:46:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-it/m-p/4472942#M1059421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T18:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules &amp; IT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-it/m-p/4472943#M1059422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) &lt;/P&gt;&lt;P&gt;If you call a function module within a program they will be loaded into the same LUW (logical unit of work) hence you have access to the report variables even if you are within the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the debugger: (Report_name)variable_name&lt;/P&gt;&lt;P&gt;in the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
constants: lc_variable type char60 value '(Main_Program)Variable_name'.                                                                  
data: lv_temp type variable_type.

FIELD-SYMBOLS:&amp;nbsp;&amp;lt;fs_any&amp;gt;&amp;nbsp;type&amp;nbsp;variable_type.                                                                     assign&amp;nbsp;(lc_variable)&amp;nbsp;to&amp;nbsp;&amp;lt;fs_any&amp;gt;.                                                                                if&amp;nbsp;&amp;lt;fs_any&amp;gt;&amp;nbsp;is&amp;nbsp;assigned. 
  lv_temp&amp;nbsp;=&amp;nbsp;&amp;lt;fs_any&amp;gt;. 
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you would have the variable content from the main program in lv_temp in the function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) &lt;/P&gt;&lt;P&gt;I am not sure about the whole function group, but the main program and the data declarations definitely are because you are using those and in case you have form routines in there they are loaded as well. &lt;/P&gt;&lt;P&gt;Therefore I would say that the whole function group is loaded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) &lt;/P&gt;&lt;P&gt;Standard - YES&lt;/P&gt;&lt;P&gt;Sorted - YES - however this will cause the table to be resorted&lt;/P&gt;&lt;P&gt;Hashed - No append statement possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 19:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-it/m-p/4472943#M1059422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T19:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules &amp; IT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-it/m-p/4472944#M1059423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u for your quick response,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can i known why we cannot append record to hashed table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 19:24:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-it/m-p/4472944#M1059423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T19:24:10Z</dc:date>
    </item>
  </channel>
</rss>

