<?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 Session memory / Program memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/session-memory-program-memory/m-p/2950042#M695592</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;I have never used the memory concept. Can somebody please explain how it can be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to create a unique ID in a User Exit of a particular standard process and export it and read this unique id in the next user exit of the same program. The idea is that this id remains unique, for one run of a standard program. If the same program is run in parallel, another unique id is created and only that is is picked up in the following user exit for that run of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise how this can be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Oct 2007 13:19:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-17T13:19:11Z</dc:date>
    <item>
      <title>Session memory / Program memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/session-memory-program-memory/m-p/2950042#M695592</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;I have never used the memory concept. Can somebody please explain how it can be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to create a unique ID in a User Exit of a particular standard process and export it and read this unique id in the next user exit of the same program. The idea is that this id remains unique, for one run of a standard program. If the same program is run in parallel, another unique id is created and only that is is picked up in the following user exit for that run of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise how this can be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 13:19:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/session-memory-program-memory/m-p/2950042#M695592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T13:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Session memory / Program memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/session-memory-program-memory/m-p/2950043#M695593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Archana...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The memory concept is simple....just you upload a value the abap memory with unique ID....&lt;/P&gt;&lt;P&gt;for this purpose to upload to the abap memory use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID pid FIELD dobj&lt;/P&gt;&lt;P&gt;ie:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'YOURID' FIELD VALUE -&amp;gt;value you want to upload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To download the value....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID pid FIELD dobj&lt;/P&gt;&lt;P&gt;ie:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID 'YOURID' FIELD VALUE -&amp;gt;variable to input the value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More samples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: carrier     TYPE spfli-carrid, &lt;/P&gt;&lt;P&gt;      connection  TYPE spfli-connid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  SELECT carrid connid &lt;/P&gt;&lt;P&gt;         FROM spfli &lt;/P&gt;&lt;P&gt;         INTO (carrier, connection). &lt;/P&gt;&lt;P&gt;    WRITE: / carrier HOTSPOT, connection HOTSPOT. &lt;/P&gt;&lt;P&gt;    HIDE:  carrier, connection. &lt;/P&gt;&lt;P&gt;  ENDSELECT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION. &lt;/P&gt;&lt;P&gt;  SET PARAMETER ID: 'CAR' FIELD carrier, &lt;/P&gt;&lt;P&gt;                    'CON' FIELD connection. &lt;/P&gt;&lt;P&gt;  CALL TRANSACTION 'DEMO_TRANSACTION'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: para TYPE tpara-paramid VALUE 'RID', &lt;/P&gt;&lt;P&gt;      prog TYPE sy-repid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID para FIELD prog. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0. &lt;/P&gt;&lt;P&gt;  MESSAGE 'Parameter not found' TYPE 'I'. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the documentation for more info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 13:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/session-memory-program-memory/m-p/2950043#M695593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T13:23:46Z</dc:date>
    </item>
  </channel>
</rss>

