<?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: Global data in Function Group in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902095#M376552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best Idea is to use the Global Definition in TOP include at Function Group level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may be loosing data.. .Because U may have called this FM in Different reports... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u call all FMs in SAME report then the Global Data will remain present all the time.. there is no second thought about that..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward this if u are convinced....:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DARSHAN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2007 18:51:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-21T18:51:49Z</dc:date>
    <item>
      <title>Global data in Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902088#M376545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Consultants,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is, i have created one function group and it holds around 6 function modules. when i call my first FM in the group, i want to pass header data and store as a global data and i want to use the same data in other FM also. I don't want pass the same data all the times. how is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried by declaring as STATICS but no use..:-(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 17:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902088#M376545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T17:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Global data in Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902089#M376546</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;Declare the internal tables in the TOP INCLUDE of the function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 17:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902089#M376546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T17:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Global data in Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902090#M376547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes i declared as a global variables only. but i am loosing data when the second FM is called..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 17:59:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902090#M376547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T17:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Global data in Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902091#M376548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare those ITABs as global @ the top include so that they can be accessed anywhere in the program .... but it is not a good practise ... u shud pass those tables to the table parameters of each FM...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bbye tac care&lt;/P&gt;&lt;P&gt;Ashwani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 18:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902091#M376548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T18:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Global data in Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902092#M376549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare your internal table in the &amp;lt;functiongroup&amp;gt;TOP  INCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will be globally avialable to all the function modules defined under the function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 18:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902092#M376549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T18:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Global data in Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902093#M376550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes i declared as a global variables only. but i am loosing data when the second FM is called..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 18:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902093#M376550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T18:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Global data in Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902094#M376551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am able to solve this using below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of passing the header data through FM first time, i have exported data to memory in my program and in the first FM i have imported the same and now i am able to use the same in all FM with out passing header data all the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please share your thoughts..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 18:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902094#M376551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T18:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Global data in Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902095#M376552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best Idea is to use the Global Definition in TOP include at Function Group level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may be loosing data.. .Because U may have called this FM in Different reports... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u call all FMs in SAME report then the Global Data will remain present all the time.. there is no second thought about that..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward this if u are convinced....:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DARSHAN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 18:51:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902095#M376552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T18:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Global data in Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902096#M376553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Darshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nice to see ur confidence level... but unfortunately i am loosing data even though i am calling all the FM in one smartform only. I hope i am clear, i send all my header data (say IT_VBAK) through my first FM, i have declared IT_VBAK as global variable. but when i call my second FM with out passing IT_VBAK, with in my 2nd FM IT_VBAK is blank.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 19:03:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902096#M376553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T19:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Global data in Function Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902097#M376554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mohan,&lt;/P&gt;&lt;P&gt;what about a different approach? I am not familiar with smart forms but storing a state in global varibles is generally not the best solution on the long run. Is it possible with smartforms to use object instances? In this case you can solve the problem by returning a state object or by even replacing the fubas with a class-pool.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 19:30:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-data-in-function-group/m-p/1902097#M376554</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2007-02-21T19:30:21Z</dc:date>
    </item>
  </channel>
</rss>

