<?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: Export XKOMV structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514800#M1559990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand why you need to do that though?  It sounds like some sort of hack workaround in update/output processing.  It's good that you got the solution you were looking for but sometimes if you state your actual requirement, you might get a better one...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Dec 2010 15:12:03 GMT</pubDate>
    <dc:creator>brad_bohn</dc:creator>
    <dc:date>2010-12-02T15:12:03Z</dc:date>
    <item>
      <title>Export XKOMV structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514793#M1559983</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;How can I pass the XKOMV structure in run-time to a memory id and import it? A user exit is written for VA01 transaction and it has the condition values accessible in XKOMV. I want to import this structure in other program and access some condition values in run-time. how can I do that? I have tried writing &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : zkomv type TABLE OF komv.
import zkomv from memory id 'TMPKOMV'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;in the calling program and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
EXPORT xkomv to MEMORY id 'TMPKOMV'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;in the exit where XKOMV has values while creating a sales order. it shows zero record in zkomv. &lt;/P&gt;&lt;P&gt;Please let me know the correct way of doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;Binita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 11:53:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514793#M1559983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-02T11:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Export XKOMV structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514794#M1559984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the program that you want to execute your check in has access (in the call stact) of the main program that uses this structure then you can use the following code: -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;XKOMV&amp;gt; type XKOMV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants c_XKOMV(  ) value '(MAIN_PROGRAM)XKOMV'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign (c_XKOMV) to &amp;lt;XKOMV&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to replace the 'MAIN_PROGRAM' with the main program name of where XKOMV is defined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 11:57:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514794#M1559984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-02T11:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Export XKOMV structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514795#M1559985</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;Have you pass the values ZKOMV = XKOMV ?&lt;/P&gt;&lt;P&gt;I hope u have passed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 11:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514795#M1559985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-02T11:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Export XKOMV structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514796#M1559986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for exporting internal table data use&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : zkomv type TABLE OF komv,
          ykomv type table of komv.
append lines of xkomv to ykomv.
EXPORT zkomv = ykomv to MEMORY id 'TMPKOMV'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for importing data use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : zkomv type TABLE OF komv,
          ykomv type table of komv.
import zkomv = ykomv from memory id 'TMPKOMV'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 12:07:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514796#M1559986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-02T12:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Export XKOMV structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514797#M1559987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  ztest1.
DATA: name TYPE char20 VALUE 'name'.
 
EXPORT name TO MEMORY ID 'TEST'.
 
SUBMIT ztest2 AND RETURN.




REPORT  ztest2.
DATA: name TYPE char20.
 
IMPORT name FROM MEMORY ID 'TEST'.
IF sy-subrc = 0.
  WRITE: / name.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 12:17:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514797#M1559987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-02T12:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Export XKOMV structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514798#M1559988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP provides a mechanism for storing data values, including tables, in one program and retrieving those values in another program, even on another application server, through the use of tables like table INDX.  Depending upon how your programs are being executed, you might want to research use of "INDX-like" tables on SCN.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, you might want to look at what SAP calls "shared objects", which would make your data available to any program on the same server for a defined period of time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 12:39:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514798#M1559988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-02T12:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Export XKOMV structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514799#M1559989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Vinod, It worked !! YKOMV now has value after I import it. but i still don't understand one thing. why should I declare the tables with same name while importing and exporting. there is no connection between these two programs. isn't memory id 'TMPKOMV' enough?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 13:00:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514799#M1559989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-02T13:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Export XKOMV structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514800#M1559990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand why you need to do that though?  It sounds like some sort of hack workaround in update/output processing.  It's good that you got the solution you were looking for but sometimes if you state your actual requirement, you might get a better one...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 15:12:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514800#M1559990</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-12-02T15:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Export XKOMV structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514801#M1559991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the feedback Brad. the actual requirement is as I stated, I have a user exit written on VA01 transaction. in runtime, I get the condition values in XKOMV structure. This VA01 transaction is run through BDC from some other program. So, I want to save some five condition's values somewhere and access those values after BDC is through and the call is return to the program. So while the User Exit is triggered, I am saving those values as Vinod suggested, exporting it to some Memory ID and Importing the same in my program. I hope I have explained well..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Binita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Dec 2010 11:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514801#M1559991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-04T11:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Export XKOMV structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514802#M1559992</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;Thats's ok but why don t you save them in the userò- exit without to' submit another programma?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Dec 2010 13:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-xkomv-structure/m-p/7514802#M1559992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-04T13:02:09Z</dc:date>
    </item>
  </channel>
</rss>

