<?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: Passing data between programs using OOA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890867#M1889005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A singleton class can achieve this?&lt;/P&gt;&lt;P&gt;Say,&lt;/P&gt;&lt;P&gt;A singleton class with global public attribute in program A.&lt;/P&gt;&lt;P&gt;And in program B, submit A, then B can access the attribute of singleton class???&lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1237/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Archer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2015 07:50:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-03-18T07:50:34Z</dc:date>
    <item>
      <title>Passing data between programs using OOA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890862#M1889000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have program1 with selection screen and using class methods to fetch data. Now i have the data stored in both&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Instance variable and&lt;/P&gt;&lt;P&gt;2) Static variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to pass this data to program 2 and i am using Submit and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Program 2 when i try to read the Static method to get the data, there is no data returned. its all empty. any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;*** Code snippet as below *** PRG 1 **********&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&amp;nbsp; o_sel&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;v_arbgb &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;p_arbgb&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; o_sel&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;t_msgnr_range &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;s_msgno[]&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;o_data&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;get_data "Uses the selection screen values and fetches the DB values.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING &lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; o_sel&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;o_sel&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;**CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;yggtest1_data1&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;get_stored_data&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;**&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;**&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; it_data &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lt_t100&lt;SPAN class="L0S55"&gt;.&amp;nbsp; "Returns data of 10 records&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;SUBMIT &lt;/SPAN&gt;yggtest2 &lt;SPAN class="L0S52"&gt;and &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;RETURN&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;*** Code snippet as below *** PRG 2 **********&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;yggtest1_data1&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;get_stored_data&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; it_data &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lt_t100&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;lt_t100 returns no data -even though there is 10 records before the submit statement. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;any thoughts do please share?&amp;nbsp; All i would like is to use OOA to pass data between different reports, instead of Export/Import memory&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 02:42:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890862#M1889000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-09T02:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between programs using OOA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890863#M1889001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;uh... as i know, there is no concept is you could transport objects by OO in ABAP.&lt;/P&gt;&lt;P&gt;Anyway you need export to memory, export a OO instance to memory or a itab.&lt;/P&gt;&lt;P&gt;Need gurus to confirm this, &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1200/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;And this is class named as '&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;cl_salv_bs_runtime_info&lt;/SPAN&gt;' could get last data from last program you submitted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Archer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 05:47:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890863#M1889001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-09T05:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between programs using OOA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890864#M1889002</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;The static methods/attributes call is invalid across different contexts( valid only in the same program where its used ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For you scenario, you can have a look into &lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307d791b-3343-2e10-f78a-e1d50c7cf89a?overridelayout=true" title="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307d791b-3343-2e10-f78a-e1d50c7cf89a?overridelayout=true"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307d791b-3343-2e10-f78a-e1d50c7cf89a?overridelayout=t…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 06:00:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890864#M1889002</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2015-03-09T06:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between programs using OOA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890865#M1889003</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;Please try to use IMPORT and EXPORT parameters. This makes your program easy and problem will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sneha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 06:24:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890865#M1889003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-09T06:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between programs using OOA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890866#M1889004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AB GK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use a singleton class which has an access to a public attributes. You can access the same instance during runtime and sharing the data between two program. It's the other way of using import and export.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 06:42:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890866#M1889004</guid>
      <dc:creator>indra_dewaji</dc:creator>
      <dc:date>2015-03-18T06:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between programs using OOA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890867#M1889005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A singleton class can achieve this?&lt;/P&gt;&lt;P&gt;Say,&lt;/P&gt;&lt;P&gt;A singleton class with global public attribute in program A.&lt;/P&gt;&lt;P&gt;And in program B, submit A, then B can access the attribute of singleton class???&lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1237/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Archer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 07:50:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890867#M1889005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-18T07:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between programs using OOA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890868#M1889006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUBMIT replaces internal session, or with AND RETURN creates new one. So previous singleton instance will not be visible in SUBMITed program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 08:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-programs-using-ooa/m-p/10890868#M1889006</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2015-03-18T08:00:35Z</dc:date>
    </item>
  </channel>
</rss>

