<?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 group full in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-group-full/m-p/7314778#M1536046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sharing data objects (i.e those defined in TOP include) is only applicable for programs within same &lt;STRONG&gt;program group&lt;/STRONG&gt; . Each internal session has at least one such group called &lt;STRONG&gt;main program group&lt;/STRONG&gt; . If you call an external subroutine, the main program of this sobroutine is placed within caller's &lt;STRONG&gt;main program group&lt;/STRONG&gt; . Here the shared data are &lt;EM&gt;TABLES, NODES&lt;/EM&gt; and &lt;EM&gt;COMMON PART&lt;/EM&gt; . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversely, when you call Function Module, its Function Group is placed in &lt;STRONG&gt;additonal program group&lt;/STRONG&gt; of same caller's internal session. Here you don't have the possibility to share data objects. The only resonable apporach is exchanging data using &lt;EM&gt;ABAP memory&lt;/EM&gt; (as both program groups reside in same internal session). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other approach I am thinking of is to create two generic Function Modules one for read generically data objects (from FG top include) and one to set it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach is to use field symbols and assign with direct program name designation. More on this &lt;SPAN __jive_macro_name="thread" id="1721038"&gt;&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please note!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am not sure if the last approach is going to work b/w different FGs. This works fine with external subroutine call, which was the subject of first paragraph. But in FG context this may not work due to &lt;EM&gt;program groups&lt;/EM&gt; reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Sep 2010 14:47:37 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2010-09-14T14:47:37Z</dc:date>
    <item>
      <title>function group full</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-group-full/m-p/7314774#M1536042</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 reached 100 function modules within my function group. The system will not let me create new function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to extend the amount of function modules possible within an existing function group..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Rael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 13:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-group-full/m-p/7314774#M1536042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-14T13:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: function group full</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-group-full/m-p/7314775#M1536043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not possible, there is only two digits reserved for the internal counter (see table TFDIR). Delete some, combine some, create another group...&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 13:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-group-full/m-p/7314775#M1536043</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2010-09-14T13:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: function group full</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-group-full/m-p/7314776#M1536044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your response.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know if there is a way to share the 'top' include across 2 different function groups.....so if i created a new function group (as you suggested), what is the best way to 'share' or still have access to the includes/subroutines in the 1st function group..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is that simply not possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Rael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 14:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-group-full/m-p/7314776#M1536044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-14T14:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: function group full</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-group-full/m-p/7314777#M1536045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could create another Z-include that you insert into both TOP-includes, similar for the form routines. Be aware though that the two separate function groups do not share the global function group memory, this might be an issue or not, depending what you are actually doing.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. maybe the solution would be to switch to classes and methods, but I'll leave that suggestion to the OO geeks &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 14:41:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-group-full/m-p/7314777#M1536045</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2010-09-14T14:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: function group full</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-group-full/m-p/7314778#M1536046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sharing data objects (i.e those defined in TOP include) is only applicable for programs within same &lt;STRONG&gt;program group&lt;/STRONG&gt; . Each internal session has at least one such group called &lt;STRONG&gt;main program group&lt;/STRONG&gt; . If you call an external subroutine, the main program of this sobroutine is placed within caller's &lt;STRONG&gt;main program group&lt;/STRONG&gt; . Here the shared data are &lt;EM&gt;TABLES, NODES&lt;/EM&gt; and &lt;EM&gt;COMMON PART&lt;/EM&gt; . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversely, when you call Function Module, its Function Group is placed in &lt;STRONG&gt;additonal program group&lt;/STRONG&gt; of same caller's internal session. Here you don't have the possibility to share data objects. The only resonable apporach is exchanging data using &lt;EM&gt;ABAP memory&lt;/EM&gt; (as both program groups reside in same internal session). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other approach I am thinking of is to create two generic Function Modules one for read generically data objects (from FG top include) and one to set it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach is to use field symbols and assign with direct program name designation. More on this &lt;SPAN __jive_macro_name="thread" id="1721038"&gt;&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please note!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am not sure if the last approach is going to work b/w different FGs. This works fine with external subroutine call, which was the subject of first paragraph. But in FG context this may not work due to &lt;EM&gt;program groups&lt;/EM&gt; reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 14:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-group-full/m-p/7314778#M1536046</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-09-14T14:47:37Z</dc:date>
    </item>
  </channel>
</rss>

