<?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: Read memory in another programm in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870006#M1138554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this works, but try statements EXPORT and IMPORT.&lt;/P&gt;&lt;P&gt;With EXPORT you can "save" a given variable in a given memory id of your choice,&lt;/P&gt;&lt;P&gt;then with IMPORT you can "fetch" it from this very memory id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: &lt;/P&gt;&lt;P&gt;EXPORT my_variable TO MEMORY ID '1234'.&lt;/P&gt;&lt;P&gt;Now I don't remember but I think the IMPORT will work like IMPORT destination_variable FROM MEMORY ID '1234'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Play a little with it and see if it helps.&lt;/P&gt;&lt;P&gt;Hope it does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avraham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2008 16:34:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-20T16:34:22Z</dc:date>
    <item>
      <title>Read memory in another programm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870004#M1138552</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 create a pushbutton in VA02 via GUIXT. This button calls another programm (ZTEST)&lt;/P&gt;&lt;P&gt;via a tcode (ZTST).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to read the memory of VA02 (SAPMV45A) in Report ZTEST. Or is there another&lt;/P&gt;&lt;P&gt;possibility to read the actual data from VA02 (not dadabase, because VA02 is not saved).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 16:22:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870004#M1138552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T16:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Read memory in another programm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870005#M1138553</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;Try to check if the values from the calling transaction (VA02) are available in your called Transaction program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the same with syntax: (PROGRAM NAME)VARIABLE/INTERNAL TABLE NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program Name: Program name of calling t code.&lt;/P&gt;&lt;P&gt;Variable/Internal Table name: Variable/Internal table of calling T Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If values are available in your current session then you can use the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 16:26:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870005#M1138553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T16:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Read memory in another programm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870006#M1138554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this works, but try statements EXPORT and IMPORT.&lt;/P&gt;&lt;P&gt;With EXPORT you can "save" a given variable in a given memory id of your choice,&lt;/P&gt;&lt;P&gt;then with IMPORT you can "fetch" it from this very memory id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: &lt;/P&gt;&lt;P&gt;EXPORT my_variable TO MEMORY ID '1234'.&lt;/P&gt;&lt;P&gt;Now I don't remember but I think the IMPORT will work like IMPORT destination_variable FROM MEMORY ID '1234'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Play a little with it and see if it helps.&lt;/P&gt;&lt;P&gt;Hope it does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avraham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 16:34:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870006#M1138554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T16:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Read memory in another programm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870007#M1138555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jayant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer. I have tried it but get allways syntax errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will use internal table: XVBAP of program SAPMV45A like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT XVBAP INTO WA0_XVBAP.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an idea, how i have to write it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 19:28:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870007#M1138555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T19:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Read memory in another programm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870008#M1138556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this, in your report ZTEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: T_XVBAP TYPE STANDARD TABLE OF VBAPVB WITH HEADER LINE.
  ASSIGN ('(SAPMV45A)XVBAP') TO T_XVBAP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will only work if your REPORT shares the same internal memory, means the report is running in the same session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 19:44:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870008#M1138556</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-11-20T19:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Read memory in another programm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870009#M1138557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please look into this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/900e3d9d-559e-2910-9dae-b132157a220f" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/900e3d9d-559e-2910-9dae-b132157a220f&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 19:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870009#M1138557</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-11-20T19:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Read memory in another programm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870010#M1138558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thansk for your answer. I get the right syntax from you, but the problem still exits,&lt;/P&gt;&lt;P&gt;because i don't get the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that's because i use GUIXT. I debugged in VA02 (/H and /HS) but when&lt;/P&gt;&lt;P&gt;press the button (defined in GUIXT), the debugger does'n trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2008 07:59:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870010#M1138558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-21T07:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Read memory in another programm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870011#M1138559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use GUIXT button than it will trigger the Debugger becuase GUIXT makes a layer on the actual screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible, you can create a button in the Additional Data in the Header and call the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2008 14:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870011#M1138559</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-11-21T14:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Read memory in another programm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870012#M1138560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this example:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;begin of change of code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : t_list  like standard table of abaplist with header line.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF o_list OCCURS 0,&lt;/P&gt;&lt;P&gt;        output(1500)   TYPE c,&lt;/P&gt;&lt;P&gt;      END OF o_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  t_ascii like standard table of&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SUBMIT rm07docs VIA SELECTION-SCREEN AND RETURN exporting list to&lt;/P&gt;&lt;P&gt;memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;listobject = t_list&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;not_found = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;listasci = o_list  " list converted to ASCII&lt;/P&gt;&lt;P&gt;listobject = t_list&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;empty_list = 1&lt;/P&gt;&lt;P&gt;list_index_invalid = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Nov 2008 10:45:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-memory-in-another-programm/m-p/4870012#M1138560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-22T10:45:31Z</dc:date>
    </item>
  </channel>
</rss>

