<?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: Call Local class within PAI Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-local-class-within-pai-module/m-p/626373#M26214</link>
    <description>&lt;P&gt;&lt;STRONG&gt;SOLVED&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;I solved this problem. Had to put the PAI-Include after the Local-Class-Helper-Include. So now its like:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;INCLUDE Z_TEST_TOP             .    " global Data
INCLUDE Z_TEST_PBO.                 " PBO
INCLUDE Z_TEST_HELPER.              " Local Helper Class
INCLUDE Z_TEST_PAI.                 " PAI&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Before this sequence the Include for Local Helper Class was the last one.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Mar 2018 11:13:15 GMT</pubDate>
    <dc:creator>Floatjitsu</dc:creator>
    <dc:date>2018-03-01T11:13:15Z</dc:date>
    <item>
      <title>Call Local class within PAI Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-local-class-within-pai-module/m-p/626372#M26213</link>
      <description>&lt;P&gt;Hey there, &lt;/P&gt;
  &lt;P&gt;I have a program with 4 includes in it. One top-include (global data), one for pai-modules, one for pbo-modules and one for a local helper class. &lt;BR /&gt;&lt;BR /&gt;I put the definition and implementation of my local class in the include "local helper class". Now I want to access the instance of this class inside the pai-module after an user-command with lcl_class=&amp;gt;get_instance( ). I used the singleton pattern. &lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;But when I want to activate the PAI Module, an error occurs, saying "Type lcl_class is unknown". Even when I set a variable inside my top-include, the same error occurs after I try to activate the program.&lt;/P&gt;
  &lt;P&gt;Any one know how to solve this? &lt;/P&gt;
  &lt;P&gt;Thank you and best regards&lt;/P&gt;
  &lt;P&gt;Timur&lt;BR /&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 10:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-local-class-within-pai-module/m-p/626372#M26213</guid>
      <dc:creator>Floatjitsu</dc:creator>
      <dc:date>2018-03-01T10:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Call Local class within PAI Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-local-class-within-pai-module/m-p/626373#M26214</link>
      <description>&lt;P&gt;&lt;STRONG&gt;SOLVED&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;I solved this problem. Had to put the PAI-Include after the Local-Class-Helper-Include. So now its like:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;INCLUDE Z_TEST_TOP             .    " global Data
INCLUDE Z_TEST_PBO.                 " PBO
INCLUDE Z_TEST_HELPER.              " Local Helper Class
INCLUDE Z_TEST_PAI.                 " PAI&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Before this sequence the Include for Local Helper Class was the last one.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 11:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-local-class-within-pai-module/m-p/626373#M26214</guid>
      <dc:creator>Floatjitsu</dc:creator>
      <dc:date>2018-03-01T11:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Call Local class within PAI Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-local-class-within-pai-module/m-p/13947656#M2037966</link>
      <description>&lt;P&gt;Can You please share the whole code here as I am also facing same issue, I want to write my report using complete class method approach but when I am trying to access object of my local class inside PBO &amp;amp; PAI event it is showing me error. I think your code will help me to figure out,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 11:37:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-local-class-within-pai-module/m-p/13947656#M2037966</guid>
      <dc:creator>pushpa89jhunjhu</dc:creator>
      <dc:date>2024-11-25T11:37:03Z</dc:date>
    </item>
  </channel>
</rss>

