<?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: Internal &amp; External Session in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-external-session/m-p/3462822#M832108</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 way in which main memory is organized from the program's point of view can be represented easily. There is a distinction between internal and external sessions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, an external session corresponds to an R/3 window. You create new external sessions by&lt;/P&gt;&lt;P&gt;choosing System Create session or entering /o&amp;lt;tcode&amp;gt; in the command field. You can have up to six&lt;/P&gt;&lt;P&gt;external sessions open simultaneously in one terminal session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;External sessions are subdivided into internal sessions. Each program that you run occupies its own&lt;/P&gt;&lt;P&gt;internal session. Each external session can contain up to nine internal sessions.&lt;/P&gt;&lt;P&gt;The data in a program is only visible within that internal session, so it is only visible to the program.&lt;/P&gt;&lt;P&gt;The following pages illustrate how the stack inside an external session changes with various program calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a program, the system creates a new internal session, which contains the new program&lt;/P&gt;&lt;P&gt;context.&lt;/P&gt;&lt;P&gt;The new session is placed on the stack The program context of the calling program also remains on the&lt;/P&gt;&lt;P&gt;stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the called program finishes, its internal session (the top one in the stack) is deleted.&lt;/P&gt;&lt;P&gt;Processing is resumed in the next-highest internal session in the stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you end a program and start a new one, there is a difference between calling an executable program&lt;/P&gt;&lt;P&gt;and calling a transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you start an executable program using its program name, the internal session of the program you are&lt;/P&gt;&lt;P&gt;ending (the top one) is removed.&lt;/P&gt;&lt;P&gt;The system creates a new internal session, which contains the program context of the called program.&lt;/P&gt;&lt;P&gt;The new session is placed on the stack. Any program contexts that already existed are retained. The&lt;/P&gt;&lt;P&gt;topmost internal session on the stack is replaced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you start a program using its transaction code (if one is assigned), all of the existing internal sessions are&lt;/P&gt;&lt;P&gt;removed from the stack.&lt;/P&gt;&lt;P&gt;The system creates a new internal session, which contains the program context of the called program.&lt;/P&gt;&lt;P&gt;After the call, the ABAP memory is reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP memory is a user-specific memory area that you can use to store field values. It is only of limited&lt;/P&gt;&lt;P&gt;value for passing data between internal sessions. Values in SAP memory are retained for the duration of&lt;/P&gt;&lt;P&gt;the user's terminal session. The memory can be used between sessions in the same terminal session.&lt;/P&gt;&lt;P&gt;You can use the contents of SAP memory as default values for screen fields. All external sessions can&lt;/P&gt;&lt;P&gt;use the SAP memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP memory is also user-specific. There is a local ABAP memory for each external session. You can&lt;/P&gt;&lt;P&gt;use it to exchange any ABAP variables (fields, structures, internal tables, complex objects) between the&lt;/P&gt;&lt;P&gt;internal sessions in any one external session.&lt;/P&gt;&lt;P&gt;When the user exits an external session (/i in the command field), the corresponding ABAP memory is&lt;/P&gt;&lt;P&gt;automatically initialized or released.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope this helps, Do reward.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2008 09:45:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-14T09:45:40Z</dc:date>
    <item>
      <title>Internal &amp; External Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-external-session/m-p/3462819#M832105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the concept of internal &amp;amp; external session in SAP Memory &amp;amp; ABAP memory??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 09:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-external-session/m-p/3462819#M832105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T09:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Internal &amp; External Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-external-session/m-p/3462820#M832106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;Each new SAP window that opens after you click on the "Create New Session" button or user command /o creates an External session. Internal session on the hand is when you drill down in a report or a transaction within one SAP window ( example when you double clikc on a row on the report and it takes you to some other report or transaction ) There can be 6 external sessions and 20 internal sessions withing each external sessions.&lt;/P&gt;&lt;P&gt;Now the SAP memory is available throughout all the external sessions and we use SET and GET parameter statement to set and get the data from the SAP memory.&lt;/P&gt;&lt;P&gt;But the ABAP memory is available only within one session but across all internal seesions within that session. And we use Import and Export statements in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 13:16:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-external-session/m-p/3462820#M832106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T13:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Internal &amp; External Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-external-session/m-p/3462821#M832107</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;follow this link this may be helpful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/2007/05/abap-memory.html" target="test_blank"&gt;http://abapprogramming.blogspot.com/2007/05/abap-memory.html&lt;/A&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;vineela.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 09:39:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-external-session/m-p/3462821#M832107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T09:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Internal &amp; External Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-external-session/m-p/3462822#M832108</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 way in which main memory is organized from the program's point of view can be represented easily. There is a distinction between internal and external sessions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, an external session corresponds to an R/3 window. You create new external sessions by&lt;/P&gt;&lt;P&gt;choosing System Create session or entering /o&amp;lt;tcode&amp;gt; in the command field. You can have up to six&lt;/P&gt;&lt;P&gt;external sessions open simultaneously in one terminal session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;External sessions are subdivided into internal sessions. Each program that you run occupies its own&lt;/P&gt;&lt;P&gt;internal session. Each external session can contain up to nine internal sessions.&lt;/P&gt;&lt;P&gt;The data in a program is only visible within that internal session, so it is only visible to the program.&lt;/P&gt;&lt;P&gt;The following pages illustrate how the stack inside an external session changes with various program calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a program, the system creates a new internal session, which contains the new program&lt;/P&gt;&lt;P&gt;context.&lt;/P&gt;&lt;P&gt;The new session is placed on the stack The program context of the calling program also remains on the&lt;/P&gt;&lt;P&gt;stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the called program finishes, its internal session (the top one in the stack) is deleted.&lt;/P&gt;&lt;P&gt;Processing is resumed in the next-highest internal session in the stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you end a program and start a new one, there is a difference between calling an executable program&lt;/P&gt;&lt;P&gt;and calling a transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you start an executable program using its program name, the internal session of the program you are&lt;/P&gt;&lt;P&gt;ending (the top one) is removed.&lt;/P&gt;&lt;P&gt;The system creates a new internal session, which contains the program context of the called program.&lt;/P&gt;&lt;P&gt;The new session is placed on the stack. Any program contexts that already existed are retained. The&lt;/P&gt;&lt;P&gt;topmost internal session on the stack is replaced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you start a program using its transaction code (if one is assigned), all of the existing internal sessions are&lt;/P&gt;&lt;P&gt;removed from the stack.&lt;/P&gt;&lt;P&gt;The system creates a new internal session, which contains the program context of the called program.&lt;/P&gt;&lt;P&gt;After the call, the ABAP memory is reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP memory is a user-specific memory area that you can use to store field values. It is only of limited&lt;/P&gt;&lt;P&gt;value for passing data between internal sessions. Values in SAP memory are retained for the duration of&lt;/P&gt;&lt;P&gt;the user's terminal session. The memory can be used between sessions in the same terminal session.&lt;/P&gt;&lt;P&gt;You can use the contents of SAP memory as default values for screen fields. All external sessions can&lt;/P&gt;&lt;P&gt;use the SAP memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP memory is also user-specific. There is a local ABAP memory for each external session. You can&lt;/P&gt;&lt;P&gt;use it to exchange any ABAP variables (fields, structures, internal tables, complex objects) between the&lt;/P&gt;&lt;P&gt;internal sessions in any one external session.&lt;/P&gt;&lt;P&gt;When the user exits an external session (/i in the command field), the corresponding ABAP memory is&lt;/P&gt;&lt;P&gt;automatically initialized or released.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope this helps, Do reward.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 09:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-external-session/m-p/3462822#M832108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T09:45:40Z</dc:date>
    </item>
  </channel>
</rss>

