<?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 with export / import in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141445#M451153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variables do not have to be declared globally.   If however, the data that you are exporting is not being passed into the user exit(or is not global to the FM) , then you have a bit of a problem.  You will need to find some other way around that.&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;Greg Kern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2007 16:01:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-10T16:01:09Z</dc:date>
    <item>
      <title>Problem with export / import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141435#M451143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody, I am having a problem with an import. I am doing an export with a value in an user exit: &lt;/P&gt;&lt;P&gt;EXPORT V_NLQNR = V_NLQNR TO MEMORY ID 'QUANTL'&lt;/P&gt;&lt;P&gt;And after I call import in another program:&lt;/P&gt;&lt;P&gt;IMPORT V_NLQNR = V_NLQNR FROM MEMORY ID 'QUANTL'.&lt;/P&gt;&lt;P&gt;But when I check the sy-subrc I am getting 4, so I don't get anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody why?? Is there a problem if I call the export from an user exit??&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 11:23:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141435#M451143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T11:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with export / import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141436#M451144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAN YOU TRY LIKE THIS&lt;/P&gt;&lt;P&gt;TAKE VALUE IN V_NLQNR HERE&lt;/P&gt;&lt;P&gt;EXPORT V_NLQNR TO MEMORY ID 'QUANTL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DECLARE A VAR LIKE V_NLQNR HERE IN IMPORT PROG.&lt;/P&gt;&lt;P&gt;IMPORT V_NLQNR TO MEMORY ID 'QUANTL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT IS GOOD PRACTICE TO USE 3 CHAR IN MEMORY ID YOU CAN CHECK THAT ALSO..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;SHIBA DUTTA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 11:28:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141436#M451144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T11:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with export / import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141437#M451145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiba Dutta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;I have tried as you said, also with the 3 character ID, but still having  4 in sy-subrc after IMPORT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have another idea??&lt;/P&gt;&lt;P&gt;Thanks very much for your time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 11:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141437#M451145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T11:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with export / import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141438#M451146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  You cannot export data to what ever name you want.There are some Predefined Memory locations with its Names.You can export values to those Memory ID's only. Check the database table TPARA.There you'll get the names to which you can Export values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;    Jay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 12:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141438#M451146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T12:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with export / import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141439#M451147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EXPORT V_NLQNR TO MEMORY ID 'QUANTL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT V_NLQNR FROM MEMORY ID 'QUANTL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this not working.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 12:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141439#M451147</guid>
      <dc:creator>naveen1241</dc:creator>
      <dc:date>2007-04-10T12:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with export / import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141440#M451148</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 think you cannot export and import values in USER EXITS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place the value u want to use in &amp;lt;b&amp;gt;APPLICATION SERVER or PRESENTATION SERVER.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;Again get that using &amp;lt;b&amp;gt;OPEN DATASET / GUI_DOWNLOAD&amp;lt;/b&amp;gt; f rom where u want it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 12:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141440#M451148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T12:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with export / import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141441#M451149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to all, still having same problem. I can't use the gui upload, I need a place to leave the value in sap memory, I think the way is with export/import but I can find the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other idea??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 14:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141441#M451149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T14:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with export / import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141442#M451150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you are aware that the EXPORT to MEMORY &amp;amp; IMPORT from MEMEORY should be in the same session. Else you might want to use the EXPORT to DATABASE option instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 15:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141442#M451150</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-04-10T15:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with export / import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141443#M451151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have the right idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a suggestion I would name my variables to make it clear which data is being &lt;/P&gt;&lt;P&gt;exported/imported. I would also use different names on the left and right side of the = sign.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a working example from programs that I use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   EXPORT intercodata FROM g_data_exp TO MEMORY ID 'INTERCOWOS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	where g_data_exp is declared as a global variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second program&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   IMPORT  intercodata TO g_data_imp FROM MEMORY ID 'INTERCOWOS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	where g_data_imp is declared as a global variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax that you use ( p1 = dobj1 )  should work as well, just make sure that the variable v_nlqnr to the right of the equal sign has a value before the export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Greg Kern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 15:26:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141443#M451151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T15:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with export / import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141444#M451152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again, the problem I have is that I can not declare anythins as global because I am using a a user exit, I don't know if the problem is here, i mean with the user exit. But I have tested everything you told me and still doesn't work. If you have more ideas ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your time, this thing is getting me crazy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 15:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141444#M451152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T15:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with export / import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141445#M451153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variables do not have to be declared globally.   If however, the data that you are exporting is not being passed into the user exit(or is not global to the FM) , then you have a bit of a problem.  You will need to find some other way around that.&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;Greg Kern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 16:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141445#M451153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T16:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with export / import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141446#M451154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data are in the user exit. Here, in the user exit I use the export, and after in another Z program I use the import. The Z program is raise with an event in the user exit, so may be the problem is over there. That I can not use that memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 16:15:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-export-import/m-p/2141446#M451154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T16:15:42Z</dc:date>
    </item>
  </channel>
</rss>

