<?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 Variable in Inbound IDoc Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-variable-in-inbound-idoc-function-module/m-p/8792399#M1679311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The global function group memory is shared within the same internal session. In parallel IDoc processing, you will have separate internal (likely even external) sessions, so there should not be a conflict.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also &lt;A href="http://help.sap.com/abapdocu_70/en/ABENMEMORY_ORGANIZATION.htm"&gt;http://help.sap.com/abapdocu_731/en/ABENMEMORY_ORGANIZATION.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However as a programming guideline, using global variables should be reduced as much as possible anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2012 11:54:26 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2012-06-19T11:54:26Z</dc:date>
    <item>
      <title>Global Variable in Inbound IDoc Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-variable-in-inbound-idoc-function-module/m-p/8792398#M1679310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on my understand, global variable can be shared / changed by function modules that shares the same function pool. So if function modules is being invoked simultaneously, the change on one global variable will impact the value of the same variable on the other instance of function module. Is my understanding right so that the developers shall never use a global variable in a Idoc inbound processing function module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YN Mao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 09:16:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-variable-in-inbound-idoc-function-module/m-p/8792398#M1679310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-19T09:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Global Variable in Inbound IDoc Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-variable-in-inbound-idoc-function-module/m-p/8792399#M1679311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The global function group memory is shared within the same internal session. In parallel IDoc processing, you will have separate internal (likely even external) sessions, so there should not be a conflict.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also &lt;A href="http://help.sap.com/abapdocu_70/en/ABENMEMORY_ORGANIZATION.htm"&gt;http://help.sap.com/abapdocu_731/en/ABENMEMORY_ORGANIZATION.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However as a programming guideline, using global variables should be reduced as much as possible anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 11:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-variable-in-inbound-idoc-function-module/m-p/8792399#M1679311</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-06-19T11:54:26Z</dc:date>
    </item>
  </channel>
</rss>

