<?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: Retaining the data in the MEMORY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/retaining-the-data-in-the-memory/m-p/4632101#M1090776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;export and imports will work only when you define the parameters with same name and type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: matnr type mara-matnr.

export matnr from matnr to memory id 'AAA'. 
"need to define variable same in the import side
"exactly with the same name&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import side&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: matnr type mara-matnr.

import matnr to matnr from memory id 'AAA'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Oct 2008 04:24:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-24T04:24:31Z</dc:date>
    <item>
      <title>Retaining the data in the MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retaining-the-data-in-the-memory/m-p/4632099#M1090774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to store a data in the Memory (using the EXPORT and IMPORT statement) during GR creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I wanted is that the value that will be coming from BADI MB_DOCUMENT_BADI (this is where I put my Exporting) will be passed to BADI LE_SHP_DELIVERY_PROC (this is where I put my Import)....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I debug, nothing is retrieved from the memory when I reached my 2nd BADI. But the Export - Import is working when I tried it to another BADIs. But I need the data in my 2nd BADI 'coz at this BADI, the material document is already created. The other BADIs that are able to retrieve the data in the memory is not appropriate because Mat. Doc. is not yet created to those BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated and rewarded. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 02:47:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retaining-the-data-in-the-memory/m-p/4632099#M1090774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T02:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Retaining the data in the MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retaining-the-data-in-the-memory/m-p/4632100#M1090775</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;Which method in the BADI mb_document_badi are you exporting the values..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in which method are you importing the values..&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>Fri, 24 Oct 2008 03:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retaining-the-data-in-the-memory/m-p/4632100#M1090775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T03:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Retaining the data in the MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retaining-the-data-in-the-memory/m-p/4632101#M1090776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;export and imports will work only when you define the parameters with same name and type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: matnr type mara-matnr.

export matnr from matnr to memory id 'AAA'. 
"need to define variable same in the import side
"exactly with the same name&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import side&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: matnr type mara-matnr.

import matnr to matnr from memory id 'AAA'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 04:24:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retaining-the-data-in-the-memory/m-p/4632101#M1090776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T04:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Retaining the data in the MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retaining-the-data-in-the-memory/m-p/4632102#M1090777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your time for the 2 of you. I've already managed it now. I've found another BADI to do my IMPORTING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used MB_DOCUMENT_BADI for my EXPORTING&lt;/P&gt;&lt;P&gt;and DELIVERY_PUBLISH for my IMPORTING...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day ahead!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 06:24:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retaining-the-data-in-the-memory/m-p/4632102#M1090777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T06:24:25Z</dc:date>
    </item>
  </channel>
</rss>

