<?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: In PAI module call a method and send reference to module. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-pai-module-call-a-method-and-send-reference-to-module/m-p/2126678#M446602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Baran,&lt;/P&gt;&lt;P&gt;    Firstly, a screen is not an object.&lt;/P&gt;&lt;P&gt;If your aim is to transfer all the global data that is being used in this scren, you should probably send all the data fields individually or put them as an internal table and send the data to the function module.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2007 13:54:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-29T13:54:09Z</dc:date>
    <item>
      <title>In PAI module call a method and send reference to module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-pai-module-call-a-method-and-send-reference-to-module/m-p/2126677#M446601</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;In object oriented languages like Java you can send the reference to an object to a method, something like: object1.callFunction(me)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where "me" is the reference to the object calling the function. So the "object1" can call methods inside "me".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do the same in a screen. I want to do the following. In the PBO module when the screen initializes I want to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; MODULE init_screen_0100.&lt;/P&gt;&lt;P&gt; CALL FUNCTION some_function&lt;/P&gt;&lt;P&gt;      EXPORTING me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where me is the reference to the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible, and if yes, how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this I am going to from another object trigger events in this screen, thats why I want the reference to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Baran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 13:51:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-pai-module-call-a-method-and-send-reference-to-module/m-p/2126677#M446601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T13:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: In PAI module call a method and send reference to module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-pai-module-call-a-method-and-send-reference-to-module/m-p/2126678#M446602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Baran,&lt;/P&gt;&lt;P&gt;    Firstly, a screen is not an object.&lt;/P&gt;&lt;P&gt;If your aim is to transfer all the global data that is being used in this scren, you should probably send all the data fields individually or put them as an internal table and send the data to the function module.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 13:54:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-pai-module-call-a-method-and-send-reference-to-module/m-p/2126678#M446602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T13:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: In PAI module call a method and send reference to module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-pai-module-call-a-method-and-send-reference-to-module/m-p/2126679#M446603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Baran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This thing is not possible with module pool program.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you want to do something like this do it with call screen or leave to screen so that you are you can go to next screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kunjal Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 14:02:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-pai-module-call-a-method-and-send-reference-to-module/m-p/2126679#M446603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T14:02:44Z</dc:date>
    </item>
  </channel>
</rss>

