<?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: ABAP Memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/1888051#M372281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;One way to do this,&lt;/P&gt;&lt;P&gt;before assigning the value, check if the memory is filled with a value, if it is then, wait for some time before again assigning value to the memory field.&lt;/P&gt;&lt;P&gt;And in the other program after import, clear the field contents and continue with your processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Feb 2007 21:15:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-01T21:15:20Z</dc:date>
    <item>
      <title>ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/1888048#M372278</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;I'm importing and exporting some data in a user exit.&lt;/P&gt;&lt;P&gt;when I'm running the same transaction in 2 sessions in debug mode I've noticed that the second sessions data in memory is imported in 1 st sessions memory though the values (sales orders ) are different in both sessions.&lt;/P&gt;&lt;P&gt;I'm not freeing the memory in the program.&lt;/P&gt;&lt;P&gt;So to nail this down I've written a small program but the values are not copied.&lt;/P&gt;&lt;P&gt;Can anyone offer any reason for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 20:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/1888048#M372278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T20:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/1888049#M372279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does your EXPORT/IMPORT statements look like,  you are not using the shared buffer are ya?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 20:56:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/1888049#M372279</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-02-01T20:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/1888050#M372280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GET PARAMETER ID 'VF' FIELD zbelnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT i_vbrp FROM MEMORY ID 'm_vbrp'.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0..&lt;/P&gt;&lt;P&gt;do something.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT i_vbrp TO MEMORY ID 'm_vbrp'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after executing this in the 2nd session and I come back to first session in i_vbrp I can see the 2nd sessions data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually this was written by somebody else but we are having problems when we are processing two billing docs at the same time.Issue is the taxes from 2nd doc are copied into 1st doc and when I debugged saw the copy.&lt;/P&gt;&lt;P&gt;How do I know if I'm using shared buffer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 21:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/1888050#M372280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T21:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/1888051#M372281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;One way to do this,&lt;/P&gt;&lt;P&gt;before assigning the value, check if the memory is filled with a value, if it is then, wait for some time before again assigning value to the memory field.&lt;/P&gt;&lt;P&gt;And in the other program after import, clear the field contents and continue with your processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 21:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/1888051#M372281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T21:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/1888052#M372282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aries,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if there is any data identifying the document uniquely, you could create a internal table bis the identifier as key and the vbrp as data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, first import from memory, insert into the (possibly) empty table, then export it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, where you import from memory, import the internal table and read with identifier key. Delete the line after processing and export again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is no other key available, cou could create a GUID, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUID_CREATE'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ev_guid_16 = l_guid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is said to be always unique and will help you to identify the right entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 21:39:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/1888052#M372282</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-02-01T21:39:52Z</dc:date>
    </item>
  </channel>
</rss>

