<?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: Issue with import/export statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412437#M1737023</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;Of course it should get replaced when you run the same report with the new values. Can you explain bit more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 May 2013 07:30:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-05-22T07:30:08Z</dc:date>
    <item>
      <title>Issue with import/export statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412432#M1737018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue with using memory id, i have common function module(update mode) which is being used in many t-codes and programs,&lt;/P&gt;&lt;P&gt;those t-code are being called in different progams using call transation or submit program in background task.&lt;/P&gt;&lt;P&gt;i am calling these t-codes(using call traction) in batch process, from calling program i am passing some value to memory id using export statement and imported in common function&lt;/P&gt;&lt;P&gt;module, in this case simple export/import statement is not working no value getting imported when i use import/export with shared buffer it's working.&lt;/P&gt;&lt;P&gt;Issues is when multiple runs happen at a time value getting over written some times, so unique value is not getting imported to represent calling program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program1 exports value1&lt;/P&gt;&lt;P&gt;program2 exports value2&lt;/P&gt;&lt;P&gt;program3 exports value3&lt;/P&gt;&lt;P&gt;program4 exports value4 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every program generates batch id automatically for each run, that is input for common FM as a standard process.&amp;nbsp; &lt;/P&gt;&lt;P&gt;when programs 1 to 5 are executed some means in back ground common function module will be triggered.&amp;nbsp; &lt;/P&gt;&lt;P&gt;i need to link batch id of each run/program to that of imported value. &lt;/P&gt;&lt;P&gt;how to use import/export statement effectively?&amp;nbsp; &lt;/P&gt;&lt;P&gt;i want to import the value in common FM which is exported from calling program uniquely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 10:15:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412432#M1737018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-14T10:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with import/export statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412433#M1737019</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;You must be aware that IMPORT/EXPORT statements deal with ABAP memory. But if your Update function is getting executed in a separate update work process i don't think ABAP memory is going to work &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1434/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 ways of doing so - &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Run the update module in a local update - SET UPDATE TASK LOCAL,&lt;/LI&gt;&lt;LI&gt;Use INDX-like tables and/or Shared memory (SHM)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway why are you using the IMPORT/EXPORT technique to pass the data to the update FM? Can you not add a param to the FM and pass the value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 10:38:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412433#M1737019</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2013-05-14T10:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with import/export statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412434#M1737020</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;Thanks for reply, i am passing values from custom program to standard function so there is no way to pass the value other than import/export. when i use shared memory it's over writing when multiple run happens at a time. receiving side FM will be trigger from different sources.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 03:16:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412434#M1737020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-21T03:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with import/export statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412435#M1737021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkata,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The import/export statements works only for particular session. It you are using background process or update process, then these memory ( ABAP Memory ) wont be available because these process will run in different work processes, there is no way you can use import/export statements in for this kind of processes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to my knowledge the SAP memory will also be able to solve your problem.&lt;/P&gt;&lt;P&gt;ABAP and SAP memory are related only to presentation layers ( UI Layer ). ABAP memory is local memory where memory is shared within a single session. SAP memory is global memory where memory is shared between different sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I suggest is better to use INDX tables for sharing the value between two different work processes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 04:54:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412435#M1737021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-21T04:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with import/export statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412436#M1737022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, i tried to use indx table with shared memory/buffer, my worry is exported values are overlapped by subsequent runs when multiple programs or same program from different users export a values at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 05:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412436#M1737022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-22T05:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with import/export statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412437#M1737023</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;Of course it should get replaced when you run the same report with the new values. Can you explain bit more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 07:30:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-import-export-statement/m-p/9412437#M1737023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-22T07:30:08Z</dc:date>
    </item>
  </channel>
</rss>

