<?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: exporting values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-values/m-p/3024655#M715118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this to export and import tables&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  data: wa_indx type indx.
  
  export tab = itab to database indx(xy) from wa_indx client
    sy-mandt
    id 'DETAILLIST'.


* to import 
  import tab = itab from database indx(xy)
   to wa_indx client sy-mandt id 'DETAILLIST'.

* deletes the data to save wastage of memory
    delete from database indx(xy)
      client sy-mandt
      id 'DETAILLIST'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kris Donald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2007 11:33:11 GMT</pubDate>
    <dc:creator>former_member189059</dc:creator>
    <dc:date>2007-10-30T11:33:11Z</dc:date>
    <item>
      <title>exporting values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-values/m-p/3024652#M715115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to export the overall limit and expected value for a line item in a framework PO.&lt;/P&gt;&lt;P&gt;When there is only one line item, it correctly exports the values like below..&lt;/P&gt;&lt;P&gt;v_sumlimit   = ch_esuh-sumlimit.&lt;/P&gt;&lt;P&gt;  v_commitment = ch_esuh-commitment.&lt;/P&gt;&lt;P&gt;EXPORT  v_commitment&lt;/P&gt;&lt;P&gt;TO MEMORY ID 'ESUH_PO_COMMIT'.&lt;/P&gt;&lt;P&gt;  EXPORT  v_sumlimit&lt;/P&gt;&lt;P&gt;TO MEMORY ID 'ESUH_PO_SUM'.&lt;/P&gt;&lt;P&gt;But when you have 2 line items , the above given code gets repeated and only the overall limit and the expected values of the second line item gets exported..How can we save the save the values depending on the number of line items in the PO and then export that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And how we get the values in the import side..Pls let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 11:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-values/m-p/3024652#M715115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T11:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: exporting values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-values/m-p/3024653#M715116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. you can try by exporting the full internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 11:29:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-values/m-p/3024653#M715116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T11:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: exporting values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-values/m-p/3024654#M715117</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;get all the item details in one internal table and then try to export it..Have a look at the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZGRO_EXPORT_MEM MESSAGE-ID ZZ LINE-SIZE 1000.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;TABLES: EKKO.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;DATA: I_EKKO TYPE TABLE OF EKKO WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;SELECT * FROM EKKO INTO TABLE I_EKKO UP TO 100 ROWS.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;EXPORT I_EKKO FROM I_EKKO TO MEMORY ID 'I_EKKO'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;SUBMIT ZGRO_IMPORT_MEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 11:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-values/m-p/3024654#M715117</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-10-30T11:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: exporting values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-values/m-p/3024655#M715118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this to export and import tables&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  data: wa_indx type indx.
  
  export tab = itab to database indx(xy) from wa_indx client
    sy-mandt
    id 'DETAILLIST'.


* to import 
  import tab = itab from database indx(xy)
   to wa_indx client sy-mandt id 'DETAILLIST'.

* deletes the data to save wastage of memory
    delete from database indx(xy)
      client sy-mandt
      id 'DETAILLIST'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kris Donald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 11:33:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-values/m-p/3024655#M715118</guid>
      <dc:creator>former_member189059</dc:creator>
      <dc:date>2007-10-30T11:33:11Z</dc:date>
    </item>
  </channel>
</rss>

