<?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: problem while exporting internal table to memory id using EXPORT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-exporting-internal-table-to-memory-id-using-export/m-p/4847336#M1133693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1.Till the time both the EXPORT statements are in different programs, they can refer to the same MEMORY ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However,if they are in the same program, then the last EXPORT statement will overwrite the contents of the Memory ID&lt;/P&gt;&lt;P&gt;2.Refer this:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="426475"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&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;Shiva Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2008 11:29:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-01T11:29:57Z</dc:date>
    <item>
      <title>problem while exporting internal table to memory id using EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-exporting-internal-table-to-memory-id-using-export/m-p/4847332#M1133689</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;Iam facing a following problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 4 line items in my va01 tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now when i give material number and quantity and hit enter the processing for that line item starts.&lt;/P&gt;&lt;P&gt;iam moving that current line item to a internal table lt_vbap in userexit_check_vbap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now for the 2nd line item also i have to move to internal table lt_vbap.&lt;/P&gt;&lt;P&gt;but my problem is that in internal table lt_vbap iam not getting all the line items.&lt;/P&gt;&lt;P&gt;every time the current line item is being processed the the previous line items are being refreshed.&lt;/P&gt;&lt;P&gt;from lt_vbap internal table.&lt;/P&gt;&lt;P&gt;how can i export internal table.&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move vbap to lt_vbap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append lt_vbap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export lt_vbap to memory id 'ZXYZ'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 11:22:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-exporting-internal-table-to-memory-id-using-export/m-p/4847332#M1133689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T11:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem while exporting internal table to memory id using EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-exporting-internal-table-to-memory-id-using-export/m-p/4847333#M1133690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal table lt_vbap will always be empty unless you import it from the Memory ID (in your case ZXYX).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the code this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IMPORT lt_vbap FROM MEMORY ID 'ZXYX'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move vbap to lt_vbap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append lt_vbap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export lt_vbap to memory id 'ZXYZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash Pandey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 11:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-exporting-internal-table-to-memory-id-using-export/m-p/4847333#M1133690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T11:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem while exporting internal table to memory id using EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-exporting-internal-table-to-memory-id-using-export/m-p/4847334#M1133691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through the KEY word documenation of IMPORT EXPORT or SET GET PARAMETERS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the standard table INDX(HK) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will solve your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 11:26:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-exporting-internal-table-to-memory-id-using-export/m-p/4847334#M1133691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T11:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: problem while exporting internal table to memory id using EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-exporting-internal-table-to-memory-id-using-export/m-p/4847335#M1133692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi Priyanka,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; The internal table lt_vbap will always be empty unless you import it from the Memory ID (in your case ZXYX).&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Use the code this way:&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;STRONG&gt;IMPORT lt_vbap FROM MEMORY ID 'ZXYX'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; move vbap to lt_vbap.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; append lt_vbap.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; export lt_vbap to memory id 'ZXYZ'.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Prakash Pandey&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The memory id shud be same in both cases&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 11:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-exporting-internal-table-to-memory-id-using-export/m-p/4847335#M1133692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T11:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem while exporting internal table to memory id using EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-exporting-internal-table-to-memory-id-using-export/m-p/4847336#M1133693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1.Till the time both the EXPORT statements are in different programs, they can refer to the same MEMORY ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However,if they are in the same program, then the last EXPORT statement will overwrite the contents of the Memory ID&lt;/P&gt;&lt;P&gt;2.Refer this:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="426475"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&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;Shiva Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 11:29:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-exporting-internal-table-to-memory-id-using-export/m-p/4847336#M1133693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T11:29:57Z</dc:date>
    </item>
  </channel>
</rss>

